Thank you Jerry, we succeeded in mounting sdc-nfs from inside a native zone. 
The reason we failed is just because we didn’t specify a config json file (in 
which, we can set "address": “0.0.0.0” for “mount")  for nfs server when 
started it. And the default configuration for that server doesn’t enable 
mounting from other hosts.

Best,
Dejia He
————————
www.briphant.com<http://www.briphant.com>
Briphant Technologies Co., Ltd.

From: Jerry Jelinek
Reply-To: 
"[email protected]<mailto:[email protected]>"
Date: Thursday, September 8, 2016 at 7:42 PM
To: 
"[email protected]<mailto:[email protected]>"
Subject: Re: [smartos-discuss] NFS File Sharing

That user-level server only supports the NFSv3 protocol so you might try 
explicitly requesting version 3 when you attempt the mount. We have mounted 
using this server from inside a native zone, so it should be possible for you 
to do this.

Jerry


On Thu, Sep 8, 2016 at 4:22 AM, 贺德嘉 
<[email protected]<mailto:[email protected]>> wrote:
Hi, Jerry

We’ve tried sdc-nfs, and we encounter some problems:
1, We installed it in lx zone(centos 7), and we can mount nfs share from a lx 
zone(centos 7), but we try mount in a native zone, it’s like this:
# pfexec mount 10.17.1.3:/home/bjr/data /home/bjr/testMount
nfs mount: 10.17.1.3<http://10.17.1.3>: : RPC: Unknown protocol
2, Failed to install in natvie zone, the reason is: when npm build, it will 
fail on the building of dtrace-provider. We tried it in minimal-64-lts 14.4.2.

Maybe you’d look into this :-)

Best,
Dejia He
————————
www.briphant.com<http://www.briphant.com>
Briphant Technologies Co., Ltd.


From: Jerry Jelinek
Reply-To: 
"[email protected]<mailto:[email protected]>"
Date: Sunday, August 7, 2016 at 1:12 AM
To: 
"[email protected]<mailto:[email protected]>"
Subject: Re: [smartos-discuss] NFS File Sharing

Depending on what you're trying to do, we have written a user-level NFS server 
which might meet your needs. It's at https://github.com/joyent/sdc-nfs

Jerry

On Friday, August 5, 2016, Kevr 
<[email protected]<mailto:[email protected]>> wrote:
Hi Everyone

Is it still the case that we don't do NFS file sharing from within a zone?

Kevin Ratcliffe

Sent from ProtonMail



smartos-discuss | Archives<https://www.listbox.com/member/archive/184463/=now> 
[https://www.listbox.com/images/feed-icon-10x10.jpg904846c.jpg?uri=aHR0cHM6Ly93d3cubGlzdGJveC5jb20vaW1hZ2VzL2ZlZWQtaWNvbi0xMHgxMC5qcGc]
 <https://www.listbox.com/member/archive/rss/184463/27846735-c96894e1>  | 
Modify<https://www.listbox.com/member/?&;> Your Subscription       
[https://www.listbox.com/images/listbox-logo-small.png904846c.png?uri=aHR0cHM6Ly93d3cubGlzdGJveC5jb20vaW1hZ2VzL2xpc3Rib3gtbG9nby1zbWFsbC5wbmc]
 <http://www.listbox.com>



-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to