Solution for “Could not allocate requested partitions: requested size exceeds maximum allowed”

“Could not allocate requested partitions: requested size exceeds maximum allowed”

There are times when you might encounter the error “Could not allocate requested partitions: requested size exceeds maximum allowed”. The primary reason being the default msdos partition table being used for the drives.

For me, I encountered this error while installing the OS on one of the system which had 4 drives of 3T each in RAID 5. After creating 3 partition on the drive, it didn’t allowed me to create another one. The newer installer provided by CentOS 6, RHEL6 or the Fedora 17 do not have the option of creating extended partition, just like we could previously.

Solution for “Could not allocate requested partitions: requested size exceeds maximum allowed”

In order to resolve the problem, I had to change the partition table type from msdos to gpt, on the device/drive I am installing the Operating System on.

So basically you need to perform the following steps in order to resolve this problem.

  • Once you encounter the error “Could not allocate requested partitions: requested size exceeds maximum allowed”, acknowledge it and click “Back” to exit from the partitioning menu.
  • Then press Ctrl+Alt+F2 to switch to the terminal mode or CLI.
  • Change the partition table type using parted. The following are the commands you can use (just make sure you change the device name as per your case):

    # /sbin/parted /dev/sda mklabel gpt

    Or

    # parted /dev/sda
    (parted) mklabel gpt
    (parted) quit

  • Once this is done, we can now go back to the installation screen (graphical terminal) using the key combination Ctrl+Alt+F6.
  • You can then select “Create Custom Layout” to create the partitions again. The partition creation should work perfectly.
  • The above solution works perfectly in situations where you have created multiple primary partitions and does not have the option of creating additional partitions on the drive. With no option of creating extended partition, changing the partition table type can work perfectly.

    Caution: Changing the partition type on a drive which contains data/partitions would result in loss of partition table.

    No Comments

    Post a Comment

    Time limit is exhausted. Please reload CAPTCHA.