[TriLUG] LVM2 on a new gentoo system

Peter Long petelong at petelong.com
Sun Mar 14 11:53:42 EST 2004


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