bcachefs-tools
bcachefs-tools copied to clipboard
mount.bcachefs in crontab @reboot
I try to automatic mount my bcachefs volume at boottime. For this I use this command in my crontab
@reboot /usr/local/sbin/mount.bcachefs.sh 2ed7796d-94ce-44e8-a7eb-0126113a1275 /mnt/data/ 2>&1 >> /home/falk/bootmount.log.
In the logfile is an errormessage uuid 2ed7796d-94ce-44e8-a7eb-0126113a1275 not found. If I call this command with sudo after I am logged in, it works without problems.
Did someone know what the problem could be? Could it be that the storage controller driver is not already loaded?
For me works line in /etc/fstab:
16556536-9548-42cb-9644-089aa267de81 /data bcachefs.sh defaults 1 1