Dear BLFS,

I would be grateful for feedback on other's experience setting up LVM2 based on the BLFS instructions to determine if I've goofed somewhere, or just hit a branch not covered.

I built my system based on LFS / BLFS.  I've kept things pretty well up to date and incrementally added a few things here and there. I bought some big drives and am now working to implement LVM2 based on the BLFS development version (9/23.) I've built, tested and installed the LVM and associated software and configured and populated several volumes, then rebooted. On booting, the LVM volumes do not mount as they should.  Note that my boot / system isn't on the LVM volumes. No errors are thrown, logs are clean.  In fact, it seems that nothing has happened at all.  The system hangs at fstab processing and then enters rescue state. If I manually execute "lvchange -y a" then the drives will pop online and mount perfectly.  I can go to the multi-user state. I was able to modify and install three of the systemd scripts that come with LVM2 and modify one setting in lvm.conf to use lvmetad now drives mount on boot.  I'm not sure this is all I should do, but at least the booting issue is addressed.

I do not see how the current software (udev rules, systemd units) handles boot-up, and I would be grateful to understand if other people are successful in having LVM go online at boot or not.  If this is not handled, I could offer some very simple redlines for consideration to the BLFS write-up, otherwise I need to go find my problem.

Here are the configuration / versions I'm working with:

 * BLFS Systemd development version, 9/22
 * systemd-234
 * BLFS systemd units, 20160602
 * LVM2-2.02.171
 * mdadm-4.0
 * blfs-systemd-unit-20160602
 * thin-provisioning from repository as of 9/22

Best regards,
David

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to