mulix
09.09.09, 12:26
Hi Leute,
ich komme einfach mit dieser nfs geschichte nicht klar. Ich wollte auf nfs4 (ohne kerberos) umsteigen (hatte mit version 3 nie probleme) aber okay hier meine config...
Server OS: Debian 5
Server-IP: 192.168.2.241
Client OS: OpenSuse 11.1
Die daten liegen unter /netshare/data
das share per mount --bind einbinden
mount --bind /netshare/data /nfs4export/data
meine /etc/exports
/nfs4export/ 192.168.2.0/24(rw,fsid=0,nohide,sync,insecure,root_squash,no_s ubtree_check)
/nfs4export/data 192.168.2.0/24(rw,nohide,sync,insecure,root_squash,no_subtree_ check)
meine /etc/default/nfs-common
NEED_STATD=
STATDOPTS=
NEED_IDMAPD=yes
NEED_GSSD=no
meine /etc/default/nfs-kernel-server
RPCNFSDCOUNT=8
RPCNFSDPRIORITY=0
RPCMOUNTDOPTS=
NEED_SVCGSSD=no
RPCSVCGSSDOPTS=
ausgabe von rpcinfo -p
Program Vers Proto Port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 39064 status
100024 1 tcp 41003 status
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100021 1 udp 60361 nlockmgr
100021 3 udp 60361 nlockmgr
100021 4 udp 60361 nlockmgr
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100021 1 tcp 48711 nlockmgr
100021 3 tcp 48711 nlockmgr
100021 4 tcp 48711 nlockmgr
100005 1 udp 55962 mountd
100005 1 tcp 53464 mountd
100005 2 udp 55962 mountd
100005 2 tcp 53464 mountd
100005 3 udp 55962 mountd
100005 3 tcp 53464 mountd
wobei doch bei nfs4 diese ganze rpc sache wegfällt?!
ein exportfs -av sagt
exporting 192.168.2.0/24:/nfs4export/data
Mein client sagt nur das
mount -t nfs4 192.168.2.241:/nfs4export/data /home/mschumann/data
mount.nfs4: mounting 192.168.2.241:/nfs4export/schumanndata failed, reason given by server:
No such file or directory
ein showmount -e 192.168.2.241 sagt aber
Export list for 192.168.2.241:
/nfs4export/data 192.168.2.0/24
Das syslog auf dem server gibt mir keine infos wenn ich versuche das share zu mounten, auch sehr komisch.
Im client /var/log/messages kommt nur
Sep 9 13:23:01 SD-MS-01 rpc.idmapd[14903]: New client: 94
Sep 9 13:23:01 SD-MS-01 rpc.idmapd[14903]: New client: 95
Sep 9 13:23:01 SD-MS-01 rpc.idmapd[14903]: Opened /var/lib/nfs/rpc_pipefs/nfs/clnt94/idmap
Sep 9 13:23:01 SD-MS-01 rpc.idmapd[14903]: Stale client: 94
Sep 9 13:23:01 SD-MS-01 rpc.idmapd[14903]: -> closed /var/lib/nfs/rpc_pipefs/nfs/clnt94/idmap
Sep 9 13:23:01 SD-MS-01 rpc.idmapd[14903]: Stale client: 95
Sep 9 13:23:01 SD-MS-01 rpc.idmapd[14903]: -> closed /var/lib/nfs/rpc_pipefs/nfs/clnt95/idmap
so long...
mulix
ich komme einfach mit dieser nfs geschichte nicht klar. Ich wollte auf nfs4 (ohne kerberos) umsteigen (hatte mit version 3 nie probleme) aber okay hier meine config...
Server OS: Debian 5
Server-IP: 192.168.2.241
Client OS: OpenSuse 11.1
Die daten liegen unter /netshare/data
das share per mount --bind einbinden
mount --bind /netshare/data /nfs4export/data
meine /etc/exports
/nfs4export/ 192.168.2.0/24(rw,fsid=0,nohide,sync,insecure,root_squash,no_s ubtree_check)
/nfs4export/data 192.168.2.0/24(rw,nohide,sync,insecure,root_squash,no_subtree_ check)
meine /etc/default/nfs-common
NEED_STATD=
STATDOPTS=
NEED_IDMAPD=yes
NEED_GSSD=no
meine /etc/default/nfs-kernel-server
RPCNFSDCOUNT=8
RPCNFSDPRIORITY=0
RPCMOUNTDOPTS=
NEED_SVCGSSD=no
RPCSVCGSSDOPTS=
ausgabe von rpcinfo -p
Program Vers Proto Port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 39064 status
100024 1 tcp 41003 status
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100021 1 udp 60361 nlockmgr
100021 3 udp 60361 nlockmgr
100021 4 udp 60361 nlockmgr
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100021 1 tcp 48711 nlockmgr
100021 3 tcp 48711 nlockmgr
100021 4 tcp 48711 nlockmgr
100005 1 udp 55962 mountd
100005 1 tcp 53464 mountd
100005 2 udp 55962 mountd
100005 2 tcp 53464 mountd
100005 3 udp 55962 mountd
100005 3 tcp 53464 mountd
wobei doch bei nfs4 diese ganze rpc sache wegfällt?!
ein exportfs -av sagt
exporting 192.168.2.0/24:/nfs4export/data
Mein client sagt nur das
mount -t nfs4 192.168.2.241:/nfs4export/data /home/mschumann/data
mount.nfs4: mounting 192.168.2.241:/nfs4export/schumanndata failed, reason given by server:
No such file or directory
ein showmount -e 192.168.2.241 sagt aber
Export list for 192.168.2.241:
/nfs4export/data 192.168.2.0/24
Das syslog auf dem server gibt mir keine infos wenn ich versuche das share zu mounten, auch sehr komisch.
Im client /var/log/messages kommt nur
Sep 9 13:23:01 SD-MS-01 rpc.idmapd[14903]: New client: 94
Sep 9 13:23:01 SD-MS-01 rpc.idmapd[14903]: New client: 95
Sep 9 13:23:01 SD-MS-01 rpc.idmapd[14903]: Opened /var/lib/nfs/rpc_pipefs/nfs/clnt94/idmap
Sep 9 13:23:01 SD-MS-01 rpc.idmapd[14903]: Stale client: 94
Sep 9 13:23:01 SD-MS-01 rpc.idmapd[14903]: -> closed /var/lib/nfs/rpc_pipefs/nfs/clnt94/idmap
Sep 9 13:23:01 SD-MS-01 rpc.idmapd[14903]: Stale client: 95
Sep 9 13:23:01 SD-MS-01 rpc.idmapd[14903]: -> closed /var/lib/nfs/rpc_pipefs/nfs/clnt95/idmap
so long...
mulix