I've been asked to install OEL 5.x on a server and setup a disk with a few directories (there's only one disk in the server). So I have an OEL 5.x server wtih multiple log volumes in a volume group:
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
/dev/VolGroup00/LogVol03 /storage/z11 ext3 defaults 1 2
/dev/VolGroup00/LogVol02 /staged ext3 defaults 1 2
After the DBAs upgrade Oracle and do other magic, they ask that I install OEL 6.x on the server while preserving the data they have in LogVol02 and LogVol03. What's the best way to install OEL 6.x without destroying this data?
When the installer asks you how to partition the disks, choose a custom layout. The installer will show you your existing drives, partitions, volume groups, and logical volumes. Select /dev/VolGroup00/LogVol00 and choose edit. Tell it to format it and use it for /. Similarly choose to edit /dev/VolGroup00/LogVol02 and /dev/VolGroup00/LogVol02. Tell the installer not to format them, and tell it where to mount them.
This is documented in section 9.15 Creating a Custom Layout or Modifying the Default Layout in RHEL's installation guide. Since OEL is mostly a RHEL clone the same information should apply.
I think oracle linux use anaconda installation programm as redhat linux, first backup your data, in the installation step "partitioning or something like this", choose manualy partition or similar options, from there you can skeep the volume format