1
Use the command df
# df /var/lib/
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda3 135979984 66905292 62055896 52% /
Add -kh to make it easier to see:
# 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 Check which directory is mounted on the partition
df
mount
can see
Linux view directory mount point (centos view which directory the partition is mounted on)
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=326400937&siteId=291194637
Recommended
Ranking