Hi,

thanks for response.

Vladimir V. Saveliev wrote:

> Could you please try to narrow the problem down such that we were able to
> replicate it?
Ok, the problem persists also without raid and lvm. I realized that I
need three computers -- the server and two clients -- to show this bug.

First I created two exported directories. One for each client. Then I
created three files which are hard linked (details see below). Depending
of the order of creating the hard links I can either access the file on
client1 or client2 -- but never on both.

I hope this helps finding the problem.
Thank you for your efforts!

Gunnar


PS: this experiment was done with the 2.4.10 kernel (as mentioned
before).

Details:

on hebb (server):
-----------------

cd /export/hebb
mkdir test1 test2
cp /bin/tcsh .
cd test1
ln ../tcsh tcsh
cd ../test2
ln ../tcsh tcsh

include to /etc/exports

/export/hebb/test1      alon(no_root_squash,rw)
/export/hebb/test2      rao(no_root_squash,rw)


on rao:
-------

rao:~ # mount hebb:/export/hebb/test2 /mnt
rao:~ # cd /mnt
rao:/mnt # ./tcsh
rao /mnt# exit
rao:/mnt #

on alon:
--------

alon:~ # mount hebb:/export/hebb/test1 /mnt
alon:~ # cd /mnt
alon:/mnt # ./tcsh
bash: ./tcsh: Stale NFS file handle



again on hebb:
--------------

cd /export/hebb
cp /bin/tcsh .
rm test1/tcsh test2/tcsh
cd test2
ln ../tcsh tcsh
cd ../test1
ln ../tcsh tcsh

again on alon:
--------------

alon:/mnt # ./tcsh
alon /mnt# exit

again on rao:
-------------

rao:/mnt # ./tcsh
bash: ./tcsh: Stale NFS file handle
rao:/mnt # 

/var/log/messages on hebb
-------------------------

Oct 27 02:06:24 hebb rpc.mountd: authenticated mount request from
150.203.127.208:958 for /export/hebb/test2 (/export/hebb/test2
Oct 27 02:06:41 hebb rpc.mountd: authenticated mount request from
150.203.127.243:985 for /export/hebb/test1 (/export/hebb/test1
Oct 27 02:06:47 hebb kernel: nfsd Security: test2/tcsh bad export.
Oct 27 02:07:15 hebb kernel: nfsd Security: test1/tcsh bad export.


-- 
-----------------------------------------------------------------
Gunnar R"atsch                     http://mlg.anu.edu.au/~raetsch 
Australian National University   mailto:[EMAIL PROTECTED]

Reply via email to