[linux-lvm] partitioning enterprise Linux 4 one or more partitions?
Stuart D. Gathman
stuart at bmsi.com
Wed Aug 22 15:42:21 UTC 2007
On Wed, 22 Aug 2007, Aubin, Jean-Francois wrote:
> RHEL 4 with ACL SELinux activated for more secure server, monitoring and
> backuping this server.
> Swap partition with ext3
> /boot with ext3 partition
> / Root in a LVM partition for the rest of system files
I've done 6 or so el4 (actually centos) systems, and evolved to this, except
swap goes on LVM also. You have only 2 old fashioned partitions: /boot and
LVM PV. The only reason /boot is not in LVM is to play nice with rhel
versions of grub.
For the last 3 I've added a new wrinkle which has greatly helped, although
it is not obvious why at first. Install and boot el5, and run el4 in a xen
VM (with only 1 LV for system with boot and root). This lets you do all kinds
of things to the VM without being physically present. You can do fun things
like take a rw snapshot of the application VM, create a new VM, and apply an
upgrade to see if you like the result, all without disturbing the live
application system. You can migrate the application VM to different hardware
with no fuss - apparently you can migrate it live while running, but I haven't
tried this yet. The only glitch I've run into is that when you map a LV to a
xenblk (which is otherwise most convenient), you can't resize the LV for the VM
without rebooting the VM (which at least doesn't require rebooting the physical
If you can't afford both el4 and el5 license, maybe you could use
CentOS for one (not sure how RH would feel about that). They
should offer a discount for that kind of setup, since it makes support
easier rather than harder. Caveat: I haven't tried running Oracle
with multi-gigs of RAM in a VM. My VMs are all 256-512M range.
Stuart D. Gathman <stuart at bmsi.com>
Business Management Systems Inc. Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flammis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.
More information about the linux-lvm