阿里云云服务器磁盘分区及挂载新手必看
1.Linux系统,一个磁盘分区,可以同时挂载到两个不同目录吗,会不会存在什么数据风险,有没有什么比较详细官方说明?
2.以下是fstab内容,分区挂载的顺序是严格按照从上往下的顺序吗,是否会存在下面的先挂载成功,上面的后挂载成功的情况?
/etc/fstab
Created by anaconda on Mon Oct 12 10:05:38 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=2c8cdca5-9890-4bb3-9b2b-c7f33eefe5b3 /boot xfs defaults 0 0 /dev/mapper/centos-home /home xfs defaults 0 0 /dev/mapper/centos-swap swap swap defaults 0 0
/dev/mapper/centos-root /hvfs/data/stor xfs defaults,nofail 0 0 /dev/mapper/centos-home /hvfs/data/stor-0 xfs defaults,nofail 0 0
赞0
踩0