disk size

Paul W. Frields stickster at gmail.com
Mon Jun 24 17:33:21 UTC 2013


On Sat, Jun 22, 2013 at 11:52:24AM +0100, Paul Smith wrote:
> How can I see the total disk size of my hard disk?
> 
> I have used the following command:
> 
> # fdisk -l | grep Disk
> Disk /dev/sda: 1000.2 GB, 1000204886016 bytes, 1953525168 sectors
> Disk identifier: 0x0003dd50
> Disk /dev/mapper/fedora_new--host--5-swap: 6274 MB, 6274678784 bytes,
> 12255232 sectors
> Disk /dev/mapper/fedora_new--host--5-root: 53.7 GB, 53687091200 bytes,
> 104857600 sectors
> Disk /dev/mapper/fedora_new--host--5-home: 939.7 GB, 939712839680
> bytes, 1835376640 sectors
> #
> 
> Should I conclude that the size of my hard disk is 1 TB?

The line above for the /dev/sda disk identifies the total disk size.
You're correct (modulo the usual bickering about TB vs. TiB).

-- 
Paul W. Frields                                http://paul.frields.org/
  gpg fingerprint: 3DA6 A0AC 6D58 FEC4 0233  5906 ACDB C937 BD11 3717
  http://redhat.com/   -  -  -  -   http://pfrields.fedorapeople.org/
    The open source story continues to grow: http://opensource.com


More information about the users mailing list