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-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 ']' ++ stat -c %i

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 returns

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

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} $mount_point

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)

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

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 that you

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

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

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) getinode=stat

Re: [Gluster-users] Mount failed

2015-01-26 Thread A Ghoshal
: - === To: From: Bart#322;omiej Syryjczyk bsyryjc...@kamsoft.pl 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

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.

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 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 command

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

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=apache1

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,

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 configuration

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 bsyryjc...@kamsoft.pl mailto:bsyryjc...@kamsoft.pl wrote: # mount -t glusterfs apache1:/testvol /mnt/gluster *Mount failed.

[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

Re: [Gluster-users] Mount failed

2015-01-22 Thread A Ghoshal
of the following might also help: ls -la /var/lib/glusterd/vols/glnode1/ Thanks, Anirban From: Bartłomiej Syryjczyk bsyryjc...@kamsoft.pl 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

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 bsyryjc...@kamsoft.pl mailto:bsyryjc...@kamsoft.pl wrote: # mount -t glusterfs apache1:/testvol /mnt/gluster *Mount failed. Please check the log file for more details.* Log:

[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

Re: [Gluster-users] Mount failed

2015-01-21 Thread Lindsay Mathieson
On 21 January 2015 at 23:46, Bartłomiej Syryjczyk bsyryjc...@kamsoft.pl 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

[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

Re: [Gluster-users] mount failed

2010-02-03 Thread Lakshmipathi Ganapathi
, February 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