[Linux-cluster] Problem with nfsclient.sh status checking

Lon Hohberger lhh at redhat.com
Fri Apr 29 14:37:40 UTC 2005


On Tue, 2005-04-26 at 13:22 +0200, Birger Wathne wrote:
> The very quick and dirty fix follows. Edit status check in 
> /usr/share/cluster/nfsclient.sh to look like this
>         exportfs -v | tr -d "\n" | sed -e 's/([^)]*)/\n/g'| grep -q 
> "^${OCF_RESKEY_path}[\t ]*.*${OCF_RESKEY_target}"
> 
> the -v option to exportfs is used to give an easy way to put line breaks 
> in just where they are supposed to be.

Hi Birger,

I filed:

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=156369

...for tracking.  I've committed the patch to CVS into the RHEL4 branch
& mainline.  Sorry for the late response.

-- Lon




More information about the Linux-cluster mailing list