划重点,踩过的坑?。。?/h1>
编辑 vi /etc/fstab
[root@OAJENKINS ~]# vi /etc/fstab
# /etc/fstab
# Created by anaconda on Mon Jan 14 10:23:51 2019
#
# 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=0dddbd77-bb08-4999-8226-fed0ee39b079 /boot xfs defaults 0 0
/dev/mapper/centos-home /home xfs defaults 0 0
/dev/mapper/centos-swap swap swap defaults 0 0
UUID=60b686fe-7539-4088-9f4e-0d65f89f9343 /data ext3 defaults,_netdev 0 0
[root@OAJENKINS ~]# vi /etc/fstab
# /etc/fstab
# Created by anaconda on Mon Jan 14 10:23:51 2019
#
# 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=0dddbd77-bb08-4999-8226-fed0ee39b079 /boot xfs defaults 0 0
/dev/mapper/centos-home /home xfs defaults 0 0
/dev/mapper/centos-swap swap swap defaults 0 0
UUID=60b686fe-7539-4088-9f4e-0d65f89f9343 /data ext3 defaults,_netdev 0 0
UUID=60b686fe-7539-4088-9f4e-0d65f89f9343 /data ext3 defaults,_netdev
0 0