Re: [Gluster-users] Mount failed

2015-01-27 Thread Bartłomiej Syryjczyk
W dniu 2015-01-28 o 00:45, Franco Broi pisze: > Glad that you found the problem. I wouldn't have thought that glusterfs > should return before the filesystem is properly mounted, you should file > a bug. > > https://bugzilla.redhat.com/enter_bug.cgi?product=GlusterFS Ugh! This is known problem... h

Re: [Gluster-users] Mount failed

2015-01-27 Thread Franco Broi
On Tue, 2015-01-27 at 14:09 +0100, Bartłomiej Syryjczyk wrote: > OK, I removed part "2>/dev/null", and see: > stat: cannot stat ‘/mnt/gluster’: Resource temporarily unavailable > > So I decided to add sleep just before line number 298 (this one with > stat). And it works! Is it normal? > Glad t

Re: [Gluster-users] Mount failed

2015-01-27 Thread Bartłomiej Syryjczyk
W dniu 2015-01-27 o 09:47, Bartłomiej Syryjczyk pisze: > W dniu 2015-01-27 o 09:20, Franco Broi pisze: >> Well I'm stumped, just seems like the mount.glusterfs script isn't >> working. I'm still running 3.5.1 and the getinode bit of my script looks >> like this: >> >> ... >> Linux) >> g

Re: [Gluster-users] Mount failed

2015-01-27 Thread Bartłomiej Syryjczyk
W dniu 2015-01-27 o 09:53, Franco Broi pisze: > What do you get is you do this? > > bash-4.1# stat -c %i /mnt/gluster > 1 > -bash-4.1# echo $? > 0 --- [root@apache2 ~]# /usr/sbin/glusterfs --volfile-server=apache1 --volfile-id=/testvol /mnt/gluster [root@apache2 ~]# stat -c %i /mnt/gluster 1 [roo

Re: [Gluster-users] Mount failed

2015-01-27 Thread Bartłomiej Syryjczyk
W dniu 2015-01-27 o 09:43, Franco Broi pisze: > Could this be a case of Oracle Linux being evil? Yes, I'm using OEL. Now 7.0, earlier 6.6 -- Z poważaniem, *Bartłomiej Syryjczyk* ___ Gluster-users mailing list Gluster-users@gluster.org http://www.gluste

Re: [Gluster-users] Mount failed

2015-01-27 Thread Franco Broi
What do you get is you do this? bash-4.1# stat -c %i /mnt/gluster 1 -bash-4.1# echo $? 0 On Tue, 2015-01-27 at 09:47 +0100, Bartłomiej Syryjczyk wrote: > W dniu 2015-01-27 o 09:20, Franco Broi pisze: > > Well I'm stumped, just seems like the mount.glusterfs script isn't > > working. I'm still r

Re: [Gluster-users] Mount failed

2015-01-27 Thread Bartłomiej Syryjczyk
W dniu 2015-01-27 o 09:20, Franco Broi pisze: > Well I'm stumped, just seems like the mount.glusterfs script isn't > working. I'm still running 3.5.1 and the getinode bit of my script looks > like this: > > ... > Linux) > getinode="stat -c %i $i" > > ... > inode=$( ${getinode} $moun

Re: [Gluster-users] Mount failed

2015-01-27 Thread Franco Broi
Could this be a case of Oracle Linux being evil? On Tue, 2015-01-27 at 16:20 +0800, Franco Broi wrote: > Well I'm stumped, just seems like the mount.glusterfs script isn't > working. I'm still running 3.5.1 and the getinode bit of my script looks > like this: > > ... > Linux) > getin

Re: [Gluster-users] Mount failed

2015-01-27 Thread Franco Broi
Well I'm stumped, just seems like the mount.glusterfs script isn't working. I'm still running 3.5.1 and the getinode bit of my script looks like this: ... Linux) getinode="stat -c %i $i" ... inode=$( ${getinode} $mount_point 2>/dev/null); # this is required if the stat retur

Re: [Gluster-users] Mount failed

2015-01-27 Thread Bartłomiej Syryjczyk
W dniu 2015-01-27 o 09:08, Franco Broi pisze: > So what is the inode of your mounted gluster filesystem? And does > running 'mount' show it as being fuse.glusterfs? --- [root@apache2 ~]# stat -c %i /mnt/gluster 101729533 [root@apache2 ~]# /usr/sbin/glusterfs --volfile-server=apache1 --volfile-id=/

Re: [Gluster-users] Mount failed

2015-01-27 Thread Franco Broi
So what is the inode of your mounted gluster filesystem? And does running 'mount' show it as being fuse.glusterfs? On Tue, 2015-01-27 at 09:05 +0100, Bartłomiej Syryjczyk wrote: > W dniu 2015-01-27 o 09:00, Franco Broi pisze: > > Your getinode isn't working... > > > > + '[' 0 -ne 0 ']' > > ++ sta

