Skip to contentSkip to conversation

getfh failed: Operation not permitted

DISCUSSION Jose Santiago 1 participant 2 messages Aug 12, 2002 – Aug 13, 2002 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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

#2 lore raw
In reply to a message not in the archive

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/nfs after 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/nfs

hope 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