Click to See Complete Forum and Search --> : Samba share a networked file system?


groovnmike
03-24-2004, 07:01 PM
i know a limitation of NFS is that a NFS servers shares must all be local to that server.

so i was wondering, is the same true for samba? for example, suppose i have server1 and server2. server1 is an NFS server with various NFS shares. server2 mounts those shares. can server2 in turn use samba to share those mounted shares with windows clients?

thanks !

Alex Cavnar, aka alc6379
03-25-2004, 04:24 PM
Yes, you can.

I'm not sure on the exact syntax that you'd put in your smb.conf file, but essentially you'd just make a new stanza in your config file for each directory you wanted to share. You'd treat it as if it were simply a local filesystem, as NFS, when mounted, is treated like a local disk.

So, as far as Samba is concerned, if you exported /share3 (which is mounted from an NFS server), Samba would just see /share3 as a filesystem mounted locally on the server.

groovnmike
03-25-2004, 05:01 PM
Makes sense! thanks!