On 9/24/2017 3:10 PM, Bruce Dubbs wrote:
David Denny wrote: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 todate and incrementally added a few things here and there.I bought some big drives and am now working to implement LVM2 based on theBLFS 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 hashappened 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 andmount 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) handlesboot-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 nothandled, I could offer some very simple redlines for consideration to theBLFS 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/22I understand your problems. The LVM2 codes is not well tested so there may be some issues. What I would suggest as an alternative is to use btrfs instead. It seems to be easier to use/manage than LVM2.-- Bruce
Thank you Bruce and Pierre!I looked at BTRFS and from what I could find it seem it was still a little unstable. I don't need much fancy. All my drive concatenation and RAID is done on the controller and I don't have anywhere for mirrors or snapshots. I really just want some resizable partitions for some form of data security. LVM is currently working okay and I'll just leave it as is for now.
Best regards, David
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
