Hi,
Unfortunately my slug got knocked off the shelf when my (ill) cat failed to jump onto the shelf. As a result it had a power-cycle without correct shutdown and I now find I'm having trouble exporting (and mounting from a client) my NFS directories.
I see in dmesg....
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
Installing knfsd (copyright (C) 1996 okir@monad.swb.
NFSD: Using /var/lib/nfs/
NFSD: unable to find recovery directory /var/lib/nfs/
NFSD: starting 90-second grace period
and from the client I get permission denied on all directories.
# /etc/init.d/
* Caching service dependencies ... [ ok ]
* Unmounting network filesystems ... [ ok ]
* Mounting network filesystems ...
mount.nfs: access denied by server while mounting slug:/mnt/torrents
mount.nfs: access denied by server while mounting slug:/mnt/albums
mount.nfs: access denied by server while mounting slug:/mnt/music
mount.nfs: access denied by server while mounting slug:/mnt/video
mount.nfs: access denied by server while mounting slug:/mnt/pics
mount.nfs: access denied by server while mounting slug:/mnt/doc
mount.nfs: access denied by server while mounting slug:/mnt/work1
mount.nfs: access denied by server while mounting slug:/mnt/work2
mount.nfs: access denied by server while mounting slug:/mnt/ref
* Could not mount all network filesystems [ !! ]
I found a suggestion of adding the 'nolock' option to /etc/exports but I'm told this isn't recognised (and its not listed in the man page for /etc/exports either).
Currently my /etc/exports looks like...
# /etc/exports: NFS file systems being exported. See exports(5).
## /usr/portage
/mnt/portage 192.168.1.0/
## 250Gb LaCie
## pics1
/mnt/torrents 192.168.1.0/
## music1
/mnt/albums 192.168.1.0/
## 500Gb LaCie
## music2
/mnt/music 192.168.1.0/
## video
/mnt/video 192.168.1.0/
## pics2
/mnt/pics 192.168.1.0/
## doc
/mnt/doc 192.168.1.0/
## misc
/mnt/work1 192.168.1.0/
## work
/mnt/work2 192.168.1.0/
## ref
/mnt/ref 192.168.1.0/
The versions of NFS (and modules) I have installed are...
# opkg list_installed | grep nfs
kernel-module-
kernel-module-
nfs-utils - 1.1.2-3 -
I get the impression that there is a lock on NFS exports due to the unclean power-cycle, but have no idea how to get round this.
Advice appreciated,
Cheers
Neil
Friday, January 8, 2010
[nslu2-linux] NFSD: unable to find recovery directory /var/lib/nfs/v4recovery
__._,_.___
.
__,_._,___
No comments:
Post a Comment