“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.
# /sbin/parted /dev/sda mklabel gpt
# parted /dev/sda
(parted) mklabel gpt
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.