Bcachefs . how to mount. in my case. Miscellaneous notes

I’ve been using bcachefs for 4 years. It broke many times.

bcachefs cannot be mounted with fstab. (the current)

/dev/disk/by-id/nvme-4TB_NNN-part2:/dev/disk/by-id/ata-SAMSUNG_HD154UI_AAA:/dev/disk/by-id/ata-ST31000333AS_BBB	                    /media/ARRAKIS/	bcachefs	compression=lz4,noatime,nosuid,nodev,nofail,x-gvfs-show,users,auto	0	0

But after DE starting

mount -av

or crontab
@reboot sleep 30  && mount -av

and I can mount it. I discovered this. Independent research. lol)

Lessons I learned::

Don’t use udev.
Because eternal love doesn’t exist.

me 4 years ago. real sample.

# @reboot mount -t bcachefs /dev/nvme0n1p9:/dev/sda:/dev/sdb:/dev/sdg /media/SHAMBLEAU 
# @reboot mount -t bcachefs /dev/nvme0n1p13:/dev/DUNE/MEDUSA /media/BCA/

how to get disk-id. I also used ZFS configraition.

ls -lh /dev/disk/by-id/ | grep nvme #NVME 
ls -lh /dev/disk/by-id/ | grep -v nvme | grep -E "ata" #sata 

I’m writing this because it might be helpful to some people.

By the way, the bcachefs volume in the multi-device configuration I gave as an example was corrupted the day before yesterday. ST HDD completely died. It might be related,