fdisk -l shows incorrect disk size
Issue
-
We have connected a disk of size 150 GB to our server, but when
fdisk -lcommand is executed, it shows the disk size as 161GB:Disk /dev/sdb: 161.0 GB, 161061273600 bytes 255 heads, 63 sectors/track, 19581 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
Environment
- Red Hat Enterprise Linux 5, 6,7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
