rhel7 iscsi 2
续:上一篇博客文章:
http://4708948.blog.51cto.com/4698948/1702905
[root@desktop0 ~]# vim /etc/fstab
UUID=d8b12595-9d5d-4988-a4fa-387774242ca8 /mnt/uuid xfs defaults,_netdev 0 0
[root@desktop0 ~]# mkdir /mnt/uuid
[root@desktop0 ~]# mount -a
[root@desktop0 ~]# 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
[root@desktop0 ~]# umount -a
[root@desktop0 ~]# reboot
[root@foundation0 images]# ssh -X root@desktop0
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
[root@desktop0 ~]# 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挂载: