The current setup on my Oracle Linux Server release 5.8:
/dev/sda2 (30GB) Logical volume /dev/VolGroup00/LogVol00 / Logical volume /dev/VolGroup00/LogVol02 /home/app/oracle Logical volume /dev/VolGroup00/LogVol04 /home/app/oracle/product/weblogic Logical volume /dev/VolGroup00/LogVol03 /home/app/work Logical volume /dev/VolGroup00/LogVol01 swap /dev/sdb1 (60GB) Logical volume /dev/VolGroup01/Log2Vol00 /home/app/work/test/attachment Logical volume /dev/VolGroup01/backup /backup /dev/sdc1 (5GB) Logical volume /dev/VolGroup00/LogVol00 / /dev/sdd1 (5GB) Logical volume /dev/VolGroup00/LogVol04 /home/app/oracle/product/weblogic
As you can see there are 2 volume groups (
VolGroup01) and 4 disks (
sdd1). Now I want to move
sdd1 to a new disk and remove the old disks.
I was thinking about the following procedure:
- Create two new disks (one of 80GB and one of 120GB)
VolGroup00with the 80GB disk and extend
VolGroup01with the 120GB disk with
- move the filesystems from the old disk to the new disk with
- remove the old disks from the volumegroup with
However, I'm having doubts about moving the swap and the / filesystem because I think it quite risky to move the core of the server to another disk. Is there any way that I can move those without chance of demolishing the server itself?