帮看看是不是20G
root@localhost:~# df -halFilesystem SizeUsed Avail Use% Mounted on
rootfs 20G1.9G 17G11% /
sysfs 0 0 0 - /sys
proc 0 0 0 - /proc
udev 10M 0 10M 0% /dev
devpts 0 0 0 - /dev/pts
tmpfs 101M184K101M 1% /run
/dev/disk/by-label/root 20G1.9G 17G11% /
tmpfs 5.0M 05.0M 0% /run/lock
tmpfs 201M 0201M 0% /run/shm
/dev/vdb1 9.9G184M9.2G 2% /home
为什么探针刚9.842G? root@localhost:~# fdisk -l
Disk /dev/vda: 21.5 GB, 21474836480 bytes
4 heads, 32 sectors/track, 327680 cylinders, total 41943040 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000e3cc9
Device Boot Start End Blocks IdSystem
/dev/vda1 2048 41943039 20970496 83Linux
Disk /dev/vdb: 10.7 GB, 10737418240 bytes
2 heads, 17 sectors/track, 616809 cylinders, total 20971520 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xa2cb2e30
Device Boot Start End Blocks IdSystem
/dev/vdb1 2048 20971519 10484736 83Linux 探针只测当前分区
页:
[1]