From: Mark van Atten <vanattenmark@gmail.com>
To: 9fans@9fans.net
Subject: [9fans] noob question: p9 nfs client
Date: Fri, 27 Feb 2015 23:02:39 +0000 [thread overview]
Message-ID: <loom.20150228T000146-918@post.gmane.org> (raw)
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.
next reply other threads:[~2015-02-27 23:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-27 23:02 Mark van Atten [this message]
2015-02-28 20:23 ` Mark van Atten
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20150228T000146-918@post.gmane.org \
--to=vanattenmark@gmail.com \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).