You are not logged in.
Hi all,
Finally gathered up courage to setup NFS4 server up. After following the wiki page, starting rpc.nfsd always fail for me.
Here is my /etc/exports:
/exports *(ro,no_subtree_check).
dmesg shows the following:
FS-Cache: Loaded
FS-Cache: Netfs 'nfs' registered for caching
NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
NFSD: starting 90-second grace period
nfsd: last server has exited, flushing export cache
NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
NFSD: starting 90-second grace periodMy idmapd.conf is like this:
[General]
Verbosity = 1
Pipefs-Directory = /var/lib/nfs/rpc_pipefs
Domain = home
[Mapping]
Nobody-User = nobody
Nobody-Group = nobody
[Translation]
Method = nsswitch.
Any help? Thanks,
Offline
Update: After a bit of tweaking I've gone further. Now I got this when I try to kick of nfsd:
rpc.nfsd: writing fd to kernel failed: errno 111 (Connection refused)
rpc.nfsd: unable to set any sockets for nfsdOffline
This is my /etc/exports:
# EXPORT ROOT
/export 192.168.0.0/255.255.255.0(rw,fsid=0,no_subtree_check,async,insecure,anonuid=1000,anongid=100)
# EXPORT FOLDERS
/export/media 192.168.0.0/255.255.255.0(rw,no_subtree_check,async,nohide,insecure,anonuid=1000,anongid=100)
/export/tdone 192.168.0.0/255.255.255.0(rw,no_subtree_check,async,nohide,insecure,anonuid=1000,anongid=100)
/export/twatch 192.168.0.0/255.255.255.0(rw,no_subtree_check,async,nohide,insecure,anonuid=1000,anongid=100)my rc.conf:
DAEMONS=(... network rpcbind nfs-common nfs-server ...)
and in my idmapd.conf, I have only set the domain to something more original than 'home'. This works for me.
Offline