On Wednesday 18 April 2007 16:38:46 Alan Robertson wrote:
> > Alan is right, one needs an identical image. (Well, if you KNOW what you
> > are doing, it doesn't need to be entirely identical. At least the fsid,
> > root inode number (of your exported dir) and inode generation number MUST
> > be the same.)
>
> No, more than that.
>
> EVERY SINGLE INODE has to have the same number.
>
> Sometimes, you get away with less, but unless this is true, someday
> you'll get burned.

Well, this gets a bit out of topic and should be better transferred to the nfs 
mailing list ;)

The nfs server will return ESTALE if the inode/inode-generation number doesn't 
match. Now the nfs client is supposed to through away its nfs-fh and to 
request a new fh from the server - it has to assume the old file/directory 
has been deleted. Applications having opened this file will get an error, of 
course. In most cases this is a problem for you, but there are also 
situations when this is acceptable. (Thatsway I wrote you have to know what 
you are doing).

Requesting new nfs-filehandles can be done recursively down to the root-fh, 
which is IMHO the only filehandle that has to stay as it is.


-- 
Bernd Schubert
Q-Leap Networks GmbH
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to