Why does 'align-check' in parted do not return anything while checking the partition for alignment?

Solution Verified - Updated -

Issue

  • How to check if a partition is aligned, in Red Hat Enterprise Linux 6 ?

  • Trying to use 'align-check' in 'parted' to check the alignment, but it doesn't output anything, why ?

(parted) mkpart primary 0GB 1%
(parted) print
Model: HP LOGICAL VOLUME (scsi)
Disk /dev/sdc: 48.0TB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End    Size   File system  Name     Flags
 1      3146kB  480GB  480GB               primary

(parted) align-check optimal 1
(parted) align-check minimal 1
(parted)                        (<== No output)

Environment

  • Red Hat Enterprise Linux 6

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