rhel7 iscsi 2
续:上一篇博客文章:
http://4708948.blog.51cto.com/4698948/1702905
[[email protected] ~]# vim /etc/fstab
UUID=d8b12595-9d5d-4988-a4fa-387774242ca8 /mnt/uuid xfs defaults,_netdev 0 0
[[email protected] ~]# mkdir /mnt/uuid
[[email protected] ~]# mount -a
[[email protected] ~]# df -TH
Filesystem Type Size Used Avail Use% Mounted on
/dev/vda1 xfs 11G 3.4G 7.4G 32% /
devtmpfs devtmpfs 950M 0 950M 0% /dev
tmpfs tmpfs 966M 82k 966M 1% /dev/shm
tmpfs tmpfs 966M 18M 948M 2% /run
tmpfs tmpfs 966M 0 966M 0% /sys/fs/cgroup
//server0/hrr cifs 11G 3.3G 7.5G 31% /mnt/hrr
/dev/sda1 xfs 521M 27M 495M 6% /mnt/abc
classroom.example.com:/home/guests/ldapuser4 nfs4 11G 3.5G 7.3G 33% /home/guests/ldapuser4
/dev/sda2 xfs 207M 11M 196M 6% /mnt/uuid
[[email protected] ~]# umount -a
[[email protected] ~]# reboot
[[email protected] images]# ssh -X [email protected]
Last login: Wed Oct 14 16:39:07 2015 from 172.25.0.250
(process:1747): dconf-WARNING **: failed to commit changes to dconf: Could not connect: Connection refused
[[email protected] ~]# df -TH
Filesystem Type Size Used Avail Use% Mounted on
/dev/vda1 xfs 11G 3.4G 7.4G 32% /
devtmpfs devtmpfs 950M 0 950M 0% /dev
tmpfs tmpfs 966M 82k 966M 1% /dev/shm
tmpfs tmpfs 966M 18M 948M 2% /run
tmpfs tmpfs 966M 0 966M 0% /sys/fs/cgroup
//server0/hrr cifs 11G 3.3G 7.5G 31% /mnt/hrr
/dev/sda2 xfs 207M 11M 196M 6% /mnt/uuid
/dev/sda1 xfs 521M 27M 495M 6% /mnt/abc
用UUID挂载:
本文转自810105851 51CTO博客,原文链接:http://blog.51cto.com/4708948/1702906,如需转载请自行联系原作者