On 5/9/05, Richard Fish <[EMAIL PROTECTED]> wrote: > Mark Knecht wrote: > > >Hello again, > > A bit more info. On the server side the directories seem to be exxported: > > > >dragonfly ~ # exportfs > >/home/mark/MusicLib > > <world> > >/MusicLib <world> > >dragonfly ~ # > > > >The second one is the one I'm trying to mount remotely. However it's > >not clear to me if nfsd is listening on the right port - normally 2049 > >according to the remote devices /etc/services file: > > > > > > > > Hi Mark, > > Maybe I am wrong, but I think you also need to be running 'portmap'. > Normally NFS registers with the portmap service and doesn't listen on > its own port at all, IIRC. My guess is that when you try to mount from > the remote system, it fails to contact the RPC (portmap) service on port > 111, so it tells you the server is down. > > -Richard
Hi Richard, portmap seems to be running: dragonfly ~ # ps aux | grep portmap rpc 8811 0.0 0.1 1672 684 ? Ss May02 0:00 /sbin/portmap root 11634 0.0 0.0 1484 476 pts/0 R+ 19:59 0:00 grep portmap dragonfly ~ # rpcinfo looks at least reasonable: dragonfly ~ # rpcinfo -p program vers proto port 100000 2 tcp 111 portmapper 100000 2 udp 111 portmapper 100024 1 udp 2294 status 100024 1 tcp 1042 status 100003 2 udp 2049 nfs 100003 2 tcp 2049 nfs 100021 1 udp 2296 nlockmgr 100021 3 udp 2296 nlockmgr 100021 1 tcp 1043 nlockmgr 100021 3 tcp 1043 nlockmgr 100005 1 udp 658 mountd 100005 1 tcp 661 mountd 100005 2 udp 658 mountd 100005 2 tcp 661 mountd 100005 3 udp 658 mountd 100005 3 tcp 661 mountd dragonfly ~ # and the above seems to say the Gentoo server is listening on the correct port - 2049. I've changed the /etc/exports file a bit. Now it's this: dragonfly ~ # cat /etc/exports # /etc/exports: NFS file systems being exported. See exports(5). /MusicLib 192.168.1.0/255.255.255.0(async,ro) /home/mark/MusicLib 192.168.1.0/255.255.255.0(async,rw) dragonfly ~ # I think this means that anyone on my local home network should have access according to the Gentoo NFS Wiki. Now I can restart NFS and things look like they should be OK: dragonfly ~ # exportfs -ra dragonfly ~ # /etc/init.d/nfs restart * Stopping NFS mountd ... [ ok ] * Stopping NFS daemon ... [ ok ] * Stopping NFS statd ... [ ok ] * Starting NFS statd ... [ ok ] * Exporting NFS directories ... [ ok ] * Starting NFS daemon ... [ ok ] * Starting NFS mountd ... [ ok ] dragonfly ~ # dragonfly ~ # exportfs /home/mark/MusicLib 192.168.1.0/255.255.255.0 /MusicLib 192.168.1.0/255.255.255.0 dragonfly ~ # But still my FC2 remote machine cannot mount it: [EMAIL PROTECTED] root]# mount /mnt/MusicLib/ mount to NFS server 'dragonfly' failed: server is down. [EMAIL PROTECTED] root]# I know this must be a simple oversight but I just do not see it. Thanks for answering! I do appreciate it! Cheers, Mark -- gentoo-user@gentoo.org mailing list