VPS侦探论坛

标题: 帮看看是不是20G [打印本页]

作者: 15433    时间: 2014-7-2 04:35
标题: 帮看看是不是20G
[email=root@localhost]root@localhost[/email]:~# df -hal
Filesystem               Size  Used Avail Use% Mounted on
rootfs                    20G  1.9G   17G  11% /
sysfs                       0     0     0    - /sys
proc                        0     0     0    - /proc
udev                      10M     0   10M   0% /dev
devpts                      0     0     0    - /dev/pts
tmpfs                    101M  184K  101M   1% /run
/dev/disk/by-label/root   20G  1.9G   17G  11% /
tmpfs                    5.0M     0  5.0M   0% /run/lock
tmpfs                    201M     0  201M   0% /run/shm
/dev/vdb1                9.9G  184M  9.2G   2% /home


为什么探针刚9.842G?
作者: 15433    时间: 2014-7-2 04:37
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   Id  System
/dev/vda1            2048    41943039    20970496   83  Linux

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   Id  System
/dev/vdb1            2048    20971519    10484736   83  Linux
作者: licess    时间: 2014-7-2 18:44
探针只测当前分区




欢迎光临 VPS侦探论坛 (https://bbs.lnmp.com/) Powered by Discuz! X3.4