Re: [Gluster-users] Mount failed

2015-01-27 Thread Bartłomiej Syryjczyk
W dniu 2015-01-27 o 09:00, Franco Broi pisze: > Your getinode isn't working... > > + '[' 0 -ne 0 ']' > ++ stat -c %i /mnt/gluster > + inode= > + '[' 1 -ne 0 ']' > > How old is your mount.glusterfs script? It's fresh (I think so). It's from official repo: --- [root@apache2 ~]# which mount.glusterfs

Re: [Gluster-users] Mount failed

2015-01-27 Thread Franco Broi
Your getinode isn't working... + '[' 0 -ne 0 ']' ++ stat -c %i /mnt/gluster + inode= + '[' 1 -ne 0 ']' How old is your mount.glusterfs script? On Tue, 2015-01-27 at 08:52 +0100, Bartłomiej Syryjczyk wrote: > W dniu 2015-01-27 o 08:46, Franco Broi pisze: > > [franco@charlie4 ~]$ stat -c %i /data

Re: [Gluster-users] Mount failed

2015-01-26 Thread Bartłomiej Syryjczyk
W dniu 2015-01-27 o 08:46, Franco Broi pisze: > [franco@charlie4 ~]$ stat -c %i /data > 1 > [franco@charlie4 ~]$ stat -c %i /data2 > 1 > > Can you check that running the mount manually actually did work, ie can > you list the files after mounting manually?? > > /usr/sbin/glusterfs --volfile-server=

Re: [Gluster-users] Mount failed

2015-01-26 Thread Franco Broi
[franco@charlie4 ~]$ stat -c %i /data 1 [franco@charlie4 ~]$ stat -c %i /data2 1 Can you check that running the mount manually actually did work, ie can you list the files after mounting manually?? /usr/sbin/glusterfs --volfile-server=apache1 --volfile-id=/testvol /mnt/gluster On Tue, 2015-01-27

Re: [Gluster-users] Mount failed

2015-01-26 Thread Bartłomiej Syryjczyk
W dniu 2015-01-27 o 08:36, Franco Broi pisze: > Seems to mount and then umount it because the inode isn't 1, weird! > > Why it must be 1? Are you sure it's inode, not exit code? Can you check your system? --- [root@apache2 ~]# stat -c %i /brick/ 68990719 [root@apache2 ~]# stat -c %i /mnt/gluster 10

Re: [Gluster-users] Mount failed

2015-01-26 Thread Franco Broi
Seems to mount and then umount it because the inode isn't 1, weird! On Tue, 2015-01-27 at 08:29 +0100, Bartłomiej Syryjczyk wrote: > W dniu 2015-01-27 o 07:45, Franco Broi pisze: > > Must be something wrong with your mount.glusterfs script, you could try > > running it with sh -x to see what comm

Re: [Gluster-users] Mount failed

2015-01-26 Thread Bartłomiej Syryjczyk
W dniu 2015-01-27 o 07:45, Franco Broi pisze: > Must be something wrong with your mount.glusterfs script, you could try > running it with sh -x to see what command it tries to run. This is output: --- [root@apache2 ~]# sh -x mount.glusterfs apache1:/testvol /mnt/gluster + _init apache1:/testvol /mn

Re: [Gluster-users] Mount failed

2015-01-26 Thread Franco Broi
Must be something wrong with your mount.glusterfs script, you could try running it with sh -x to see what command it tries to run. On Tue, 2015-01-27 at 07:28 +0100, Bartłomiej Syryjczyk wrote: > W dniu 2015-01-27 o 02:54, Pranith Kumar Karampuri pisze: > > > > On 01/26/2015 02:27 PM, Bartłomiej

Re: [Gluster-users] Mount failed

2015-01-26 Thread Bartłomiej Syryjczyk
W dniu 2015-01-27 o 02:54, Pranith Kumar Karampuri pisze: > > On 01/26/2015 02:27 PM, Bartłomiej Syryjczyk wrote: >> W dniu 2015-01-22 o 17:37, A Ghoshal pisze: >>> Maybe start the mount daemon from shell, like this? >>> >>> /usr/sbin/glusterfs --debug --volfile-server=glnode1 >>> --volfile-id=/tes

Re: [Gluster-users] Mount failed

2015-01-26 Thread Bartłomiej Syryjczyk
W dniu 2015-01-26 o 17:08, A Ghoshal pisze: > > The logs you show me are reminiscent of an issue I once faced and all it > turned out to be was that service glusterd was not running. Did you check > that out? > > Sorry if I'm stating the obvious, though. ;) It's running --- [root@apache2 ~]# ps

Re: [Gluster-users] Mount failed

