I had problems moving root file system to LVM. It has to be done with a lot of care. However, if you move /home /var /local /opt etc to LVM, then there is much less reason for moving root fs to LVM. That is what I did. We run SLES9. I used Yast to do all LVM work, eventhough I knew how to do it from command line. I then did mkinitrd and zipl.
Yast updates /etc/fstab when creating LVM. However later when you actually move and create new mount points, you need to make sure that /etc/fstab is correct. This was one source of problem for me. Then I re-booted the guest. Having another guest to mount sick paritions was a great. __________________________________________ Ranga Nathan / CSG Systems Programmer - Specialist; Technical Services; BAX Global Inc. Irvine-California Tel: 714-442-7591 Fax: 714-442-2840 "Romanowski, John (OFT)" <[EMAIL PROTECTED]> Sent by: Linux on 390 Port <[email protected]> 01/21/2005 09:04 AM Please respond to Linux on 390 Port <[email protected]> To [email protected] cc Subject Any caveats moving root filesystem to LVM? Anyone have experiences moving root file system to Logical Volume Manager (LVM)? We run SLES8 under VM on S390 with Linux guests cloned from a 2-dasd (3390mod3's) linux image with "/" on one pack and /usr on the other pack. I'd like more flexibility to use the free disk space from each pack as a global pool of free space so I'm evaluating converting the existing Linux file systems to LVM with root file system in LVM. I'm comfortable on how to create the logical volumes and copy the existing Linux file systems into it, but I'm not clear on how the LVM-based Linux will boot up and how I'd "rescue" such systems later if needed. 1) At IPL how will the Suse initrd find the Volume group and mount the root file system? I'm going to change /boot/zipl/parmfile to say "root=/dev/vg/v1" to request the logical volume be mounted as root fs; my /etc/sysconfig/kernel will be coded to load lvm-mod via INITRD_MODULES="jbd ext3 dasd_diag_mod lvm-mod"; and I'll run mkinitrd and zipl. But is that enough to get a logical volume mounted as the root file fs by initrd? 2) After converting to LVM I'll have a bunch of Linux guests whose Volume Group name and logical volume names are identical (as if I'd originally cloned them from an LVM-based Linux image). For rescue purposes, can one of these Linux's CP LINK to and mount another of these Linux's volume groups and volumes given it's already running with the same volume group & volume names itself? Any tips on this are appreciated. ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
