[Samba] Sharing an NFS mount via samba

Volker Lendecke Volker.Lendecke at SerNet.DE
Sat May 28 01:01:45 MDT 2011

On Fri, May 27, 2011 at 04:37:58PM -0700, Jeremy Allison wrote:
> On Sat, May 28, 2011 at 12:32:14AM +0100, will ryder wrote:
> > Hi,
> > 
> > >From  what i understand sharing an NFS mount via samba is not a good idea.
> Depends on whether the NFS locking works or not.
> > Is the any way to make this work with strict locks = yes ?
> Depends on whether the NFS locking works or not.
> > The NFS mount is on a NetApp filer, I cannot create users on the Netapp.
> > therefore mounting via NFS allows me create users on a Linux machine.
> > and manage the access to data.
> > 
> > Any advice to maintain the data integrity would be helpful
> Don't access the same files at the same time from NFS and Samba.

If you have that (no concurrent NFS/CIFS access), please set
"posix locking = no". This avoids quite some of the problems
in that setup.


SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen

More information about the samba mailing list