Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with NFS

Status
Not open for further replies.

zaxxon

MIS
Dec 12, 2001
226
DE
Hello,

all 3 boxes are AIX 4.3.3 boxes.
Host A has a NFS share which is mounted by Host B. No problems occure so far.
Now this share on Host A becomes a NFS share itself, shared from Host C, because the local disks were getting full and having space shared via NFS from a 3rd box is the fastest way to get us more space.
Host B can't mount the shared NFS share via NFS anymore now. I get following error:

Code:
mount: 1831-008 giving up on:
srdbhv03:/mnt/srarhv01/test
vmount: A file, file system or message queue is no longer available.

showmount -e shows everything exported correct; the /etc/exports allows -root and -access to the host, that gets the error message when I try to mount from it.
I desperately put the hostname in the -root and -access of the exports of both sharing machines, to no new effect. I got the same error.

To make it a bit more clear and prevent misunderstandings:

Code:
#1:

+--------+  NFS Share  +--------+
| Host A |------------>| Host B |
+--------+   WORKS!    +--------+

#2:

+--------+  NFS Share  +--------+  NFS Share  +--------+
| Host C |------------>| Host A |------------>| Host B |    
+--------+   WORKS!    +--------+   ERROR!    +--------+

Or maybe is it possible that you can't export and mount a FS to/on a 3rd host, which is already a NFS mount from another host?

Thanks for help in advance.

laters
zaxxon
 
Just tried it with a softlink on the directory, didn't work. Same error message...

laters
zaxxon
 
waw, your problem is juicy :) it my first time to think of this

Well, I have always thought that the NFS can be done as one server and many clients. Never came into a case where i had to nest the NFSs.

Why don't you do it directly between Host C and Host B? Why do you still want to involve host A in?

Code:
+--------+  NFS Share  +--------+
| Host C |------------>| Host B |
+--------+ Should WORK!+--------+

Regards
Khalid
 
I can't do this because Host B stands for a lot of Windows PC, which got NFS Clients installed. I don't want to configure them all against the other machine.

laters
zaxxon
 
I think in your previous comment, you meant that Host A stands for alot of Windows PCs right? coz if it was B, you won't need to change any thing on the clients NFS as they all point to B while you will change the NFS on B to point C!

any way, i will try to implement your case today in my spare time and let you know my findings

Regards,
Khalid
 
No, it is Host B that stands for a lot of NFS-PC clients. Yes, I would not have to change anything, if it would work hehe. I would have to change all Clients, if I would make Host C the one sharing for A and B, which would prevent a chained export and mount of a NFS resource.

Anyway, as I still don't think that it will work maybe cause of problems of handling the file locks for the NFS server or something, I was lucky to just draw the needed disks out of Host C and put them into Host A ;)

Thanks for thinking about it ^^

laters
zaxxon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top