How to check disk size in sectors using parted / fdisk.
Issue
- fdisk command shows different outputs in RHEL 6 and RHEL 7.
- RHEL 6 shows Start as 1 in fdisk
- RHEL 7 shows Start as 2048 in fdisk
Environment
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.