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