Koozali.org: home of the SME Server

NFS on E-Smith

Chris Woods

NFS on E-Smith
« on: October 16, 2001, 06:53:18 PM »
I've heard lots of great things about NFS and I'm wondering why E-Smith doesn't come configured with it? In the documentation it says that NFS may cause security issues. If I'm primarily using the e-smith as a file server shouldn't my linux clients be using NFS rather then Samba mounts?

Sorry if this question is granular but I am still relatively new to Linux and E-Smith.


Any help would be appreciated.

Chris Woods

stephen noble

Re: NFS on E-Smith
« Reply #1 on: October 16, 2001, 08:06:11 PM »
didn't you answer yourself ?
to enable nfs by default would open security holes with passwords being passed
in the clear, however for many sites that doesn't matter, and NFS would be handy
 
http://e-smith.org/docs/howto/nis-howto.html
is mostly correct

then you still have nfs to setup

good luck

Dave Helmuth

Re: NFS on E-Smith
« Reply #2 on: October 17, 2001, 07:57:25 AM »
I have heard several people ask this same question about using NFS on e-smith.

I just thought it would be a good idea to point out that you can still use the "mount" command from a command prompt.

mount -t smbfs -o username=user,password=pass //ip-hostname/sambashare /mnt/somedirectory

Security etc is handled by Samba, but it acts kind of like a normal NFS mount etc.

Just a thought and I hope it helps.

Thanks!

Don Bahler

Re: NFS on E-Smith
« Reply #3 on: October 17, 2001, 09:48:22 AM »
I have an HP 9000 running HPUX 10.01 I want to be able to to run a daily cron backup from the HP to the E-Smith server. My E-Smith server is set to server-only mode,  I have installed the packages per the FAQ info and the NIS how to, and started the daemons.  But I still can't figure out how to export a directory on the E-Smith so that the HP will mount it.  What am missing?

Rob Hillis

Re: NFS on E-Smith
« Reply #4 on: October 17, 2001, 01:34:26 PM »
Don Bahler wrote:
> I have an HP 9000 running HPUX 10.01 I want to be able to to
> run a daily cron backup from the HP to the E-Smith server. My
> E-Smith server is set to server-only mode,  I have installed
> the packages per the FAQ info and the NIS how to, and started
> the daemons.  But I still can't figure out how to export a
> directory on the E-Smith so that the HP will mount it.  What
> am missing?

Have you installed e-smith-nfs (available from the e-smith site - I forget who's responsible for this one, but I beleive it comes from the same person who packaged e-smith-nis) and nfs-utils?  The NIS-HOWTO only covers setting up your NIS domain, *not* NFS setup as well...

DON BAHLER

Re: NFS on E-Smith
« Reply #5 on: October 30, 2001, 11:46:57 AM »
Just as an update, I reinstalled the rpms, shutdown and restarted.  On the E-Smith server,  I found the /etc/exports file, set the server name and directory.  I then went into sam on  HPUX and set a directory to be exported to the E-Smith, and  also a directory to be imported from the E-Smith. I was able to import a directory from the HPUX machine onto the E-Smith but HPUX does not recognize the directory from the E-Smith. I'm not working at the machine right now, and I can't remember the exact error message.

Now all I need is how-to to write a script for a cron job to back up certain file extentions on the E-Smith.  Any suggestions?

Thanks
Don Bahler