LVM2 RAID5 - looks scary, if you define the LV size as 20% of the VG(which is for 6GB VG 1.2GB LV) and 2 stripes, it just takes 50% extra space and uses 1.8GB in the VG. Maybe a note would be useful? Disi 17:00, 4 November 2011 (UTC)
- Its only example. Better to define actual wanted size.
- -- Alexxy 15:44, 13. Nov. 2011 (UTC)
There is no lvm.service. All I have right now (provided by sys-fs/lvm2:
/usr/lib/systemd/system/lvm2-monitor.service /usr/lib/systemd/system/blk-availability.service /usr/lib/systemd/system/lvm2-lvmetad.service /usr/lib/systemd/system/dm-event.service
Does the udev USE flag affect evdev too?
Does the udev flag affect both sys-fs/udev and sys-fs/eudev ? I am guessing yes because eudev is a fork, and only one of them can be installed at the same time. Would someone confirm and maybe update the description for 'udev' USE flag in the article? Thank --EmanueLczirai (talk) 09:50, 13 January 2015 (UTC)
I am getting a warning after executing pvcreate /dev/sd[ab]1 from the InstallCD which shows WARNING: lvmetad is running but disabled. Restart lvmetad before enabling it!. I am unsure how to handle this, as the article doesn't mention it. Do I even need lvmetad ? Maybe I don't need it while installing but what about afterwards, while the system is running normally? Should I do /etc/init.d/lvmetad stop prior to pvcreate, just to be sure? (If I do, I don't get the warning). If the warning is harmless, please consider updating the article stating so. Thanks in advance --EmanueLczirai (talk) 03:35, 15 January 2015 (UTC)
- Apparently, in my case (LVM on a single disk: 1 PV, 1 VG, 2 LVs(bootvol+rootvol both btrfs); +grub2(with 2M bios partition near the huge LVM 8e00 partition)), it works without lvmetad(and even lvm) both while installing and afterwards. In the latter case I made sure lvmetad doesn't start by issuing this once rc-update del lvm boot. And now this shows lvm* aren't started in any runlevels: rc-update -v show|grep -i lvm. I might be missing something about this, I guess we'll find out(?). --EmanueLczirai (talk) 07:07, 18 January 2015 (UTC)
- lvmetad is for "if you want to enable lvm autoactivation and metadata caching", says lvm2 after emerging. --EmanueLczirai (talk) 14:12, 10 February 2015 (UTC)
- Normally lvmetad is not even enabled. Neither in initscripts nor in /etc/lvm/lvm.conf. But the lvm service has a useless rc_need on lvmetad. Remove it to get rid of those messages. Morbid Florist (talk) 15:20, 22 July 2015 (UTC)
A note about installing gentoo on LVM from InstallCD
If you are like me, using InstallCD(livecd?) to create LVM volumes and you had to interrupt the manual gentoo installation process only to resume it the next day, the next time you boot(from installcd), before chrooting, mounting these LVM volumes requires activating them like this lvchange --verbose --activate y --activationmode complete volgroupnamehere (or simpler lvchange -ay volgroupnamehere) otherwise the folder /dev/volgroupnamehere/ (eg. /dev/volgroupnamehere/logicalvolumenamehere_root which you need to mount root) does not exist. --EmanueLczirai (talk) 23:47, 15 January 2015 (UTC)