2015-01-26 Thread Pranith Kumar Karampuri
On 01/26/2015 02:27 PM, Bartłomiej Syryjczyk wrote: W dniu 2015-01-22 o 17:37, A Ghoshal pisze: Maybe start the mount daemon from shell, like this? /usr/sbin/glusterfs --debug --volfile-server=glnode1 --volfile-id=/testvol /mnt/gluster You could get some useful debug data on your terminal. H

Re: [Gluster-users] Mount failed

2015-01-26 Thread A Ghoshal
= To: From: Bartłomiej Syryjczyk Date: 01/26/2015 02:28PM Cc: gluster-users@gluster.org Subject: Re: [Gluster-users] Mount failed === W dniu 2015-01-22 o 17:37, A Ghoshal pisze: > Maybe start the mount daemon from shell, like this? > > /usr/sbin/glusterfs --d

Re: [Gluster-users] Mount failed

2015-01-26 Thread Bartłomiej Syryjczyk
W dniu 2015-01-22 o 17:37, A Ghoshal pisze: > Maybe start the mount daemon from shell, like this? > > /usr/sbin/glusterfs --debug --volfile-server=glnode1 > --volfile-id=/testvol /mnt/gluster > > You could get some useful debug data on your terminal. > > However, it's more likely you have a configu

Re: [Gluster-users] Mount failed

2015-01-22 Thread A Ghoshal
f the following might also help: ls -la /var/lib/glusterd/vols/glnode1/ Thanks, Anirban From: Bartłomiej Syryjczyk To: gluster-users@gluster.org Date: 01/22/2015 09:52 PM Subject:[Gluster-users] Mount failed Sent by:gluster-users-boun...@gluster.org I've got problem

[Gluster-users] Mount failed

2015-01-22 Thread Bartłomiej Syryjczyk
I've got problem with mount. Anyone help? # mount -t glusterfs apache1:/testvol /mnt/gluster *Mount failed. Please check the log file for more details.* Log: http://pastebin.com/GzkbEGCw Oracle Linux Server release 7.0 Kernel 3.8.13-55.1.2.el7uek.x86_64 glusterfs packages from official yum repo

Re: [Gluster-users] Mount failed

2015-01-22 Thread Bartłomiej Syryjczyk
W dniu 2015-01-21 o 18:35, Bartłomiej Syryjczyk pisze: > W dniu 2015-01-21 o 15:22, Lindsay Mathieson pisze: >> On 21 January 2015 at 23:46, Bartłomiej Syryjczyk >> mailto:bsyryjc...@kamsoft.pl>> wrote: >> >> # mount -t glusterfs apache1:/testvol /mnt/gluster >> *Mount failed. Please check

Re: [Gluster-users] Mount failed

2015-01-21 Thread Bartłomiej Syryjczyk
W dniu 2015-01-21 o 15:22, Lindsay Mathieson pisze: > > On 21 January 2015 at 23:46, Bartłomiej Syryjczyk > mailto:bsyryjc...@kamsoft.pl>> wrote: > > # mount -t glusterfs apache1:/testvol /mnt/gluster > *Mount failed. Please check the log file for more details.* > > Log: http://pastebin

Re: [Gluster-users] Mount failed

2015-01-21 Thread Lindsay Mathieson
On 21 January 2015 at 23:46, Bartłomiej Syryjczyk wrote: > # mount -t glusterfs apache1:/testvol /mnt/gluster > *Mount failed. Please check the log file for more details.* > > Log: http://pastebin.com/GzkbEGCw > > Oracle Linux Server release 7.0 > Kernel 3.8.13-55.1.2.el7uek.x86_64 > > glusterfs

[Gluster-users] Mount failed

2015-01-21 Thread Bartłomiej Syryjczyk
I've got problem with mount. Anyone help? # mount -t glusterfs apache1:/testvol /mnt/gluster *Mount failed. Please check the log file for more details.* Log: http://pastebin.com/GzkbEGCw Oracle Linux Server release 7.0 Kernel 3.8.13-55.1.2.el7uek.x86_64 glusterfs packages from official yum repo

Re: [Gluster-users] mount failed

2010-02-03 Thread Lakshmipathi Ganapathi
3, 2010 1:30:57 PM GMT +05:30 Chennai, Kolkata, Mumbai, New Delhi Subject: [Gluster-users] mount failed Hi, I tried gluster .3.0 with centos5.2 x86_64. I following the installation guide: * http://www.gluster.com/community/documentation/index.php/GlusterFS_User_Guide * * * *After configuring a

[Gluster-users] mount failed

2010-02-03 Thread Jass Zhao
Hi, I tried gluster .3.0 with centos5.2 x86_64. I following the installation guide: * http://www.gluster.com/community/documentation/index.php/GlusterFS_User_Guide * * * *After configuring a distribute volume, the mount failed:** * */usr/bin/glusterfs-volgen --name testvol comp-1:/data/testvol com