Link to home
Start Free TrialLog in
Avatar of Intelops
Intelops

asked on

Linux 4 Update 8 HDD Partition isue

Not able to create more than 14 partitions (includes primary and Extended) while installating the Linux OS. There is enogh free space available and getting error like

could not allocate requested partition: partition failed: could not allocate partition

Also tried to add the partition after the installation of the OS, but error remains the same..
Can anybody suggest me on this.
A Specific applicartion is required 16 number of Swap partition... here i stucked...:(
Avatar of Kerem ERSOY
Kerem ERSOY

Hi,

You don't need 16 partitions for this. RHEL manages disk volumes over Volume Manager. So it is enough that you have one LVM volume. You'll allocate new logical volumes over the LVM.

To ensure this either shrink your partition if you have valuable data on this or if it is a new installation just save the effort and reinstall the OS so that:
- You have 1 boot partition and the rest of your disk allocated to the LVM volume as setup by default by RedHat.
- But please include Review and Modify PArtition" during the installation so that it asks you to modfy the existing structure.
- Then modify the Root (/) partition. Normally it would allocate all the available space to the root partititon. and keep at at around 15-20 GB so that the rest of the Logical Volume is available for new Logical Volumes.
- Add as much parititons as you might like and mark them of type swap.

Continue the isntallation as you would normally do.

Cheers,
K.  
Your disks are probably SCSI or SATA  and are shown as sda, so your partitions are showing as sda1, sda2, sda3..etc.

This is a kernel limit you cannot make more than that number of partitions. Read about major and minor numbers.

Now to solve this. I would do the following

create a parition for /boot and one for /  .
The rest of the disk space I would configure as LVM partition. Now you can add up to - I think 64 - partitions (Logical Volumes), maybe even more. Have to check major and minor number for that to be precise.

A second option is to have an IDE disk. this can add up to 63 partitions.

Now I would highly advise of configuring LVM for many reasons beside overcoming the partition limit. Resizing, Expanding and snapshots to name a few.

Good Luck.
SOLUTION
Avatar of Monis Monther
Monis Monther
Flag of Iraq image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Intelops

ASKER

What small student was trying to say is correct.

I resolved the iisue..
the resolution that i found as to create 2 virual disk by using RAID 1 instead of RAID5 single partition and create partitions more than 15.... LVM option i tried initialy and failed to resolve the issue..
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
> I guess this is something with your applications.
I mean this is how you implement what I've said. If you need a guide how to make volumes in LVM I'll send you some links. But hafe 16 partitions without LVM c'mon it is not a professional solution ..
The comment will resolve the issue