LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   NFS and Samba (https://www.linuxquestions.org/questions/linux-networking-3/nfs-and-samba-388822/)

mijohnst 12-03-2005 12:11 AM

NFS and Samba
 
I've never setup a Samba server before so I was wondering a few things since i'm going to have to set on up soon. Is it possible to use Samba to share out a directory that is already shared with NFS?

I have three computers, 2 Linux and 1 Windows. I want to mount one linux machine to the other and I want the Windows machine to that mount as a share.

Thanks again. :)

GrueMaster 12-03-2005 01:32 AM

Yes it is possible, and the company I used to work for used multiple systems running samba as a gateway to the several terrabytes of NFS and AFS file servers in multiple sites. I don't think there is anything they did differently in the setup, except that all of the NFS mounts were under a single directory, and it was shared as the root filesystem from samba. They also had the NFS servers mounting through an automounter, as the samba server would choke if there were excessive mounts open (more that 128, I think).

How to do it is another story. I'd install the samba server on the linux system that you want to act as the server (make sure to install swat), then use a browser to configure by connecting to localhost:901.

mijohnst 12-03-2005 10:45 AM

Thanks for the input Grue! I had a feeling that it was possible because many of the new NAS systems that run Linux as a base can use CIFS and NFS on the same directory. I think that Samba uses CIFS... Anyway, thanks for the reply. :)


All times are GMT -5. The time now is 08:55 AM.