Advertisement
ffilz

Untitled

Jul 21st, 2017
367
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. [root@localhost src]# showmount -e
  2. Export list for localhost.localdomain:
  3. /export/test1 simple1*,127.0.0.1,local*,192.168.0.119
  4. /export/aaa (everyone)
  5. /export/test4 (everyone)
  6. /export/exp1 (everyone)
  7. /export/exp4 (everyone)
  8. /export/exp1/some/path/exp3 (everyone)
  9. /export/exp1/some/path/exp2/foo/baz/exp5 (everyone)
  10. /export/exp1/some/path/exp2 (everyone)
  11. [root@localhost src]# mount /mnt4
  12. [root@localhost src]# ls /export/exp1
  13. lost+found some
  14. [root@localhost src]# touch /export/exp1/foo
  15. [root@localhost src]# ln /export/exp1/foo /export/exp1/some/path/exp3
  16. ln: failed to create hard link ‘/export/exp1/some/path/exp3/foo’ => ‘/export/exp1/foo’: Invalid cross-device link
  17. [root@localhost src]# umount /mnt4
  18. [root@localhost src]# mount /mnt4
  19. [root@localhost src]# ln /export/exp1/foo /export/exp1/some/path/exp3
  20. ln: failed to create hard link ‘/export/exp1/some/path/exp3/foo’ => ‘/export/exp1/foo’: Invalid cross-device link
  21. [root@localhost src]# umount /mnt4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement