You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OCI – Partition extension gives error “error: partition sectors exceeds the msdos-partition-table"

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.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!