Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: dtech 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
-
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:
yum install smeserver-nfs --enablerepo=smecontribs --enablerepo=smeupdates-testing
2. Then execute the following:
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):
/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:
signal-event post-upgrade; signal-event reboot
5. Finally, after rebooting, check to see what is being exported:
showmount -e
-
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
-
Very useful.
Thank you very much.
-
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:
Make sure to leave a bank line at the end of the file.
"bank" should be "blank".
-dtech
-
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
-
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.