When I check the checksum to verify the Fedora 37 download I get the attached message that 17 lines are improperly formatted - does this have anything to do with my Stratis problem?
Hi Robert! Edit: Just saw your /etc/fstab. That is definitely the problem. Usually when there’s a timeout, it’s because the device that you specified never became available. This often occurs when the /etc/fstab dependencies for the Stratis filesystem are not added properly as outlined here. Please follow that guide and it should resolve your issue.
Hi John, thanks so much for the additional information. I do not have the technical expertise to completely interpret and understand your response, but I think I have followed your steps correctly. I have attached my /etc/fstab file for your review to make sure I have set Stratis up correctly. It is booting OK now. I have Stratis set up on my /dev/sdc disk, and I intend to set up /dev/sda and /dev/sdb as a RAID1 BTRFS system like I have been running on Fedora 36. I plan to run both systems until I am confident with Stratis. I plan on using my RAID1 as main storage and rsync to Stratis as a backup to duplicate the data. Will this work OK? Any help appreciated.
While still logged in you can test if that entry in /etc/fstab works properly by using mount -a on the command line. If it works properly the file system will be mounted and you can be assured that it would work when you next reboot. If it fails to mount then you know there is an error and it would need to be modified until it does mount before you reboot.
I am not familiar with stratis, nor have I looked into the documentation so my comment is only related to how to test & verify the fstab entry is correct before you rely on it during a boot.
Remember also that you made the entry into /etc/fstab and should run systemctl daemon-reload as noted before attempting the ‘mount -a’ command above.
Thanks Jeff, I discovered that along the way, but with my Stratis incorrect line item in /etc/fstab the first go-around it mounted and unmounted when I used “mount -a” okay, but when I rebooted it hung and went into rescue mode. After I entered John’s instructions for /etc/fstab it works properly as far as mounting in /etc/fstab and also then boots okay.
Bob
Hi Bob!
The format looks correct for the /etc/fstab entry. I can’t confirm that things like the UUID are correct without more information, but if it’s correctly set up, that’s a good indication you’ve done it correctly. One things to keep in mind is that you’ve added the nofail option so just make sure that the Stratis filesystem is indeed mounted as nofail will not fail a boot even if the mount was unsuccessful.
nofail prevents waiting on the prompt to the user for the passphrase. Pools that have either Clevis enabled or are unencrypted can safely use the nofailif desired.
If the pool is encrypted and only has a passphrase (no Clevis bindings) or you want the boot to fail if mounting fails, never use nofail.