NFS hangs nfssvc: input/output error
I hope someone can help me with this, I have googled myself frantic and can't figure it out. I have a new desktop computer and I would like to share one of its folders with my laptop so the desktop has a line in /etc/exports that says:
/home/shared 192.168.1.0/255.255.255.0(rw) The laptop has an appropriate line in /etc/fstab When I boot the desktop or run /etc/init.d/nfs-kernel-server start it says: Exporting directories for NFS kernel daemon...exportfs: /etc/exports [2]: No 'sync' or 'async' option specified for export "192.168.1.0/255.255.255.0:/home/shared". Assuming default behaviour ('sync'). NOTE: this default has changed from previous versions done. Starting NFS kernel daemon: nfsd at the point of starting the NFS kernel daemon the desktop computer “hangs” for more than a minute running tail /var/log/syslog gives me "nfssvc: Input/output error" which is a little vague running rpcinfo on the laptop tells me the connection is refused. Also a little vague. What more could I do to diagnose this problem? What might cause this to happen? Oh, I have nothing at this moment in the hosts allow or deny files and I am running Debian 2.6.11 Any suggestions will be taken gratefully :confused: |
I'm getting thye same thing on my first attempt at using nfs.
Starting NFS services: [ OK ] Starting NFS daemon: [FAILED] /var/log/daemons error :- nfsd[28592]: nfssvc: Input/output error ???????? |
Hello!
I have the same problem too. But it worked fin until I upgraded to the latest version. Now I got a log message: Sep 24 09:20:00 slug-manic kernel: portmap: server localhost not responding, timed out Sep 24 09:20:00 slug-manic kernel: RPC: failed to contact portmap (errno -5). Sep 24 09:20:00 slug-manic nfsd[12643]: nfssvc: Input/output error Please... how can it be, I just upgraded, it was already working perfectly. Must I force an earlier version? Greetings zzarr |
Start the portmap daemon
First check your /etc/default/portmap settings. If they look good, start the portmap daemon:
/etc/init.d/portmap start Now you can start the nfs-kernel-server normally. Make sure it'll survive a reboot by using update-rc.d Coorney |
All times are GMT -5. The time now is 01:13 AM. |