Nicolas Ecarnot
2015-Jan-26 22:17 UTC
[Gluster-users] Mounting issue, glusterfs vs mount.glusterfs, locale issue. I RTFM'd, but still a glitch
Hello, Many people wrote here that the locale / numeric conversion problem when mounting would be solved by the 3.6.2 version. It is not. [root at client etc]# rpm -qa|grep gluster glusterfs-libs-3.6.2-1.el7.x86_64 glusterfs-3.6.2-1.el7.x86_64 glusterfs-api-3.6.2-1.el7.x86_64 glusterfs-fuse-3.6.2-1.el7.x86_64 [root at server1_out_of_3 glusterfs]# rpm -qa|grep gluster glusterfs-libs-3.6.2-1.el7.x86_64 glusterfs-3.6.2-1.el7.x86_64 glusterfs-geo-replication-3.6.2-1.el7.x86_64 glusterfs-api-3.6.2-1.el7.x86_64 glusterfs-fuse-3.6.2-1.el7.x86_64 glusterfs-server-3.6.2-1.el7.x86_64 glusterfs-cli-3.6.2-1.el7.x86_64 The tests below with the exact commands are still resulting in the same outcome... -- Nicolas Ecarnot Le 26/12/2014 12:06, Nicolas Ecarnot a ?crit :> Hi, > > I'm discovering glusterfs and try to see if it could fit our needs. > > I installed two nodes running gluster 3.6.1, and a client using 3.6.0. > > I'm aware of the bug about the locale, preventing mounting a volume : > https://bugzilla.redhat.com/show_bug.cgi?id=1157107 > https://bugzilla.redhat.com/show_bug.cgi?id=1117951 > > and I thought I knew the workaround : > https://www.mail-archive.com/gluster-users at gluster.org/msg18183.html > > but what is puzzling me is what I observe : > > env -i LC_NUMERIC="C" /usr/sbin/glusterfs --volfile-id=glvol00 > --volfile-server=serv-gl-adm1 /mnt > > -> mounting OK > > env -i LC_NUMERIC="C" mount -t glusterfs serv-gl-adm1:/glvol00 /mnt > Mount failed. Please check the log file for more details. > > -> mounting FAILING > > According to > https://www.mail-archive.com/gluster-users at gluster.org/msg18193.html > both commands should work... > > Precise comparisons of the mnt.log file does not show anything obvious, > both ways are running strictly the same, but last one is failing with no > reason. >-- Nicolas Ecarnot
Jan-Hendrik Zab
2015-Jan-27 13:51 UTC
[Gluster-users] Mounting issue, glusterfs vs mount.glusterfs, locale issue. I RTFM'd, but still a glitch
Hey, is the first command working without setting LC_NUMERIC? Can you check if your problem might be related to the reported issue in the "[Gluster-users] Mount failed" mailing list thread? -jhz On 26/01/15 23:17 +0100, Nicolas Ecarnot wrote:> Hello, > > Many people wrote here that the locale / numeric conversion problem when > mounting would be solved by the 3.6.2 version. > It is not. > > [root at client etc]# rpm -qa|grep gluster > glusterfs-libs-3.6.2-1.el7.x86_64 > glusterfs-3.6.2-1.el7.x86_64 > glusterfs-api-3.6.2-1.el7.x86_64 > glusterfs-fuse-3.6.2-1.el7.x86_64 > > [root at server1_out_of_3 glusterfs]# rpm -qa|grep gluster > glusterfs-libs-3.6.2-1.el7.x86_64 > glusterfs-3.6.2-1.el7.x86_64 > glusterfs-geo-replication-3.6.2-1.el7.x86_64 > glusterfs-api-3.6.2-1.el7.x86_64 > glusterfs-fuse-3.6.2-1.el7.x86_64 > glusterfs-server-3.6.2-1.el7.x86_64 > glusterfs-cli-3.6.2-1.el7.x86_64 > > The tests below with the exact commands are still resulting in the same > outcome...-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 490 bytes Desc: not available URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20150127/adfc8377/attachment.sig>
Nicolas Ecarnot
2015-Feb-02 08:16 UTC
[Gluster-users] Mounting issue, glusterfs vs mount.glusterfs, locale issue. I RTFM'd, but still a glitch
Hello, I eventually took the time to check this out again, and read the thread noticed below. Le 27/01/2015 14:51, Jan-Hendrik Zab a ?crit :> Hey, > is the first command working without setting LC_NUMERIC?Yes, I even tried to re-set my locale to fr_FR.utf8, and to run the command without setting LC_NUMERIC, and it is still working : /usr/sbin/glusterfs --volfile-id=glvol00 --volfile-server=serv-gl-adm1 /mnt> Can you check if your problem might be related to the reported issue in > the "[Gluster-users] Mount failed" mailing list thread?Reading this thread, I saw I was in the exact same situation : Oracle Linux 7, trying to mount with the basic mount.glusterfs script. I saw the BZ. I manually added a one second sleep before the stat command, and it is now working whatever my tests : any command, automated in fstab after a reboot... I don't get why Oracle Linux is acting differently? -- Nicolas Ecarnot> > -jhz > > On 26/01/15 23:17 +0100, Nicolas Ecarnot wrote: >> Hello, >> >> Many people wrote here that the locale / numeric conversion problem when >> mounting would be solved by the 3.6.2 version. >> It is not. >> >> [root at client etc]# rpm -qa|grep gluster >> glusterfs-libs-3.6.2-1.el7.x86_64 >> glusterfs-3.6.2-1.el7.x86_64 >> glusterfs-api-3.6.2-1.el7.x86_64 >> glusterfs-fuse-3.6.2-1.el7.x86_64 >> >> [root at server1_out_of_3 glusterfs]# rpm -qa|grep gluster >> glusterfs-libs-3.6.2-1.el7.x86_64 >> glusterfs-3.6.2-1.el7.x86_64 >> glusterfs-geo-replication-3.6.2-1.el7.x86_64 >> glusterfs-api-3.6.2-1.el7.x86_64 >> glusterfs-fuse-3.6.2-1.el7.x86_64 >> glusterfs-server-3.6.2-1.el7.x86_64 >> glusterfs-cli-3.6.2-1.el7.x86_64 >> >> The tests below with the exact commands are still resulting in the same >> outcome...-- Nicolas Ecarnot