[Samba] Can I mount an NFS volume and re-export via SAMBA?

Andrew Bartlett abartlet at samba.org
Mon May 5 22:59:25 GMT 2008

On Mon, 2008-05-05 at 12:33 -0400, John Drescher wrote:
> On Mon, May 5, 2008 at 12:22 PM, Jim Hall <james_f_hall at yahoo.com> wrote:
> > We have an NFS filer right now that we need to provide
> >  our windows users access too. For various reasons they
> >  won't use SFU, etc. In our legacy environment we have
> >  a file server that does NFS/CIFS natively. In our new
> >  environment not so much. We want to provide this
> >  service to our users and the solution proposed to me
> >  is to utilize SAMBA as the mechanism to do so. After
> >  doing exhaustive googling and searching I can't seem
> >  to find if this is doable, and if it is what kind of
> >  things I should  be on the lookout for, or configuring
> >  the system for.
> >
> >  So first, is it possible?
> Yes. I have been reexporting nfs with samba for many years.
> >  Second, if it is possible is it just a matter of
> >  mounting the NFS volume on the SAMBA server and then
> >  re-exporting to the Windows clients?
> >
> Yes. The only problem is that oplocks sometimes give you trouble.

Not just oplocks (which must be turned off, because they can't be
forwarded by NFS to the source server, so risk parallel writers), but
other byte range locks, if you where expecting these to be honoured back
to the source NFS server.

Andrew Bartlett

Andrew Bartlett
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20080506/6b511388/attachment.bin

More information about the samba mailing list