* [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-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
0 siblings, 1 reply; 6+ messages in thread
From: Fred Donck @ 2005-02-24 8:35 UTC (permalink / raw)
To: linux-lvm
Paul Pianta <pantz@lqt.ca>
wrote at Wed, Feb 23, 2005 at 04:43:41PM -0500:
> Hi people
>
> 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'
>
Paul,
The url below is what i used and it runs perfectly.
http://gentoo-wiki.com/HOWTO_Gentoo_Install_on_Software_RAID_mirror_and_LVM2_on_top_of_RAID
I have a 4x250Gb machine with disk 0 and 3 as raid pair. My fstab looks
like this:
/dev/md0 /boot ext3 noauto,noatime 1 1
/dev/md2 / reiserfs noatime 0 0
/dev/md1 none swap sw 0 0
/dev/vg/usr /usr reiserfs noatime 0 0
/dev/vg/var /var reiserfs noatime 0 0
/dev/vg/tmp /tmp reiserfs noatime 0 0
/dev/vg/opt /opt reiserfs noatime 0 0
/dev/vg/home /home reiserfs noatime 0 0
have a look at the URL
> thanks
>
> pantz
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
--- End of pantz@lqt.ca's quote ---
cheers,
--
Fred
Buzzwords are like annoying little flies that deserve to be swatted
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] lvm liveCD help needed
2005-02-24 8:35 ` Fred Donck
@ 2005-02-24 9:39 ` Fred Donck
2005-02-24 14:43 ` Paul Pianta
0 siblings, 1 reply; 6+ messages in thread
From: Fred Donck @ 2005-02-24 9:39 UTC (permalink / raw)
To: linux-lvm
Fred Donck <fred@donck.com>
wrote at Thu, Feb 24, 2005 at 09:35:03AM +0100:
>
> Paul,
>
> The url below is what i used and it runs perfectly.
> http://gentoo-wiki.com/HOWTO_Gentoo_Install_on_Software_RAID_mirror_and_LVM2_on_top_of_RAID
>
> I have a 4x250Gb machine with disk 0 and 3 as raid pair. My fstab looks
> like this:
>
> /dev/md0 /boot ext3 noauto,noatime 1 1
> /dev/md2 / reiserfs noatime 0 0
> /dev/md1 none swap sw 0 0
> /dev/vg/usr /usr reiserfs noatime 0 0
> /dev/vg/var /var reiserfs noatime 0 0
> /dev/vg/tmp /tmp reiserfs noatime 0 0
> /dev/vg/opt /opt reiserfs noatime 0 0
> /dev/vg/home /home reiserfs noatime 0 0
>
> have a look at the URL
forgot to mentions few things:
o) make sure you have latest available version of lvm2 from gentoo using
ACCEPT_KEYWORDS="~x86" emerge lvm2
o) in my case the volumegroup 'vg' is on /dev/md3
>
>
> cheers,
> --
> Fred
>
> Buzzwords are like annoying little flies that deserve to be swatted
>
--- End of fred@donck.com's quote ---
--
Fred
Objects in a mirror are closer than you think!
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] lvm liveCD help needed
2005-02-24 9:39 ` Fred Donck
@ 2005-02-24 14:43 ` Paul Pianta
2005-02-24 16:35 ` Paul Pianta
0 siblings, 1 reply; 6+ messages in thread
From: Paul Pianta @ 2005-02-24 14:43 UTC (permalink / raw)
To: LVM general discussion and development
On Thu, 2005-02-24 at 10:39 +0100, Fred Donck wrote:
> forgot to mentions few things:
>
> o) make sure you have latest available version of lvm2 from gentoo using
> ACCEPT_KEYWORDS="~x86" emerge lvm2
Thanks for the pointer to the how-to Fred. I am trying the above command
once booted into the live cd but it is telling me that it can't find
'emerge'.
Is there something that I need to do to enable emerge capability on the
live cd before being able to use it?
#ls -l /usr/bin/emerge
/usr/bin/emerge -> ../lib/portage/bin/emerge
but when I list /usr/lib/portage there is nothing there!
Sorry I am a bit of a gentoob ... any ideas how to get emerge working on
the live cd?
pantz
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] lvm liveCD help needed
2005-02-24 14:43 ` Paul Pianta
@ 2005-02-24 16:35 ` Paul Pianta
0 siblings, 0 replies; 6+ messages in thread
From: Paul Pianta @ 2005-02-24 16:35 UTC (permalink / raw)
To: LVM general discussion and development
On Thu, 2005-02-24 at 09:43 -0500, Paul Pianta wrote:
> On Thu, 2005-02-24 at 10:39 +0100, Fred Donck wrote:
>
> > forgot to mentions few things:
> >
> > o) make sure you have latest available version of lvm2 from gentoo using
> > ACCEPT_KEYWORDS="~x86" emerge lvm2
>
> Thanks for the pointer to the how-to Fred. I am trying the above command
> once booted into the live cd but it is telling me that it can't find
> 'emerge'.
>
> Is there something that I need to do to enable emerge capability on the
> live cd before being able to use it?
>
> #ls -l /usr/bin/emerge
> /usr/bin/emerge -> ../lib/portage/bin/emerge
>
> but when I list /usr/lib/portage there is nothing there!
>
> Sorry I am a bit of a gentoob ... any ideas how to get emerge working on
> the live cd?
Don't worry about it - I used the version of lvm that comes on the
2004.3 livecd and all went well - only to discover that FC1 doesn't
support lvm2 so when I booted back into FC1 it didn't recognise my lvm
partitions and so didn't boot any further ...
Not to worry - I just learnt lots about software raid and lvm2 from the
gentoo how-to!
thanks again
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.