[Gluster-users] test for mount options for native client
Justin Dossey
jbd at podomatic.com
Mon Jan 13 17:20:30 UTC 2014
That's the winner.
ps aux |grep glusterfs shows the options being used.
On Sun, Jan 12, 2014 at 7:45 PM, Vijay Bellur <vbellur at redhat.com> wrote:
> On 01/11/2014 02:43 AM, Justin Dossey wrote:
>
>> I'm in the process of configuring all my 32-bit FUSE clients to use
>> enable-ino32 on mount and noticed that the mount command (with no
>> options) does not report whether that flag is being used.
>>
>> I want to test programatically whether the enable-ino32 flag is being
>> used on the current mount so I can automate the remount. Ideally I
>> would be able to have puppet unmount and remount the filesystem if the
>> options in fstab don't match the options on the mounted filesystem.
>>
>> Any ideas?
>>
>>
> Most mount options do get passed on as arguments to the corresponding
> glusterfs client process which is responsible for the mount. You can
> possibly check the command line of the client process to determine if mount
> options of interest are being used.
>
> -Vijay
>
>
--
Justin Dossey
CTO, PodOmatic
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20140113/724ee92a/attachment.html>
More information about the Gluster-users
mailing list