Re: test for mount options for native client

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

 



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@xxxxxxxxxx> 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

_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-users

[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux