Serviceguard NFS Toolkit for Linux Version A.01.02 Release Notes, April 2004

Serviceguard NFS for Linux Version A.01.02 Release Notes
Patches and Fixes in this Version
Chapter 116
sync_rmtab.c the file name was defined without the
path. This has been changed to include the absolute
path of the file.
Defect Number Problem and Resolution
(JAGaf09215) Problem: sync_rmtab sync and export do not match
mounted subdirectories. “sync_rmtab sync
/export/home” will only catch /export/home. It will not
include /export/home/fred, /export/home/bob, etc.
Resolution: The pattern matching code in the
sync_rmtab.c has been changed. The change allows the
function to recognize subdirectories.
Defect Number Problem and Resolution
(JAGaf15755) Problem: There is a typographical error in hanfs.sh
(HA NFS SG/LX toolkit). There is a call to
“synchronize export”, but it should really be
“synchronize_rmtab export”.
Resolution: The script hanfs.sh has been modified to
call the correct function (i.e., synchronize_rmtab).
Defect Number Problem and Resolution
(JAGaf17271) Problem: /var/lib/nfs/rmtab grows out of control with
the HA NFS toolkit, because of multiple entries. This
can exhaust system resources.
Resolution: Multiple entries (like below) in the hanfs.sh
were not properly handled in the sync function of
sync_rmtab.c. (/export/home2 is common in all the
entries in the following array).
XFS[0]=”-o rw,no_root_squash @rootgrp:/export/home2”
XFS[1]=”-o rw @rootgrp:/export/home2”
XFS[2]=”-o rw voodoo.kst.siemens.de:/export/home2”
XFS[3]=”-o rw @home12grp:/export/home2”
The fix is to add a break statement after the first
match, instead of looping to the end of the XFS array
(which caused the duplicate entries).