1
用命令 df 即可
# df /var/lib/
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda3 135979984 66905292 62055896 52% /
加上-kh更容易看些:
# df /var/lib/ -kh
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 130G 64G 60G 52% /
# df -kh
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 130G 64G 60G 52% /
/dev/sda1 99M 18M 76M 20% /boot
tmpfs 12G 0 12G 0% /dev/shm
/dev/sdb 458G 379G 56G 88% /data
2 centos 查看分区挂载哪个目录
df
mount
都能看