[Linux-HA] heartbeat with "exportfs -u"
Kian_Chang_Low at veritasdgc.com
Kian_Chang_Low at veritasdgc.com
Mon Mar 7 02:27:04 MST 2005
Hi,
I'm trying to write a script (NFSserver) for exporting (or unexporting) a
filesystem. With this script in place in the resource.d directory, my
entry in the haresources will be something like this ...
nodeP IPaddr::192.168.1.100 LVM::vg000
Filesystem::/dev/vg000/lvol1::/data::ext3 NFSserver
With the nfsd running, the NFSserver script basically use "exportfs ..."
to export the filesystem and "exportfs -u ..." to unexport the filesystem.
However, I notice that "exportfs -u" will always cause the client to
encounter a "Stale NFS file handle" problem, but without "exportfs -u", I
can not umount the filesystem!
I'm not too concern with NFS locking at the moment, or the various files
in the /var/lib/nfs directories. These will come later. And if the script
works, it will be a step closer to a rudimentary Active/Active NFS server.
I was wonder whether has anyone attempted such a script or any suggestion
to get around this problem?
Thanks,
Kian Chang.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.community.tummy.com/pipermail/linux-ha/attachments/20050307/c5ffc02b/attachment.htm
More information about the Linux-HA
mailing list