Rafael 'Dido' Sevilla wrote: > Well, yeah, I eventually managed to put my root partition on LVM. My > old, now retired IBM laptop had this setup. However, after experiencing > some problems with a few other machines that I tried to do this on, I > decided not to do this in the future.
What kind of problems did you encounter? Was lvm per se flaky or did it have to do with just the initial boot-up sequence? I'm going to be deploying a more-or-less mission-critical setup and thought that lvm was mature enough to be used on such, would you advise against it? It turns out you don't even need a separate /boot partition to boot off of a root LVM partition. LILO is able to load the kernel directly from an LVM partition. In this setup I'm experimenting with, I was able to make everything reside in an lvm volume group, including my swap devices. Furthermore, it's apparently not necessary to even partition your hard drive, 'pvcreate /dev/hdc' (as opposed to pvcreate /dev/hdc1) will work (although there might be complications if you try to put your boot loader on the MBR of such a partition - so I just did it for the non-boot drive for now). Otoh, I can't seem to get rid of the requirement to use an initrd. Even though all the initrd really does is to run vgscan/vgchange -ay (no pivot_root necessary), there still seems to be some black magic involved in that. lvmcreate_initrd wouldn't give me a working initrd, and I had to use a modified mkinitrd tree instead. I'm still trying to figure out what is responsible for the difference between these two. -- reply-to: a n d y @ n e o t i t a n s . c o m -- Philippine Linux Users' Group (PLUG) Mailing List [email protected] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
