cat /etc/fstab
查看磁盘挂载

[root@localhost ~]# cat /etc/fstab

#
# /etc/fstab
# Created by anaconda on Wed Jan 13 08:48:39 2021
#
# 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.
#
# After editing this file, run 'systemctl daemon-reload' to update systemd
# units generated from this file.
#
/dev/mapper/centos-root /                       ext4    defaults        1 1
UUID=xxx-xxx-xxx-xxx-xxx /boot                   ext4    defaults        1 2
UUID=xx-xx          /boot/efi               vfat    umask=0077,shortname=winnt 0 2
/dev/mapper/centos-home /home                   ext4    defaults        1 2
/dev/mapper/centos-swap none                    swap    defaults        0 0
[root@localhost ~]#

编辑后,重新加载系统

systemctl daemon-reload