"Partition 1 does not end on cylinder boundary." is not outputted in executing fdisk command with -l option and -lu option in Red Hat Enterprise Linux 7

Solution Verified - Updated -

Issue

  • "Partition 1 does not end on cylinder boundary." is not outputted in executing fdisk command with -l option and -lu option in RHEL7.
[RHEL6]
# fdisk -l
Disk /dev/vda: 209.7 GB, 209715200000 bytes
16 heads, 63 sectors/track, 406349 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00005d7d

   Device Boot      Start         End      Blocks   Id  System
/dev/vda1   *           3        1018      512000   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/vda2            1018      406350   204286976   8e  Linux LVM
Partition 2 does not end on cylinder boundary.

# fdisk -lu
Disk /dev/vda: 209.7 GB, 209715200000 bytes
16 heads, 63 sectors/track, 406349 cylinders, total 409600000 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00005d7d

   Device Boot      Start         End      Blocks   Id  System
/dev/vda1   *        2048     1026047      512000   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/vda2         1026048   409599999   204286976   8e  Linux LVM
Partition 2 does not end on cylinder boundary.

[RHEL7]
# fdisk -l
Disk /dev/vda: 21.0 GB, 20971520000 bytes
16 heads, 63 sectors/track, 40634 cylinders, total 40960000 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0005addb

   Device Boot      Start         End      Blocks   Id  System
/dev/vda1   *        2048     1026047      512000   83  Linux
/dev/vda2         1026048    40959999    19966976   8e  Linux LVM

# fdisk -lu
Disk /dev/vda: 21.0 GB, 20971520000 bytes
16 heads, 63 sectors/track, 40634 cylinders, total 40960000 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0005addb

   Device Boot      Start         End      Blocks   Id  System
/dev/vda1   *        2048     1026047      512000   83  Linux
/dev/vda2         1026048    40959999    19966976   8e  Linux LVM

Environment

  • Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content