[TriLUG] LVM2 on a new gentoo system
Owen Berry
trilugbucket at berrybunch.net
Sun Mar 14 13:29:28 EST 2004
Peter,
I'm using LVM (not LVM2) on Gentoo and set everything up at install
time. I fumbled my way through a combination of the standard
installation instructions and an LVM installation guide for Gentoo
(http://www.gentoo.org/doc/en/lvm.xml).
My /, /boot and swap partitions are not on LVM, to assist in recovery.
This was really useful to me as I stuffed things up at least once during
the install, but was able to recover and fix things using a LiveCD. I'm
sure it'll be useful at some stage down the road as well. The author of
the above document makes similar recommendations.
Owen
On Sun, 2004-03-14 at 11:53, Peter Long wrote:
> Hi all,
>
> I am getting ready to try out a fresh install of gentoo. I want to use
> LVM2. I have been reading through the LVM Howto for the last 45 minutes
> and I am still a little confused. Can I setup my disks using LVM2 at
> install time? Also, can the /boot filesytem be on LVM, or do I have to
> set it up as a regular partition? I have one 30GB drive in this system
> on /dev/hde. I suspect I will have to configure it as follows. If anyone
> has a better suggestion please let me know.
>
> /dev/hde1 /boot ~32M
> /dev/hde2 swap 1GB *
> /dev/hde3 a LVM volume group, split into /,/home and maybe /var
>
> * (I have 1GB of RAM, do I really need 2GB of swap?)
>
> Is it possible to install /boot on a logical volume? I guess putting
> swap on a LV does not make any sense (assuming it is possible).
>
> This machine will be my linux play machine. I will be messing with it a
> lot. It will not be expected to be VERY secure since it will be behind
> my firewall/mail server machine. (Although I may want it to serve as a
> backup firewall machine. Not sure yet.)
>
> --
> Peter Long
More information about the TriLUG
mailing list