[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Howto install and run nfsd/mountd



On Tue, Aug 20, 2002 at 01:42:50PM +0200, saraabraham@gmx.net wrote:
> Hi,
> 
> I try to make a plip connection between two linux-boxes - and so far pinging
> each other works.
> But trying to mount a nfs-connection (mount -t nfs target:/ /mnt) fails
> (mount: RPC: Program not registered).
> 
> Checking (with: rpcinfo -p) if  NFS is running shows only the portmapper (no
> nfs- or mountd entry).
> In that case all manuals and howtos recommend to restart this daemons.
> I guess, that neither nfsd nor mountd are installed (I thought it to be in
> the base).
> 
> * Which debian-packages do I need for nfsd/mountd?
> * Do I start them (manually) with '/etc/init.d/nfs start' ?
> 
> TIA
> 
Your problem sounds a lot like one I just survived. 
Are you running Woody rev0? If not, skip the following.

install packages nfs-common and, on the machine that is to be server
of file,  nfs-user-server.

create a file, /etc/exports, on the server machine, that grants access
to a particular mount point for the other machine. e.g. a line like

/home/auser/export  the.other.machine(rw,no_root_squash)

read carefully documentation about /etc/exports, so that you
understand what the magic words 'rw' and 'no_root_squash' do, and
appreciate the danger(s) in each. 

HTH



-- 
Paul E Condon           
pecondon@quiknet.com    



Reply to: