NFS PDF Print E-mail
User Rating: / 0
PoorBest 
Written by Bart Dorlandt   
Thursday, 16 November 2006 12:45

Here you'll find some tips for NFS. The most important command is rpcinfo -p, this command can be used to probe the portmapper on the localhost. The should should look like this:

$ rpcinfo -p
program vers proto   port
100000    2   tcp    111  portmapper
100000    2   udp    111  portmapper
100003    2   udp   2049  nfs
100003    3   udp   2049  nfs
100003    2   tcp   2049  nfs
100003    3   tcp   2049  nfs
100005    1   udp    948  mountd
100005    3   udp    948  mountd
100005    1   tcp    707  mountd
100005    3   tcp    707  mountd
100021    1   udp    941  nlockmgr
100021    3   udp    941  nlockmgr
100021    1   tcp    732  nlockmgr
100021    3   tcp    732  nlockmgr

You would only see the nlockmgr if you have started the proces with rpc.lockd. If nfs or mountd isn't in the list there probably is something wrong. You are able to start these processes as root with the command: mountd and nfs -tun4. -tun4 stands for TCP, UDP and 6 services to start. (man nfsd)

Also here are some commands you can use to see if the server is sharing any folders or who is connected to the server.

# showmount <ip>
Hosts on <ip>:
bart.bamweb.nl

# showmount -e <ip>
Export list for <ip>:
/web/raid/eva  192.168.1.0/24
/web/raid/bart 192.168.1.0/24

 

Last Updated on Friday, 13 February 2009 15:34
 


Related items: