How can I diagnose why my LVM RAID 5 isn’t activating at boot?

0
4
Asked By TechieNerd22 On

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

Answered By SystemWhiz14 On

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.

Answered By HelpfulGuru88 On

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?

CuriousCat77 -

Yeah, I updated my post with that info. Thanks for the reminder!

Answered By RiskyBusiness7 On

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.

DataMaster99 -

That could be a good option, but switching systems can be a hassle. Just be careful with RAID 5!

Answered By DataMaster99 On

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.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.