Gluster community, I've recently downloaded and installed gluster3.4.0 GA and so far my testing on rhel6 servers have been great. Something I found that the read-only open on rhel5 (5.9) is not being honored. I can write/delete files of a gluster volume via the client, while on rhel6 it is respected and read-only flag is enforced. Has anyone found a way to get read-only to work through FUSE on rhel5 without going the NFS path? Khoi Mai From: gluster-users-request at gluster.org To: gluster-users at gluster.org Date: 08/07/2013 08:29 AM Subject: Gluster-users Digest, Vol 64, Issue 22 Sent by: gluster-users-bounces at gluster.org Send Gluster-users mailing list submissions to gluster-users at gluster.org To subscribe or unsubscribe via the World Wide Web, visit http://supercolony.gluster.org/mailman/listinfo/gluster-users or, via email, send a message with subject or body 'help' to gluster-users-request at gluster.org You can reach the person managing the list at gluster-users-owner at gluster.org When replying, please edit your Subject line so it is more specific than "Re: Contents of Gluster-users digest..." Today's Topics: 1. Re: Installation Problems (Joe Julian) 2. Re: Installation Problems (YUUNI, OSAY OSMAN) ---------------------------------------------------------------------- Message: 1 Date: Wed, 07 Aug 2013 06:25:38 -0700 From: Joe Julian <joe at julianfamily.org> To: RAGHAVENDRA TALUR <raghavendra.talur at gmail.com>, "YUUNI, OSAY OSMAN" <O.YUUNI at afdb.org> Cc: "gluster-users at gluster.org" <gluster-users at gluster.org> Subject: Re: Installation Problems Message-ID: <5620d654-89a8-4d9d-91ae-997a33cdc498 at email.android.com> Content-Type: text/plain; charset="utf-8" And you are aware that we have a yum repo already, right? RAGHAVENDRA TALUR <raghavendra.talur at gmail.com> wrote: >Hi, > >I faced this issue once. >Doing a "make clean" followed by ./autogen.sh fixed it for me. >Can you try that once? > >Raghavendra Talur > > > >On Wed, Aug 7, 2013 at 1:47 PM, YUUNI, OSAY OSMAN <O.YUUNI at afdb.org> >wrote: > >> I have both libraries installed but the issue still remains. >> >> [root at sarcp8cpe glusterfs]# yum -y install libxml2 libxml2-devel >> Loaded plugins: fastestmirror >> Loading mirror speeds from cached hostfile >> * epel: mirrors.coreix.net >> Setting up Install Process >> Package libxml2-2.7.6-12.el6_4.1.x86_64 already installed and latest >> version >> Resolving Dependencies >> --> Running transaction check >> ---> Package libxml2-devel.x86_64 0:2.7.6-12.el6_4.1 will be >installed >> --> Finished Dependency Resolution >> >> Dependencies Resolved >> >> >> >===================================================================================================================================================================================================== >> Package Arch >> Version >> Repository Size >> >> >===================================================================================================================================================================================================== >> Installing: >> libxml2-devel x86_64 >> 2.7.6-12.el6_4.1 >> updates 1.1 M >> >> Transaction Summary >> >> >===================================================================================================================================================================================================== >> Install 1 Package(s) >> >> Total download size: 1.1 M >> Installed size: 8.5 M >> Downloading Packages: >> libxml2-devel-2.7.6-12.el6_4.1.x86_64.rpm >> >> | 1.1 MB 00:02 >> Running rpm_check_debug >> Running Transaction Test >> Transaction Test Succeeded >> Running Transaction >> Installing : libxml2-devel-2.7.6-12.el6_4.1.x86_64 >> >> 1/1 >> Verifying : libxml2-devel-2.7.6-12.el6_4.1.x86_64 >> >> 1/1 >> >> Installed: >> libxml2-devel.x86_64 0:2.7.6-12.el6_4.1 >> >> Complete! >> [root at sarcp8cpe glusterfs]# ./configure --enable-fusermount >> checking for a BSD-compatible install... /usr/bin/install -c >> checking whether build environment is sane... yes >> checking for a thread-safe mkdir -p... /bin/mkdir -p >> checking for gawk... gawk >> checking whether make sets $(MAKE)... yes >> checking build system type... x86_64-unknown-linux-gnu >> checking host system type... x86_64-unknown-linux-gnu >> checking for gcc... gcc >> checking for C compiler default output file name... a.out >> checking whether the C compiler works... yes >> checking whether we are cross compiling... no >> checking for suffix of executables... >> checking for suffix of object files... o >> checking whether we are using the GNU C compiler... yes >> checking whether gcc accepts -g... yes >> checking for gcc option to accept ISO C89... none needed >> checking for style of include used by make... GNU >> checking dependency style of gcc... gcc3 >> checking for a sed that does not truncate output... /bin/sed >> checking for grep that handles long lines and -e... /bin/grep >> checking for egrep... /bin/grep -E >> checking for fgrep... /bin/grep -F >> checking for ld used by gcc... /usr/bin/ld >> checking if the linker (/usr/bin/ld) is GNU ld... yes >> checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B >> checking the name lister (/usr/bin/nm -B) interface... BSD nm >> checking whether ln -s works... yes >> checking the maximum length of command line arguments... 1966080 >> checking whether the shell understands some XSI constructs... yes >> checking whether the shell understands "+="... yes >> checking for /usr/bin/ld option to reload object files... -r >> checking for objdump... objdump >> checking how to recognize dependent libraries... pass_all >> checking for ar... ar >> checking for strip... strip >> checking for ranlib... ranlib >> checking command to parse /usr/bin/nm -B output from gcc object... ok >> checking how to run the C preprocessor... gcc -E >> checking for ANSI C header files... yes >> checking for sys/types.h... yes >> checking for sys/stat.h... yes >> checking for stdlib.h... yes >> checking for string.h... yes >> checking for memory.h... yes >> checking for strings.h... yes >> checking for inttypes.h... yes >> checking for stdint.h... yes >> checking for unistd.h... yes >> checking for dlfcn.h... yes >> checking for objdir... .libs >> checking if gcc supports -fno-rtti -fno-exceptions... no >> checking for gcc option to produce PIC... -fPIC -DPIC >> checking if gcc PIC flag -fPIC -DPIC works... yes >> checking if gcc static flag -static works... no >> checking if gcc supports -c -o file.o... yes >> checking if gcc supports -c -o file.o... (cached) yes >> checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports >> shared libraries... yes >> checking whether -lc should be explicitly linked in... no >> checking dynamic linker characteristics... GNU/Linux ld.so >> checking how to hardcode library paths into programs... immediate >> checking whether stripping libraries is possible... yes >> checking if libtool supports shared libraries... yes >> checking whether to build shared libraries... yes >> checking whether to build static libraries... no >> checking for flex... flex >> checking lex output file root... lex.yy >> checking lex library... -lfl >> checking whether yytext is a pointer... yes >> checking size of short... 2 >> checking size of int... 4 >> checking size of long... 8 >> checking size of long long... 8 >> checking for bison... bison -y >> checking for ld... /usr/bin/ld -m elf_x86_64 >> checking for MD5 in -lcrypto... yes >> checking for pthread_mutex_init in -lpthread... yes >> checking for dlopen... yes >> checking sys/xattr.h usability... yes >> checking sys/xattr.h presence... yes >> checking for sys/xattr.h... yes >> checking sys/extattr.h usability... no >> checking sys/extattr.h presence... no >> checking for sys/extattr.h... no >> checking openssl/md5.h usability... yes >> checking openssl/md5.h presence... yes >> checking for openssl/md5.h... yes >> checking linux/falloc.h usability... yes >> checking linux/falloc.h presence... yes >> checking for linux/falloc.h... yes >> checking for pthread_spin_init... yes >> checking for strnlen... yes >> checking for setfsuid... yes >> checking for setfsgid... yes >> checking for lvm_init,lvm_lv_from_name in -llvm2app... no >> checking sys/epoll.h usability... yes >> checking sys/epoll.h presence... yes >> checking for sys/epoll.h... yes >> checking for ibv_get_device_list in -libverbs... no >> checking for rdma_create_id in -lrdmacm... no >> checking for a Python interpreter with version >= 2.4... python >> checking for python... /usr/bin/python >> checking for python version... 2.6 >> checking for python platform... linux2 >> checking for python script directory... >> ${prefix}/lib/python2.6/site-packages >> checking for python extension module directory... >> ${exec_prefix}/lib64/python2.6/site-packages >> checking if python is python 2.x... 2.6 >> checking if python has ctypes support... yes >> checking whether to include systemtap tracing support... def >> checking for dtrace... no >> checking sys/sdt.h usability... no >> checking sys/sdt.h presence... no >> checking for sys/sdt.h... no >> ./configure: line 15498: syntax error near unexpected token `2.6.19' >> ./configure: line 15498: ` AM_PATH_XML2(2.6.19)' >> >> -----Original Message----- >> From: Vijay Bellur [mailto:vbellur at redhat.com] >> Sent: 07 August 2013 10:11 AM >> To: YUUNI, OSAY OSMAN >> Cc: gluster-users at gluster.org >> Subject: Re: Installation Problems >> >> On 08/07/2013 01:35 PM, YUUNI, OSAY OSMAN wrote: >> > Hi all, >> > >> > I'm trying to install GlusterFS and have run into an issue I don't >> > know how to resolve. When I run ./configure --enable-fusermount >it >> > goes through the lines of checking and then throws up the error >below. >> > >> > ./configure: line 15498: syntax error near unexpected token >`2.6.19' >> > >> > ./configure: line 15498: ` AM_PATH_XML2(2.6.19)' >> > >> > I'm not sure what the issue is. I saw a bug reported on RedHat >> > bugzilla on the same issue but haven't got a resolution. Can >anyone >> help? >> > >> >> You would need libxml2 and libxml2-devel packages to be installed. >This >> will prevent the above error in configure. >> >> -Vijay >> >> _______________________________________________ >> Gluster-users mailing list >> Gluster-users at gluster.org >> http://supercolony.gluster.org/mailman/listinfo/gluster-users >> > > > >-- >*Raghavendra Talur * > > >------------------------------------------------------------------------ > >_______________________________________________ >Gluster-users mailing list >Gluster-users at gluster.org >http://supercolony.gluster.org/mailman/listinfo/gluster-users -------------- next part -------------- An HTML attachment was scrubbed... URL: < http://supercolony.gluster.org/pipermail/gluster-users/attachments/20130807/38ac9848/attachment-0001.html > ------------------------------ Message: 2 Date: Wed, 7 Aug 2013 13:27:55 +0000 From: "YUUNI, OSAY OSMAN" <O.YUUNI at AFDB.ORG> To: Joe Julian <joe at julianfamily.org>, RAGHAVENDRA TALUR <raghavendra.talur at gmail.com> Cc: "gluster-users at gluster.org" <gluster-users at gluster.org> Subject: Re: Installation Problems Message-ID: <DF9162A2E419484C9D98E405589CFAE865E4690E at AFDBEXCH11.afdb.local> Content-Type: text/plain; charset="utf-8" Hi Joe and Raghavendra, I cleaned out the directory and re-cloned the git repository and now it?s working. I?d be interested in the yum repository though. Cheers, Osay From: Joe Julian [mailto:joe at julianfamily.org] Sent: 07 August 2013 03:26 PM To: RAGHAVENDRA TALUR; YUUNI, OSAY OSMAN Cc: gluster-users at gluster.org Subject: Re: Installation Problems And you are aware that we have a yum repo already, right? RAGHAVENDRA TALUR <raghavendra.talur at gmail.com< mailto:raghavendra.talur at gmail.com>> wrote: Hi, I faced this issue once. Doing a "make clean" followed by ./autogen.sh fixed it for me. Can you try that once? Raghavendra Talur On Wed, Aug 7, 2013 at 1:47 PM, YUUNI, OSAY OSMAN <O.YUUNI at afdb.org< mailto:O.YUUNI at afdb.org>> wrote: I have both libraries installed but the issue still remains. [root at sarcp8cpe glusterfs]# yum -y install libxml2 libxml2-devel Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * epel: mirrors.coreix.net<http://mirrors.coreix.net> Setting up Install Process Package libxml2-2.7.6-12.el6_4.1.x86_64 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package libxml2-devel.x86_64 0:2.7.6-12.el6_4.1 will be installed --> Finished Dependency Resolution Dependencies Resolved ===================================================================================================================================================================================================== Package Arch Version Repository Size ===================================================================================================================================================================================================== Installing: libxml2-devel x86_64 2.7.6-12.el6_4.1 updates 1.1 M Transaction Summary ===================================================================================================================================================================================================== Install 1 Package(s) Total download size: 1.1 M Installed size: 8.5 M Downloading Packages: libxml2-devel-2.7.6-12.el6_4.1.x86_64.rpm | 1.1 MB 00:02 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : libxml2-devel-2.7.6-12.el6_4.1.x86_64 1/1 Verifying : libxml2-devel-2.7.6-12.el6_4.1.x86_64 1/1 Installed: libxml2-devel.x86_64 0:2.7.6-12.el6_4.1 Complete! [root at sarcp8cpe glusterfs]# ./configure --enable-fusermount checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1966080 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking size of short... 2 checking size of int... 4 checking size of long... 8 checking size of long long... 8 checking for bison... bison -y checking for ld... /usr/bin/ld -m elf_x86_64 checking for MD5 in -lcrypto... yes checking for pthread_mutex_init in -lpthread... yes checking for dlopen... yes checking sys/xattr.h usability... yes checking sys/xattr.h presence... yes checking for sys/xattr.h... yes checking sys/extattr.h usability... no checking sys/extattr.h presence... no checking for sys/extattr.h... no checking openssl/md5.h usability... yes checking openssl/md5.h presence... yes checking for openssl/md5.h... yes checking linux/falloc.h usability... yes checking linux/falloc.h presence... yes checking for linux/falloc.h... yes checking for pthread_spin_init... yes checking for strnlen... yes checking for setfsuid... yes checking for setfsgid... yes checking for lvm_init,lvm_lv_from_name in -llvm2app... no checking sys/epoll.h usability... yes checking sys/epoll.h presence... yes checking for sys/epoll.h... yes checking for ibv_get_device_list in -libverbs... no checking for rdma_create_id in -lrdmacm... no checking for a Python interpreter with version >= 2.4... python checking for python... /usr/bin/python checking for python version... 2.6 checking for python platform... linux2 checking for python script directory... ${prefix}/lib/python2.6/site-packages checking for python extension module directory... ${exec_prefix}/lib64/python2.6/site-packages checking if python is python 2.x... 2.6 checking if python has ctypes support... yes checking whether to include systemtap tracing support... def checking for dtrace... no checking sys/sdt.h usability... no checking sys/sdt.h presence... no checking for sys/sdt.h... no ./configure: line 15498: syntax error near unexpected token `2.6.19' ./configure: line 15498: ` AM_PATH_XML2(2.6.19)' -----Original Message----- From: Vijay Bellur [mailto:vbellur at redhat.com<mailto:vbellur at redhat.com>] Sent: 07 August 2013 10:11 AM To: YUUNI, OSAY OSMAN Cc: gluster-users at gluster.org<mailto:gluster-users at gluster.org> Subject: Re: Installation Problems On 08/07/2013 01:35 PM, YUUNI, OSAY OSMAN wrote: > Hi all, > > I'm trying to install GlusterFS and have run into an issue I don't > know how to resolve. When I run ./configure --enable-fusermount it > goes through the lines of checking and then throws up the error below. > > ./configure: line 15498: syntax error near unexpected token `2.6.19' > > ./configure: line 15498: ` AM_PATH_XML2(2.6.19)' > > I'm not sure what the issue is. I saw a bug reported on RedHat > bugzilla on the same issue but haven't got a resolution. Can anyone help? > You would need libxml2 and libxml2-devel packages to be installed. This will prevent the above error in configure. -Vijay _______________________________________________ Gluster-users mailing list Gluster-users at gluster.org<mailto:Gluster-users at gluster.org> http://supercolony.gluster.org/mailman/listinfo/gluster-users -- Raghavendra Talur ________________________________ Gluster-users mailing list Gluster-users at gluster.org<mailto:Gluster-users at gluster.org> http://supercolony.gluster.org/mailman/listinfo/gluster-users -------------- next part -------------- An HTML attachment was scrubbed... URL: < http://supercolony.gluster.org/pipermail/gluster-users/attachments/20130807/0dbeac51/attachment.html > ------------------------------ _______________________________________________ Gluster-users mailing list Gluster-users at gluster.org http://supercolony.gluster.org/mailman/listinfo/gluster-users End of Gluster-users Digest, Vol 64, Issue 22 ********************************************* ** This email and any attachments may contain information that is confidential and/or privileged for the sole use of the intended recipient. Any use, review, disclosure, copying, distribution or reliance by others, and any forwarding of this email or its contents, without the express permission of the sender is strictly prohibited by law. If you are not the intended recipient, please contact the sender immediately, delete the e-mail and destroy all copies. ** -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20130812/14bd9ddc/attachment-0001.html>