daily pastebin goal
36%
SHARE
TWEET

nfs test

a guest Sep 23rd, 2012 22 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. MACCHINA CLIENT
  2.  
  3. root@raspberrypi ~ # .script/start_nfs.sh
  4. [ ok ] Starting rpcbind daemon....
  5. [ ok ] Starting NFS common utilities: statd idmapd.
  6. root@raspberrypi /home/pi # mount -t nfs4 -o proto=tcp,port=2049 192.168.1.155:/ /mnt/
  7. root@raspberrypi /home/pi # exit
  8. exit
  9. pi@raspberrypi ~ $ cd /mnt/users/
  10. pi@raspberrypi /mnt/users $ touch test
  11. pi@raspberrypi /mnt/users $ ll
  12. total 28
  13. drwxr-xr-x 2 nobody nogroup 4096 Sep 23 08:06 .
  14. drwxr-xr-x 3 root   root    4096 Sep 20 19:42 ..
  15. -rw------- 1 nobody nogroup   86 Sep 19 20:28 .bash_history
  16. -rw-r--r-- 1 nobody nogroup  220 Sep 17 21:55 .bash_logout
  17. -rw-r--r-- 1 nobody nogroup 3392 Sep 17 21:55 .bashrc
  18. -rw-r--r-- 1 nobody nogroup   13 Sep 20 20:36 p
  19. -rw-r--r-- 1 nobody nogroup  675 Sep 17 21:55 .profile
  20. -rw-r--r-- 1 nobody nogroup    0 Sep 23 08:06 test
  21. pi@raspberrypi /mnt/users $
  22.  
  23. MACCHINA SERVER
  24. root@debian-nfs:/home/users/# ls -la
  25. total 28
  26. drwxr-xr-x 2 nobody nogroup 4096 Sep 23 08:06 .
  27. drwxr-xr-x 3 root   root    4096 Sep 20 19:42 ..
  28. -rw------- 1 users users      86 Sep 19 20:28 .bash_history
  29. -rw-r--r-- 1 users users     220 Sep 17 21:55 .bash_logout
  30. -rw-r--r-- 1 users users    3392 Sep 17 21:55 .bashrc
  31. -rw-r--r-- 1 users users      13 Sep 20 20:36 p
  32. -rw-r--r-- 1 users users     675 Sep 17 21:55 .profile
  33. -rw-r--r-- 1 users users       0 Sep 23 08:06 test
  34. root@debian-nfs:/home/users/#
  35.  
  36. FILE /etc/exports
  37. /export 192.168.1.224/24(rw,fsid=0,no_subtree_check,synk)
  38. /export/users 192.168.1.224/24(rw,nohide,insecure,no_subtree_check,synk)
RAW Paste Data
Pastebin PRO WINTER Special!
Get 40% OFF Pastebin PRO accounts!
Top