2014年1月29日水曜日

[root@sfzfs62 vol2]# vi /etc/exports
[root@sfzfs62 vol2]# exportfs -ra
[root@sfzfs62 vol2]# exportfs -v
/vol/share/ES11
192.168.1.0/24(rw,wdelay,root_squash,all_squash,no_subtree_check)
/vol/share/ES21
192.168.1.0/24(rw,wdelay,root_squash,all_squash,no_subtree_check)
/vol2/share/E11R
192.168.1.0/24(rw,wdelay,root_squash,no_subtree_check)
/vol2/share/E21R
192.168.1.0/24(rw,wdelay,root_squash,no_subtree_check)
[root@sfzfs62 vol2]# mount -t nfs /vol2/E11R /connect/ES11
mount.nfs: remote share not in 'host:dir' format
[root@sfzfs62 vol2]# mount -t nfs 192.168.1.41:/vol2/E11R /connect/ES11
[root@sfzfs62 vol2]# mount -t nfs 192.168.1.41:/vol2/E21R /connect/ES21
[root@sfzfs62 vol2]# mount -t nfs 192.168.1.41:/vol/ES21 /connect/ES21
mount.nfs: /connect/ES21 is busy or already mounted
[root@sfzfs62 vol2]# umount /connect/ES11
[root@sfzfs62 vol2]# umount /connect/ES21
[root@sfzfs62 vol2]# mount -t nfs 192.168.1.41:/vol/ES21 /connect/ES21
[root@sfzfs62 vol2]# mount -t nfs 192.168.1.41:/vol/ES21 /connect/ES21

ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー

[root@ns1 ~]# mount -t nfs4 sfzfs62:/vol/ES21 /connect/ES21
mount.nfs4: Failed to resolve server sfzfs62: Name or service not known
[root@ns1 ~]# mount -t nfs4 192.168.1.41:/vol/ES21 /connect/ES21
mount.nfs4: mounting 192.168.1.41:/vol/ES21 failed, reason given by server: No such file or directory
[root@ns1 ~]# mount -t nfs4 192.168.1.41:/vol/share/ES21 /connect/ES21
[root@ns1 ~]#
[root@ns1 ~]# mount -t nfs4 192.168.1.41:/vol/ES11 /connect/ES21
mount.nfs4: mounting 192.168.1.41:/vol/ES11 failed, reason given by server: No such file or directory
[root@ns1 ~]# mount -t nfs4 192.168.1.41:/vol/ES11 /connect/ES21
mount.nfs4: mounting 192.168.1.41:/vol/ES11 failed, reason given by server: No such file or directory
[root@ns1 ~]# mount -t nfs 192.168.1.41:/vol/ES11 /connect/ES21
^C
[root@ns1 ~]# mount -t nfs4 192.168.1.41:/vol/ES11 /connect/ES21
mount.nfs4: mounting 192.168.1.41:/vol/ES11 failed, reason given by server: No such file or directory
[root@ns1 ~]# mount -t nfs4 192.168.1.41:/vol/ES21 /connect/ES21
mount.nfs4: mounting 192.168.1.41:/vol/ES21 failed, reason given by server: No such file or directory
[root@ns1 ~]#
[root@ns1 ~]# mount -t nfs4 192.168.1.41:/vol/share/ES21 /connect/ES21
mount.nfs4: /connect/ES21 is busy or already mounted
[root@ns1 ~]# mount -t nfs4 192.168.1.41:/vol/ES11 /connect/ES11
mount.nfs4: mounting 192.168.1.41:/vol/ES11 failed, reason given by server: No such file or directory
[root@ns1 ~]# mount -t nfs4 192.168.1.41:/vol/share/ES11 /connect/ES11
[root@ns1 ~]# ls /connect/ES11/
ES11-dara.txt
[root@ns1 ~]# umount /connect/ES11
[root@ns1 ~]# umount /connect/ES21
[root@ns1 ~]# mount -t nfs4 192.168.1.41:/vol/share/ES11 /connect/ES11
[root@ns1 ~]# mount -t nfs4 192.168.1.41:/vol/ES21 /connect/ES21
mount.nfs4: mounting 192.168.1.41:/vol/ES21 failed, reason given by server: No such file or directory
[root@ns1 ~]# mount -t nfs4 192.168.1.41:/vol/ES21 /connect/ES21
mount.nfs4: mounting 192.168.1.41:/vol/ES21 failed, reason given by server: No such file or directory
[root@ns1 ~]# umount /connect/ES21
umount: /connect/ES21: マウントされていません
[root@ns1 ~]# umount /connect/ES11
[root@ns1 ~]# mount -t nfs4 192.168.1.41:/vol/ES21 /connect/ES21
mount.nfs4: mounting 192.168.1.41:/vol/ES21 failed, reason given by server: No such file or directory
[root@ns1 ~]# mount -t nfs4 192.168.1.41:/vol/share/ES21 /connect/ES21
[root@ns1 ~]# ls /connect/ES
ls: cannot access /connect/ES: そのようなファイルやディレクトリはありません
[root@ns1 ~]# ls /connect/ES21
[root@ns1 ~]# mount -t nfs4 192.168.1.41:/vol2/E21R /connect/ES21
mount.nfs4: mounting 192.168.1.41:/vol2/E21R failed, reason given by server: No such file or directory