On an OSX 10.9.5 host I run Bell Labs Plan 9 in Virtualbox.
Both have fixed IP addresses:
OSX 192.168.1.152
Plan 9 192.168.1.156
On OSX I have this in /etc/exports:
/Users/mva -mapall=501:20 -alldirs
I'm trying to access /Users/mva from Plan 9 through NFS:
cpu% nfs -v -R -p 666 -s macmini 192.168.1.152
out: xid=0x0 prog 0x186a0 vers 0x2 proc 0x3 [none] [none]
PortTGetport [100005 3 17 0]
send e67c8ecf 3443508661 3443509661
in: xid=0xe67c8ecf status 0x0 [none] low 0x0 high 0x0
in: xid=0xe67c8ecf status 0x0 [none] low 0x0 high 0x0
in: PortRGetport 799
out: xid=0x0 prog 0x186a0 vers 0x2 proc 0x3 [none] [none]
PortTGetport [100003 3 17 0]
send e67c8ed0 3443508930 3443509930
in: xid=0xe67c8ed0 status 0x0 [none] low 0x0 high 0x0
in: xid=0xe67c8ed0 status 0x0 [none] low 0x0 high 0x0
in: PortRGetport 2049
nfs udp!192.168.1.152!799!r udp!192.168.1.152!2049!r
out: xid=0x0 prog 0x186a5 vers 0x3 proc 0x0 [none] [none]
NfsMount3TNull
send 76381d71 3443509217 3443510217
in: xid=0x76381d71 status 0x0 [none] low 0x0 high 0x0
in: xid=0x76381d71 status 0x0 [none] low 0x0 high 0x0
in: NfsMount3RNull
out: xid=0x0 prog 0x186a3 vers 0x3 proc 0x0 [none] [none]
Nfs3TNull
send ac0de7b5 3443509383 3443510383
in: xid=0xac0de7b5 status 0x0 [none] low 0x0 high 0x0
in: xid=0xac0de7b5 status 0x0 [none] low 0x0 high 0x0
in: Nfs3RNull
cpu% aux/nfsmount 192.168.1.152
connecting to udp!192.168.1.152!portmap
connecting to udp!192.168.1.152!799!r
/Users/mva
But then this fails:
cpu% mkdir mac
cpu% mount /srv/macmini mac
creds for mva:
000000000000000D3139322E3136382E312E313536
000000FFFFFFFFFFFFFFFF0000
0000
out: xid=0x0 prog 0x186a5 vers 0x3 proc 0x1 [sys] [none]
NfsMount3TMnt
path="/"
send 76381d72 3443716564 3443717564
in: xid=0x76381d72 status 0x0 [none] low 0x0 high 0x0
in: xid=0x76381d72 status 0x0 [none] low 0x0 high 0x0
in: NfsMount3RMnt
status=13
mount: mount mac: access denied
I imagine it is a problem with permissions;
on the other hand I thought the mapall in
the hosts' /etc/exportfs would take care of that.
What am I missing?
Mark.