1. df -T -h
2. cat /etc/fstab file system table
[root@localhost test1]# df -T -h
文件系统 类型 容量 已用 可用 已用% 挂载点
/dev/mapper/centos-root xfs 10G 2.2G 7.9G 22% /
devtmpfs devtmpfs 901M 0 901M 0% /dev
tmpfs tmpfs 912M 0 912M 0% /dev/shm
tmpfs tmpfs 912M 8.8M 903M 1% /run
tmpfs tmpfs 912M 0 912M 0% /sys/fs/cgroup
/dev/sdb5 ext4 2.0G 6.0M 1.8G 1% /disk5
/dev/sdb1 ext4 2.0G 6.0M 1.8G 1% /disk1
/dev/sda1 xfs 197M 123M 75M 63% /boot
tmpfs tmpfs 183M 0 183M 0% /run/user/0
tmpfs tmpfs 183M 0 183M 0% /run/user/1000
tmpfs tmpfs 183M 0 183M 0% /run/user/1001
[root@localhost test1]# cat /etc/fstab
#
# /etc/fstab
# Created by anaconda on Fri Nov 20 22:18:54 2020
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/centos-root / xfs defaults 0 0
UUID=dd5dc158-66a3-4610-ace2-d302d8e6fd87 /boot xfs defaults 0 0
/dev/mapper/centos-swap swap swap defaults 0 0
/dev/sdb1 /disk1 ext4 defaults 1 2
/dev/sdb5 /disk5 ext4 defaults 1 2
/dev/sdb6 swap swap defaults 0 0