All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] lvm liveCD help needed
@ 2005-02-23 21:43 Paul Pianta
  2005-02-24  8:35 ` Fred Donck
  0 siblings, 1 reply; 6+ messages in thread
From: Paul Pianta @ 2005-02-23 21:43 UTC (permalink / raw)
  To: linux-lvm

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

^ permalink raw reply	[flat|nested] 6+ messages in thread
* RE: [linux-lvm] lvm liveCD help needed
@ 2005-02-25  4:18 Bao, Liping
  0 siblings, 0 replies; 6+ messages in thread
From: Bao, Liping @ 2005-02-25  4:18 UTC (permalink / raw)
  To: linux-lvm, pantz

 
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@lqt.ca>
Subject: [linux-lvm] lvm liveCD help needed
To: linux-lvm@redhat.com
Message-ID: <1109195021.4695.65.camel@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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-02-25  4:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-23 21:43 [linux-lvm] lvm liveCD help needed Paul Pianta
2005-02-24  8:35 ` Fred Donck
2005-02-24  9:39   ` Fred Donck
2005-02-24 14:43     ` Paul Pianta
2005-02-24 16:35       ` Paul Pianta
  -- strict thread matches above, loose matches on Subject: below --
2005-02-25  4:18 Bao, Liping

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.