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 at charlie4 ~]$ stat -c %i /data
> > 1
> > [franco at 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
> Works fine
> ---
> [root at apache2 ~]# /usr/sbin/glusterfs --volfile-server=apache1
> --volfile-id=/testvol /mnt/gluster
>
> [root at apache2 ~]# ls -l /brick /mnt/gluster
> /brick:
> total 1355800
> -rw-r--r-- 2 root root 1152 Jan 26 08:04 passwd
> -rw-r--r-- 2 root root 104857600 Jan 26 11:49 zero-2.dd
> -rw-r--r-- 2 root root 104857600 Jan 26 11:50 zero-3.dd
> -rw-r--r-- 2 root root 104857600 Jan 26 11:52 zero-4.dd
> -rw-r--r-- 2 root root 1073741824 Jan 26 08:26 zero.dd
>
> /mnt/gluster:
> total 1355778
> -rw-r--r-- 1 root root 1152 Jan 26 08:03 passwd
> -rw-r--r-- 1 root root 104857600 Jan 26 11:50 zero-2.dd
> -rw-r--r-- 1 root root 104857600 Jan 26 11:50 zero-3.dd
> -rw-r--r-- 1 root root 104857600 Jan 26 11:52 zero-4.dd
> -rw-r--r-- 1 root root 1073741824 Jan 26 08:25 zero.dd
>
> [root at apache2 ~]# umount /mnt/gluster/
>
> [root at apache2 ~]# ls -l /mnt/gluster
> total 0
> ---
>