fdisk outputs "partition N does not start on physical sector boundary" on 512e disks
Issue
- after creating partition table via fdisk, the following messages are output:
# fdisk -lu /dev/sdX disk /dev/sdX: 146.0 GB, 145999527936 bytes heads 255, sectors 63, cylinders 17750,tatal 285155328 sectors Units = sectors of 1 * 512 = 512 bytes sector size (logical / physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0x000f4210 Device Boot Start End Blocks Id System /dev/sda1 * 63 1012094 506016 83 Linux Partition 1 does not start on physical sector boundary. /dev/sda2 1012095 17783954 8385930 82 Linux swap / Solaris Partition 2 does not start on physical sector boundary. /dev/sda3 17783955 285153749 133684897+ 83 Linux Partition 3 does not start on physical sector boundary.
Environment
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- util-linux-ng-2.17.2-12.el6 or later
- 512e disks
- Storage with physical sector size different from logical sector size (for example Advanced Format 512e drive)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.