VecH

nfs

Jan 30th, 2016
313
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.11 KB | None | 0 0
  1. # ls -al /mnt
  2. итого 16
  3. drwxr-xr-x  4 root root 4096 янв.  13 12:49 .
  4. drwxr-xr-x 21 root root 4096 янв.  20 06:33 ..
  5. drwxrwxrwx  4 root root 4096 янв.  13 06:50 mhddfs4tb
  6.  
  7. root@big:~# cat /etc/exports |grep -v "^$\|^#"
  8. /mnt/mhddfs4tb 192.168.88.24(rw,fsid=0,no_root_squash,no_subtree_check)
  9.  
  10. # exportfs
  11. /mnt/mhddfs4tb  192.168.88.24
  12.  
  13. =============
  14. клиент
  15. # mount.nfs 192.168.88.20:/mnt/mhddfs4tb /mnt/nfs -o ro,async,auto -o nfsvers=4 -v
  16. mount.nfs: timeout set for Sun Jan 31 08:14:21 2016
  17. mount.nfs: trying text-based options 'addr=192.168.88.20,clientaddr=192.168.88.24'
  18. mount.nfs: mount(2): Connection refused
  19. mount.nfs: trying text-based options 'addr=192.168.88.20,clientaddr=192.168.88.24'
  20. mount.nfs: mount(2): Connection refused
  21.  
  22. =============
  23. # tail -f /var/log/syslog
  24. Jan 31 08:12:06 big rpc.mountd[5132]: Version 1.2.8 starting
  25. Jan 31 08:12:10 big rpc.mountd[5132]: authenticated mount request from 192.168.88.24:751 for /mnt/mhddfs4tb (/mnt/mhddfs4tb)
  26. Jan 31 08:12:12 big rpc.mountd[5132]: authenticated mount request from 192.168.88.24:927 for /mnt/mhddfs4tb (/mnt/mhddfs4tb)
Advertisement
Add Comment
Please, Sign In to add comment