I'm having trouble with LVM activation on my Fedora 41 workstation. I can manually activate my volume group using the command "lvchange -a y all_storage", but I'm stumped as to why it doesn't activate automatically at boot. I've tried running it with several verbosity levels, but I haven't found any clues to the issue. I'm hoping to avoid restoring 50 TB from backups, so any troubleshooting tips would be greatly appreciated!
4 Answers
You might want to try running `vgdisplay -v all_storage` to see if any errors pop up. Also, consider adding debug logging in your `lvm.conf` file. Set options like `log/verbose=1` and `log/syslog=1`, then update your initrd with `dracut -f` to see if that helps the LVM activate on boot.
Have you considered checking your distribution details? Sometimes providing the distro, version, and init system can shed light on the problem. It sounds like you're on Fedora 41, which uses systemd, right?
Just a heads up: RAID 5 can be risky, especially during a rebuild if another disk fails. Make sure you have reliable backups! Some folks suggest switching to ZFS with JBOD if you're looking for better data security.
That could be a good option, but switching systems can be a hassle. Just be careful with RAID 5!
I had similar issues, and activating the LVM too early before all drives were ready might be the culprit. I recommend checking the order in which services are started during the boot process.
Yeah, I updated my post with that info. Thanks for the reminder!