[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Linux-cluster] NFS Options



On Fri, Jul 28, 2006 at 02:24:41PM +0200, Frank Hellmann wrote:
> I couldn't find a reference how pass extra options into the NFS Client
> portion of the cluster.conf, like
> 
> <nfsclient name="MyClient"
> options="rw,all_squash,anonuid=500,anongid=100" target="*"/>

        [...]

> Jul 28 13:42:33 clusty2 clurgmgrd: [3906]: <err> Export Option
> anonuid=500 invalid
> Jul 28 13:42:33 clusty2 clurgmgrd: [3906]: <err> Export Option
> anongid=100 invalid
> 
> 
> Using either anonuid="500" or anonuid\=500 didn't work either.
> 
> What is the offical way of including these. Any ideas?

        I've had this issue as well, though I haven't yet tried the
        fix I'm proposing (so be warned).  I believe the root cause
        is that the nfsclient.sh script (mine is in /usr/share/cluster)
        is attempting to validation the export options, but the
        anonuid and anongid case match patterns are incorrect.  see
        patch below.

        Cheers,
        Bryan Cardillo
        Penn Bioinformatics Core
        University of Pennsylvania

 nfsclient.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

--- ./nfsclient.sh.orig	2006-03-16 00:36:16.000000000 -0500
+++ ./nfsclient.sh	2006-07-28 09:45:35.000000000 -0400
@@ -187,9 +187,9 @@
 			;;
 		no_all_squash)
 			;;
-		anonuid)
+		anonuid=*)
 			;;
-		anongid)
+		anongid=*)
 			;;
 		*)
 			ocf_log err "Export Option $o invalid"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]