Hey Guys, Is there some LVM startup scripts somewhere, that we can put in rc-update add ? It is a pain starting it everytime.... Thanks, Pieter
From Gentoo LVM Guide <http://www.gentoo.org/doc/en/lvm.xml> " Code listing .10 /sbin/vgscan This will generate the /etc/lvmtab that the checkfs script uses to check if it should start LVM. Restart your machine and now all partitions should be visible and mounted."
Hey Guys, I still have to run: vgscan vgchange -a y after boot up. LVM is built into my kernel. Any ideas? Thanks, Pieter
Hi You can use lvmcreate_initrd # lvmcreate_initrd [kernel version] for example # lvmcreate_initrd 2.4.20-xfs-r4 # nano -w grub.conf title Gentoo Linux(2.4.20-xfs-r4) root (hd0,0) kernel (hd0,0)/boot/kernel-2.4.20-xfs-r4 root=/dev/vg00/root initrd (hd0,0)/boot/initrd-lvm-2.4.20-xfs-r4.gz
Seems to be better now. Thanks, Pieter
closing since Pieter shows it being better now.