New RHES - how to resize current disks and create new the disks
Hi,
I have a new Red Hat ES server that has the following disks already on it: root#fdisk -l Disk /dev/sda 1500.3 GB Device Boot /dev/sda1 /dev/sda2 Disk /dev/sda3 60 GB mount is / Disk /dev/sda4 17 GB (swap) Disk /dev/sda5 1430 GB mount is /home I would like to: (1) reduce/move the space from the /dev/sda5 Disk (filesystem) to the /dev/sda3 Disk (2) create a couple other new Disks/VolGroup-LogicalVol that I can put the freed up space on say /dev/sda6/VolGroup-LogicalVol and /dev/sda7/VolGroup-LogicalVol using ext3 probably(?) How can I accomplish these changes? Thank you. - Spuds99 |
Please post the complete output of the fdisk command. We need to see exactly how the drive is partitioned.
A logical volume is not the same thing as a logical partition. It does not appear that you are using LVM. |
What you want to do is not that easy. I guess it would be easier and quicker if you make a good external backup and repartition your HDD to a layout that suits your needs (including LVM if wanted). After that restore your backup and you'll be fine.
Any other way will include a lot hassling around with partitions, LVMs, UUIDs, messing up fstab, grub and many other system files etc. btw: why do you have sda1 and sda2 in /boot? |
Quote:
Code:
parted /dev/sda "print free" |
All times are GMT -5. The time now is 01:54 PM. |