ลองใช้คำสั่ง
- vdf -h
[root@vm2 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sdd5 4.9G 1.7G 3.0G 37% /
/dev/sdb1 1.1G 75M 952M 8% /boot
/dev/sdd2 2.0G 44M 1.8G 3% /var/log
[root@vm2 ~]# vdf -h
Filesystem Size Used Avail Use% Mounted on
/dev/sdd5 4.9G 1.7G 3.0G 37% /
/dev/sdb1 1.1G 75M 952M 8% /boot
/dev/sdd2 2.0G 44M 1.8G 3% /var/log
/vmfs/devices 100G 0 100G 0% /vmfs/devices
/vmfs/volumes/4aaffd9d-6130503d-b6e4-000c295c34ad
8.8G 7.8G 1012M 88% /vmfs/volumes/LocalStorage
/vmfs/volumes/4ac5c05b-aa9abb85-f38c-000c295c34b7
199G 3.9G 195G 1% /vmfs/volumes/ExternalStorage
- fdisk -l
[root@vm2 ~]# fdisk -l
Disk /dev/sda: 966.3 GB, 966367641600 bytes
255 heads, 63 sectors/track, 117487 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sda doesn't contain a valid partition table
Disk /dev/sdb: 107.3 GB, 107374182400 bytes
255 heads, 63 sectors/track, 13054 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 140 1124518+ 83 Linux
/dev/sdb2 141 154 112455 fc VMware VMKCORE
/dev/sdb3 155 1305 9245407+ 5 Extended
/dev/sdb5 155 1305 9245376 fb VMware VMFS
Disk /dev/sdc: 214.7 GB, 214748364800 bytes
255 heads, 63 sectors/track, 26108 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdc1 1 26108 209712446 fb VMware VMFS
Disk /dev/sdd: 7973 MB, 7973371904 bytes
255 heads, 63 sectors/track, 969 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdd1 1 76 610438+ 82 Linux swap / Solaris
/dev/sdd2 77 331 2048287+ 83 Linux
/dev/sdd3 332 969 5124735 5 Extended
/dev/sdd5 332 969 5124703+ 83 Linux
[root@vm2 ~]#