Advertisement
SZoPer

Untitled

Nov 19th, 2013
466
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.43 KB | None | 0 0
  1. /etc/exports: (host machine)
  2.  
  3. # VAGRANT-BEGIN: 1000 72995ceb-0914-4d4f-b202-550b131fa053
  4. /home/user/work/my-project 192.168.7.50(rw,no_subtree_check,all_squash,anonuid=1000,anongid=1000,fsid=2783016712)
  5. # VAGRANT-END: 1000 72995ceb-0914-4d4f-b202-550b131fa053
  6.  
  7. Inside the VM:
  8.  
  9. vagrant@ekoo:~$ sudo mount -v -o 'vers=3,udp' 192.168.7.1:'/home/user/work/my-project' /var/www/working
  10. mount: no type was given - I'll assume nfs because of the colon
  11. mount.nfs: timeout set for Tue Nov 19 15:50:14 2013
  12. mount.nfs: trying text-based options 'vers=3,udp,addr=192.168.7.1'
  13. mount.nfs: prog 100003, trying vers=3, prot=17
  14. mount.nfs: trying 192.168.7.1 prog 100003 vers 3 prot UDP port 2049
  15. mount.nfs: prog 100005, trying vers=3, prot=17
  16. mount.nfs: trying 192.168.7.1 prog 100005 vers 3 prot UDP port 52666
  17. mount.nfs: mount(2): Permission denied
  18. mount.nfs: access denied by server while mounting 192.168.7.1:/home/user/work/my-project
  19.  
  20.  
  21.  
  22. vagrant@ekoo:~$ sudo showmount -e 192.168.7.1
  23. Export list for 192.168.7.1:
  24. /home/user/work/my-project 192.168.7.50
  25.  
  26.  
  27. vagrant@ekoo:~$ sudo ifconfig
  28. eth0 Link encap:Ethernet HWaddr 08:00:27:10:ab:51
  29. inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
  30. inet6 addr: fe80::a00:27ff:fe10:ab51/64 Scope:Link
  31. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  32. RX packets:745 errors:0 dropped:0 overruns:0 frame:0
  33. TX packets:587 errors:0 dropped:0 overruns:0 carrier:0
  34. collisions:0 txqueuelen:1000
  35. RX bytes:72767 (71.0 KiB) TX bytes:65623 (64.0 KiB)
  36.  
  37. eth1 Link encap:Ethernet HWaddr 08:00:27:91:05:36
  38. inet addr:192.168.7.50 Bcast:192.168.7.255 Mask:255.255.255.0
  39. inet6 addr: fe80::a00:27ff:fe91:536/64 Scope:Link
  40. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  41. RX packets:61 errors:0 dropped:0 overruns:0 frame:0
  42. TX packets:71 errors:0 dropped:0 overruns:0 carrier:0
  43. collisions:0 txqueuelen:1000
  44. RX bytes:4672 (4.5 KiB) TX bytes:6614 (6.4 KiB)
  45.  
  46. lo Link encap:Local Loopback
  47. inet addr:127.0.0.1 Mask:255.0.0.0
  48. inet6 addr: ::1/128 Scope:Host
  49. UP LOOPBACK RUNNING MTU:16436 Metric:1
  50. RX packets:40 errors:0 dropped:0 overruns:0 frame:0
  51. TX packets:40 errors:0 dropped:0 overruns:0 carrier:0
  52. collisions:0 txqueuelen:0
  53. RX bytes:2640 (2.5 KiB) TX bytes:2640 (2.5 KiB)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement