Hide Forgot
I like to mount a client with a specific log-level instead of changing the whole cluster when I want to debug a problem. For instance, I may want to: mount -o log-level=TRACE ewcs2:sharedvol1 /mnt/test Which works until the vol file for sharedvol1 is processed and log-level INFO is encountered. Please make the command-line arguments override the vol file settings. This should be true for all executables.
JoeJulian, Let me evaluate the possibilities of it.
Noticed that the '--xlator-options' command line arguments overwrites the volume file options. But its currently not the case for '--log-level'. Patch submitted at http://patches.gluster.com/patch/7393/
Hi Joe, We decided not to take this patch in, as if we allow this. after a period, we can not set the option back to anything else even if we want to without a remount (ie, restarting 'glusterfs' process). As of now, the behavior of retaining the command line argument as long as a explicit gluster cli volume set is issued seems fine for us. I will be closing it with 'Wont fix'. Please re-open if it is very necessary. -Amar
I'm not reopening as it's just an annoyance, not a need, but... If log-level is specified on the command line, I would expect the behavior you identified: cannot change the option back without a remount. In my particular case, that's the behavior I would desire. If I didn't want that behavior, I would mount without specifying an override.