Use “fdisk" to Display TOTAL Hard Disk Size

fdisk -l 2> /dev/null | grep ^Disk | grep -v identifier

Disk /dev/sda: 80.0 GB, 80026361856 bytes
Disk /dev/sdb: 500.1 GB, 500107862016 bytes
Disk /dev/sdd: 500.1 GB, 500107862016 bytes
Disk /dev/sde: 500.1 GB, 500107862016 bytes
Disk /dev/md0: 500.1 GB, 500107771904 bytes
Disk /dev/mapper/vg01-windows2003os: 85.9 GB, 85899345920 bytes
Disk /dev/mapper/vg01-DiskNTFS001: 107.4 GB, 107374182400 bytes
Disk /dev/mapper/vg01-FreeBSD: 21.5 GB, 21474836480 bytes
Disk /dev/mapper/vg01-drbl–server: 42.9 GB, 42949672960 bytes
Disk /dev/mapper/vg01-nis–server: 42.9 GB, 42949672960 bytes
Disk /dev/mapper/vg01-windows7: 42.9 GB, 42949672960 bytes
Disk /dev/mapper/vg01-bt5: 21.5 GB, 21474836480 bytes
Disk /dev/mapper/vg01-cd–rom: 10.7 GB, 10737418240 bytes

Advertisements

發表迴響

在下方填入你的資料或按右方圖示以社群網站登入:

WordPress.com Logo

您的留言將使用 WordPress.com 帳號。 登出 / 變更 )

Twitter picture

您的留言將使用 Twitter 帳號。 登出 / 變更 )

Facebook照片

您的留言將使用 Facebook 帳號。 登出 / 變更 )

Google+ photo

您的留言將使用 Google+ 帳號。 登出 / 變更 )

連結到 %s