[Samba] sharing NFS mounts

Vidiot brown at mrvideo.vidiot.com
Wed May 25 06:05:48 GMT 2005


>OK, I've been searching the archives and google with little luck...
>
>I have a directory which needs to be shared with a number of UNIX
>clients via NFS and with Windows clients via Samba.  What is the best
>way to do this?  Should I configure Samba to share the actual NFS mount?
> Or should I configure Samba to share the actual filesystem directory?
>
>Reason I ask, we were using the former method (sharing the NFS mount)
>and Windows users were complaining about flaky Samba shares.

Interesting,  My current layout is a Linux server running RH 7.1, a new
Linux server running FedoraCore 2 (to be updated to 3) and two Windblows
boxes (one 98SE and one W2K).  The new Linux server will be taking over the
duties of the old.  In the meantine, the home partition and the website
partition are on the new server.  The old Linux box Samba servers to the
two Windblows boxes, but it mounts the two partitions via NFS.  I never
reconfigured the Samba server after I moved the data from those two
directories to the new server.  Samba happily serves up the local and NFS
files without a wimper.  The Windoze boxes have never complained.  My
transfer speed has never had a problem and I not seen a hiccup.

Of course, my little home network doesn't have the traffic that you do, so
your mileage will probably vary.  The point is that Samba will happily share
a NFS mount.  But, if I read what you have for a configuration, the server
is your Samba server box and the NFS server box.  Samba can't serve a NFS
mounted file when it isn't mounted locally.  In your case, you'll NFS export
the directory to the Unix boxes and Samba share the same directory to the
Windblows boxes.  That is basically what we do at work with a whole bunch
more Unix boxes and Windblows boxes.

Did I understand you setup correctly?

MB
-- 
e-mail: vidiot at vidiot.com                                /~\ The ASCII
                                                         \ / Ribbon Campaign
[So it's true, scythe matters.  Willow  5/12/03]          X  Against
Visit - URL: http://vidiot.com/                          / \ HTML Email


More information about the samba mailing list