linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] partitioning enterprise Linux 4 one or more partitions?
@ 2007-08-22 12:39 Aubin, Jean-Francois
  2007-08-22 15:42 ` Stuart D. Gathman
  0 siblings, 1 reply; 2+ messages in thread
From: Aubin, Jean-Francois @ 2007-08-22 12:39 UTC (permalink / raw)
  To: redhat-list, linux-lvm

Hi,

I have two server with 2 xeon cpu dual core, 8gb of memmory, 2 x 73gb in
raid hardware for mirror OS and a FC card Qlogic 4GB for connect many
Lun with a EMC san. It's for install Oracle Rac and redhat enterprise
Linux 4. My question is about partitioning Linux rhel4 os with a lvm
partition. Which is the best partitioning for my configuration? I have 3
choice: 
1-
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

2-
RHEL 4 with no SELinux. 
/boot with ext3 partition
/ Root with ext3 partition
Swap partition in a LVM partition
/tmp in a LVM partition
/var in a LVM partition
/usr in a LVM partition
/home in a LVM partition
/opt in a LVM partition

3-
RHEL 4 with no SELinux. 
Swap partition with ext3 partition
/boot with ext3 partition
/ Root in a LVM partition
/home in a LVM partition

Thanks a lot in advance.

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

* Re: [linux-lvm] partitioning enterprise Linux 4 one or more partitions?
  2007-08-22 12:39 [linux-lvm] partitioning enterprise Linux 4 one or more partitions? Aubin, Jean-Francois
@ 2007-08-22 15:42 ` Stuart D. Gathman
  0 siblings, 0 replies; 2+ messages in thread
From: Stuart D. Gathman @ 2007-08-22 15:42 UTC (permalink / raw)
  To: LVM general discussion and development; +Cc: redhat-list

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
machine).

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@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.

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

end of thread, other threads:[~2007-08-22 15:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-22 12:39 [linux-lvm] partitioning enterprise Linux 4 one or more partitions? Aubin, Jean-Francois
2007-08-22 15:42 ` Stuart D. Gathman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).