[linux-lvm] lvm liveCD help needed
Bao, Liping
Liping.Bao at ca.com
Fri Feb 25 04:18:28 UTC 2005
Hi Paul
Several things:
1.several method to mount your root
a)using "raidautorun" to detect the MDs.
b)using "raidstart -a -c $RAIDTAB",
here you may can not get the raidtab file, you need to compile
one manually.
Alternatilvey, "mount /dev/hda3 /mnt/disks", (because the / is
md1, and I assume that /dev/hda3 is one of the partition in the md1).
2./boot can be installed on md0?
Message: 4
Date: Wed, 23 Feb 2005 16:43:41 -0500
From: Paul Pianta <pantz at lqt.ca>
Subject: [linux-lvm] lvm liveCD help needed
To: linux-lvm at redhat.com
Message-ID: <1109195021.4695.65.camel at aragorn.intranet>
Content-Type: text/plain
Hi people
I have a little problem that I was hoping someone might be able to help
me with.
I 'text mode' installed a FC1 installation and was unable to configure
the volume groups or logical volumes (limitation of text mode :( ...). I
thought "that's ok - I will just create them later!" - and this is where
my problem began :)
I configured the 2 x 200G ide drives with software raid as follows:
/dev/md0 - /boot - 100M
/dev/md1 - / - 10G
/dev/md2 - swap
/dev/md3 - one big physical volume (lvm) ~185G
The system is installed and I assume that it all went onto /dev/md1.
What I wanted to do was to put /usr, /var, and /home in logical volumes
in one large volume group as such:
/vgRoot/lvUsr - 10G
/vgRoot/lvHome - 20G
/vgRoot/lvVar - 120G
with 30G free for playing around with later
Now ...
I have a gentoo live cd (with lvm support) and I assume this is what I
need to use to
1. create the volume group vgRoot
2. create the three logical volumes lvUsr, lvHome, lvVar
3. copy /usr, /home, /var from /dev/md1 over to these newly created
logical volumes
4. edit /etc/fstab to reflect the new partition layout
5. reboot and dance around the room with my pants down singing 'oh what
a beautiful morning'
My problem is I don't know how to access the lvm support on the gentoo
live cd and even worse than that - I don't know how to get at my /
partition with the live cd because it is a software raid partition and I
don't know how to go about mounting it.
Any ideas would be much appreciated - and I will promise not to drop my
pants whilst singing if we can get this figured out :)
thanks
pantz
More information about the linux-lvm
mailing list