getfh failed: Operation not permitted
Subsystems (2)
Server Name: bfs1
Client Name: rtr01
I am having problems mounting bfs1:/data on NFS client rtr01 . The server log says:
Aug 12 14:15:27 bfs1 rpc.kmountd: getfh failed: Operation not permitted
when I attempt the mount.
The client can mount bfs1:/ bfs1:/data/backup and all of the other mount points and subdirectories under the mount points except for bfs1:/data and other subdirectories under it. Other NFS clients can mount bfs1:/data and all mount points just fine.
A pointer in the right direction would be much appreciated.
Both client and Server:
Kernel version 2.4.19pre1
nfs-utils version 0.3.3
mount version 2.11n
Server /etc/exports:
/ \ bfs1.chrysalisdev.com(no_root_squash,rw,insecure,nohide) \ inet1.chrysalisdev.com(no_root_squash,rw,insecure,nohide) \ wsa147.chrysalisdev.com(no_root_squash,rw,insecure,nohide) \ 127.0.0.0/255.0.0.0(no_root_squash,rw,insecure,nohide) \ 10.0.0.0/255.0.0.0(rw,insecure,nohide) /data \ bfs1.chrysalisdev.com(no_root_squash,rw,insecure,nohide) \ inet1.chrysalisdev.com(no_root_squash,rw,insecure,nohide) \ wsa147.chrysalisdev.com(no_root_squash,rw,insecure,nohide) \ 127.0.0.0/255.0.0.0(no_root_squash,rw,insecure,nohide) \ 10.0.0.0/255.0.0.0(rw,insecure,nohide) /data/backup \ 127.0.0.0/255.0.0.0(no_root_squash,rw,insecure,nohide) \ 10.0.0.0/255.0.0.0(no_root_squash,rw,insecure,nohide) \ 172.16.0.0/255.240.0.0(no_root_squash,rw,insecure,nohide) \ 192.168.0.0/255.255.0.0(no_root_squash,rw,insecure,nohide)
/cdrom \
*(ro,insecure,nohide)
/floppy *(rw,insecure,nohide)
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
A message that is not in the archive (sent off-list or not yet received): [email protected]
That Fixed the Problem. Thank You.
Quoted 9 lines · Tim Middelkoop
[SNIP]
Fought with this for a long time... I don't think nfs likes mixing dns and ip exports... I also zaped some stuff in
/var/lib/nfsafter taking down the server and fixing the mixed ip/name stuff... have not had a problem since.. (I think it is a case of having old stuff haning arround in/var/lib/nfshope this helps, tim...
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs