Re: Exporting NFS systems
Douglas Bates writes:
>
> When I initially configured the Debian system on this machine, I did
> not intend to export any file systems using NFS. Now I want to do
> so. Do I have to do any reconfiguration of the netstd package now?
>
> I added appropriate entries to /etc/exports and I looked at
> /etc/init.d/netstd_nfs
> It appears that the entries for starting the nfsd and mountd have been
> commented out as shown below.
> case "$1" in
> start)
> echo -n "Starting remote filesystem services: "
> # echo -n "nfsd " ; start-stop-daemon --start --quiet --exec ${NET}/rpc.nfsd
> # echo -n "mountd " ; start-stop-daemon --start --quiet --exec ${NET}/rpc.mountd
> # echo -n "ugidd " ; start-stop-daemon --start --quiet --exec ${NET}/rpc.ugidd
>
> I could uncomment the line for mountd (and perhaps ugidd) then run
> /etc/init.d/netstd_nfs start
> but I would prefer to do things in a Debianly-correct way if it
> exists. If I re-install the netstd package will it detect the entries
> in /etc/exports and set up mountd to be started or do I need to do
> something more sophisticated?
Uncomment the nfsd and mountd lines and then just /etc/init.d/netstd_nfs start
If you ever change anything in /etc/exports later on do this.
/etc/init.d/netstd_nfs reload
Andrew
--
Dehydration - 34%, Recollection of previous evening - 2%, embarrassment
factor - 91%. Advise repair schedule:- off line for 36 hours, re-boot
startup disk, and replace head - wow, what a night!
-- Kryten in Red Dwarf `The Last Day'
Andrew Howell andrew@it.com.au
Perth, Western Australia howellaa@cs.curtin.edu.au
Reply to: