Koozali.org: home of the SME Server

NFS Contrib?

Offline dtech

  • **
  • 70
  • +0/-0
NFS Contrib?
« on: January 09, 2010, 04:40:46 PM »
Hi All,

I'm not sure what happened but I can't seem to find any trace of how to use SME as an NFS server. I can still get the contrib from the contribs repository, but no howto. Anyone? Daniel at firewall-services.com used to be the maintainer, now the site makes no mention of SME at all.

Thanks in advance,

-dtech

Offline dtech

  • **
  • 70
  • +0/-0
Re: NFS Contrib?
« Reply #1 on: January 20, 2010, 05:41:48 PM »
OK, so after searching around for quite a while and not finding anything complete, this is what I've cobbled together. Please reply with corrections/additions.

1. Install the smeserver-nfs contrib like this:

Code: [Select]
yum install smeserver-nfs --enablerepo=smecontribs --enablerepo=smeupdates-testing

2. Then execute the following:

Code: [Select]
config setprop nfs status enabled
config setprop portmap status enabled

3. Edit /etc/exports to add the directories to be shared (this line exports user home directories and ibays):

Code: [Select]
/home/e-smith/files    *.mydomain(rw,sync,no_wdelay,nohide,no_root_squash)
Make sure to leave a bank line at the end of the file.

4. Then, the following, which will reboot the server:

Code: [Select]
signal-event post-upgrade; signal-event reboot
5. Finally, after rebooting, check to see what is being exported:

Code: [Select]
showmount -e

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Re: NFS Contrib?
« Reply #2 on: May 19, 2010, 08:18:50 PM »
I´ll try to use this info and install smeserver-nfs contrib... and if you agree, create a HowTo about this.

Do you have any news about this ?

Thanks

Jáder
...

Offline gajol

  • *
  • 23
  • +0/-0
Re: NFS Contrib?
« Reply #3 on: May 20, 2010, 08:21:02 AM »
Very useful.

Thank you very much.


Offline dtech

  • **
  • 70
  • +0/-0
Re: NFS Contrib?
« Reply #4 on: July 01, 2010, 07:02:03 PM »
I´ll try to use this info and install smeserver-nfs contrib... and if you agree, create a HowTo about this.

I agree, just used this again today on a new SME 7.5 install and it works. One spelling correction, at this line:

Code: [Select]
Make sure to leave a bank line at the end of the file.
"bank" should be "blank".

-dtech

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Re: NFS Contrib?
« Reply #5 on: July 02, 2010, 02:30:23 AM »
HowTo created: http://wiki.contribs.org/NFS

It's not well formated... but isn't at forum only now! ;)

I'll update format ASAP (anyone wishing help is welcome) or as soon as I remember how :)
Regards

Jáder
...

Offline linuxhelp

  • *
  • 173
  • +0/-0
    • Linux PC & Server Support
Re: NFS Contrib?
« Reply #6 on: June 21, 2011, 03:26:15 PM »
On SME 7.5.1 and a very small server nfsd freezes the system after some hours.
don't find errors, clients with debian 6.0.
Linux PC & Server Support
http://www.linuxonlinehelp.de
.. i Love SME..