bcachefs-tools icon indicating copy to clipboard operation
bcachefs-tools copied to clipboard

mount.bcachefs in crontab @reboot

Open fharni opened this issue 4 years ago • 1 comments

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?

fharni avatar Mar 03 '21 16:03 fharni

For me works line in /etc/fstab: 16556536-9548-42cb-9644-089aa267de81 /data bcachefs.sh defaults 1 1

iav avatar Apr 16 '22 23:04 iav