From: John Drescher on
On Mon, May 5, 2008 at 12:22 PM, Jim Hall <james_f_hall(a)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.

John
John
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
From: Andrew Bartlett on
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(a)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
http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
Samba Developer, Red Hat Inc.
From: Jeremy Allison on
On Tue, May 06, 2008 at 08:59:25AM +1000, Andrew Bartlett wrote:
>
> 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.

Actually, byte range locks should work over NFS. That's not to say
they *do*, but there's an extension to the core protocol that supports
them (although not all NFS servers support it).

Jeremy.
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
From: Mathieu Beaudoin on
By my experience, it is possible but I had to turn off this setup because we
had issues with MS Office files. The oplock wasn't working correctly and we
had problems with saving MS Excel files on this share. It was also not easy
to tune the performance, the samba share had a tendency to lag when we where
browsing it or when we where opening files.

Mathieu Beaudoin


-----Message d'origine-----
De : Jim Hall [mailto:james_f_hall(a)yahoo.com]
Envoyé : 5 mai 2008 12:23
À : samba(a)lists.samba.org
Objet : [Samba] Can I mount an NFS volume and re-export via SAMBA?

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?
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?

Thanks,

Jim




--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba