Partition Issue?
I have recently installed a new RHEL 5.3.
I have partitioned structure: Code:
fdisk -l Code:
#df -h Now when I am trying to create further partition it says: Code:
Command (m for help): n |
Hi,
as the message told you, one SCSI disk cannot hold more 15 partitions, so create larger partitions to get a fewer number. Normally you can have up to 64 partitions on an IDE/ATA device or up to 15 on SCSI disk. This is limited by kernel. So you have reached the limit of possible partitions per disk. Possible this can be changed on the kernel. |
I assume you are installing several operating systems.
You've created a monster cutting up your hard drive like that. Why do you have 4 swap partitions? You only need ONE. You do not need to make separate partitions for boot, var, opt, home, and usr. You can create ONE / root partition for every operating system. You can share ONE /home partition amongst all operating systems but I prefer not to do this. I install everything in / and share ONE data partition for simplicity. ONE boot partition is enough to boot all your operating systems if you know how to setup one bootloader to boot solaris and others. This is only my opinion. |
Breaking out partitions like that is well regarded in the server market. Simple answer is to use LVM - create one big partition, and create LVs within that for your partitions as above. Also allows for dynamic expansion should other disks be added.
And strictly speaking it's not a kernel limitation, but the underlying interface definition - SCSI in this case. |
I am trying to install just one RHEL OS on the hardware.
How can I extend the partition after this? |
As indicated above, if you have a SATA or SCSI hard drive, you are limited to 15 partitions which you already have. You could delete three of your swap partitions as there is no reason to have more than one.
It doesn't matter how much space you have if you have used up your partitions which your error message clearly shows. If you have 15 partitions of 1 GB each you will have 485 GB of useless space. Delete some swap partitions and make a larger partition for Red Hat. |
I have deleted the partitions through fdisk followed by options >> d >> w.
Do I need to reboot the Machine. |
Hi,
there is no need to reboot after repartitioning your disk. This can all be done one the fly. |
All times are GMT -5. The time now is 12:33 AM. |