mathfeel l33t
Joined: 03 Aug 2004 Posts: 700
|
Posted: Mon Oct 28, 2013 3:21 am Post subject: dracut lvm module does not activate all logical volumes. |
|
|
Only /dev/mapper/VG-ROOT and /dev/mapper/VG-BOOT are initiated. I have a sqfs/aufs setup, so At least /dev/mapper/VG-SQFS and /dev/mapper/VG-AUFS must also be created for /usr to be mounted before switch_root.
I can manually add a line
Code: | lvm vgchange -ay 2>&1 | vinfo |
near the end of /usr/lib/dracut/modules.d/90lvm/lvm_scan.sh to fix the issue. For the long term, I will probably have to write my own dracut LVM module. Is there any particular reason why the lvm_scan.sh script does not active all the LV's? _________________ -----------------------------------------------------------
"In heaven all the interesting people are missing"
-- Friedrich Nietzsche |
|