OCI – Partition extension gives error “error: partition sectors exceeds the msdos-partition-table"
in Linux
APPLIES TO
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64
SYMPTOMS
On OCI, extended the block volume size from 2TB to 2.7TB but unable to extend the partition size to 2 TB as it's throwing error below:
$ cat /var/log/messages Apr 25 00:16:21 localhost kernel: sd 2:0:3:1: [sdd] 5528092672 512-byte logical blocks: (2.83 TB/2.57 TiB) Apr 25 00:16:21 localhost kernel: sd 2:0:3:1: [sdd] 4096-byte physical blocks Apr 25 00:16:21 localhost kernel: sdd: detected capacity change from 2293512536064 to 2830383448064
$ fdisk <disk_name> error: partition length of 4479514624 sectors exceeds the msdos-partition-table-imposed maximum of 4294967295
CAUSE
The default Disk Label will be MS-DOS. With this Disk Label, the maximum Size of a Partition is limited to 2 TB.
Tagged:
0