[Gluster-users] test for mount options for native client

Vijay Bellur vbellur at redhat.com
Mon Jan 13 03:45:34 UTC 2014


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




More information about the Gluster-users mailing list