linux开机挂载磁盘
1、
[root@localhost master-build]# cat /etc/fstab # # /etc/fstab # Created by anaconda on Thu Aug 30 06:31:16 2018 # # 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/rhel01-root / xfs defaults 0 0 UUID=d213f080-6b07-4633-a680-07d0e78328a8 /boot xfs defaults 0 0 /dev/mapper/rhel01-home /home xfs defaults 0 0 /dev/mapper/rhel01-swap swap swap defaults 0 0 /ssd/env/rhel-server-7.4-x86_64-dvd.iso /mnt/ iso9660 loop 0 0 |->设备 |->挂载点 |->选项 /dev/nvme0n1 /ssd/ ext4 defaults 0 0
22