Renaming thread to server.

Bruce Dubbs wrote:

> I haven't tried the server part yet, but the client does work.

I'm still trying to get this working.  The client is an old LFS system 
with portmap and nfs-utils-1.1.1 (2007).  It mounts an exported file 
system from ubuntu fine.  I get an error from my LFS7 system.

#  mount -t nfs lfs7:/usr/src /mnt/lfs7
mount.nfs: mount to NFS server 'lfs7' failed: RPC Error: Program not 
registered

# rpcinfo -p lfs7
    program vers proto   port
     100000    4   tcp    111  portmapper
     100000    3   tcp    111  portmapper
     100000    2   tcp    111  portmapper
     100000    4   udp    111  portmapper
     100000    3   udp    111  portmapper
     100000    2   udp    111  portmapper
     100005    1   udp  52645  mountd
     100005    1   tcp  47533  mountd
     100005    2   udp  60954  mountd
     100005    2   tcp  56425  mountd
     100005    3   udp  33939  mountd
     100005    3   tcp  56892  mountd
     100024    1   udp  34641  status
     100024    1   tcp  50491  status

On the server, there seems to be some things missing.  E.g.

     100003    3   udp   2049  nfs
     100021    3   udp   1042  nlockmgr
     100021    3   tcp   1629  nlockmgr

I don't know if this is due to using a 3.0.4 kernel or not.

On the server:

# ps -ef|grep 'lock\|nfs'
root       291     2  0 Nov26 ?        00:00:00 [kblockd]
root       613     2  0 Nov26 ?        00:00:00 [nfsiod]
root      1136     2  0 Nov28 ?        00:00:00 [lockd]
root      1137     2  0 Nov28 ?        00:00:00 [nfsd]
root      1138     2  0 Nov28 ?        00:00:00 [nfsd]
root      1139     2  0 Nov28 ?        00:00:00 [nfsd]
root      1140     2  0 Nov28 ?        00:00:00 [nfsd]
root      1141     2  0 Nov28 ?        00:00:00 [nfsd]
root      1142     2  0 Nov28 ?        00:00:00 [nfsd]
root      1143     2  0 Nov28 ?        00:00:00 [nfsd]
root      1144     2  0 Nov28 ?        00:00:00 [nfsd]

Also on the server, /proc/fs/nfsd is mounted, but the contents of both 
/proc/fs/nfs/exports and /var/lib/nfs/xtab are empty.  My /etc/exports 
file is:

/usr/src 
192.168.0.0/24(rw,async,no_root_squash,subtree_check,anonuid=99,anongid=99)

and exporting it indicates that it is exported OK.

# exportfs -rav
exporting 192.168.0.0/24:/usr/src

Google doesn't seem to help.  Any ideas?

   -- Bruce

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to