Re: Mount failed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 it tries to run.
> This is output:
> ---
> [root@apache2 ~]# sh -x mount.glusterfs apache1:/testvol /mnt/gluster
> + _init apache1:/testvol /mnt/gluster
> + LOG_NONE=NONE
> + LOG_CRITICAL=CRITICAL
> + LOG_ERROR=ERROR
> + LOG_WARNING=WARNING
> + LOG_INFO=INFO
> + LOG_DEBUG=DEBUG
> + LOG_TRACE=TRACE
> + HOST_NAME_MAX=64
> + prefix=/usr
> + exec_prefix=/usr
> ++ echo /usr/sbin/glusterfs
> + cmd_line=/usr/sbin/glusterfs
> + export PATH
> ++ which getfattr
> + getfattr=
> + '[' 1 -ne 0 ']'
> + warn 'WARNING: getfattr not found, certain checks will be skipped..'
> + echo 'WARNING: getfattr not found, certain checks will be skipped..'
> WARNING: getfattr not found, certain checks will be skipped..
> + mounttab=/proc/mounts
> ++ uname -s
> + uname_s=Linux
> + case ${uname_s} in
> + getinode='stat -c %i'
> + getdev='stat -c %d'
> + lgetinode='stat -c %i -L'
> + lgetdev='stat -c %d -L'
> + UPDATEDBCONF=/etc/updatedb.conf
> + main apache1:/testvol /mnt/gluster
> + '[' xLinux = xLinux ']'
> + volfile_loc=apache1:/testvol
> + mount_point=/mnt/gluster
> + shift 2
> + getopts Vo:hn opt
> + '[' xLinux = xNetBSD ']'
> + '[' -r apache1:/testvol ']'
> ++ echo apache1:/testvol
> ++ sed -n 's/\([a-zA-Z0-9:.\-]*\):.*/\1/p'
> + server_ip=apache1
> ++ echo apache1:/testvol
> ++ sed -n 's/.*:\([^ ]*\).*/\1/p'
> + volume_str=/testvol
> + '[' -n /testvol ']'
> + volume_id=/testvol
> + volfile_loc=
> + '[' -z /testvol -o -z apache1 ']'
> ++ echo /mnt/gluster
> ++ grep '^\-o'
> + grep_ret=
> + '[' x '!=' x ']'
> + '[' -z /mnt/gluster -o '!' -d /mnt/gluster ']'
> + grep -q '[[:space:]+]/mnt/gluster[[:space:]+]fuse' /proc/mounts
> + case $volume_id in
> + check_recursive_mount /mnt/gluster
> + '[' /mnt/gluster = / ']'
> + mnt_dir=/mnt/gluster
> + '[' -n '' ']'
> + GLUSTERD_WORKDIR=/var/lib/glusterd
> + ls -L /var/lib/glusterd/vols/testvol/bricks/apache1:-brick
> /var/lib/glusterd/vols/testvol/bricks/apache2:-brick
> + '[' 0 -ne 0 ']'
> ++ grep '^path' /var/lib/glusterd/vols/testvol/bricks/apache1:-brick
> /var/lib/glusterd/vols/testvol/bricks/apache2:-brick
> ++ cut -d = -f 2
> + brick_path='/brick
> /brick'
> ++ stat -c %i -L /
> + root_inode=128
> ++ stat -c %d -L /
> + root_dev=64513
> ++ stat -c %i -L /mnt/gluster
> + mnt_inode=101729533
> ++ stat -c %d -L /mnt/gluster
> + mnt_dev=64513
> + for brick in '"$brick_path"'
> + ls /brick /brick
> + '[' 0 -ne 0 ']'
> + '[' -n '' ']'
> + continue
> + update_updatedb
> + test -f /etc/updatedb.conf
> + start_glusterfs
> + '[' -n '' ']'
> + '[' -n '' ']'
> + '[' -n '' ']'
> + '[' -n '' ']'
> + '[' -n '' ']'
> + '[' -n '' ']'
> + '[' -n '' ']'
> + '[' -n '' ']'
> + '[' -n '' ']'
> + '[' -n '' ']'
> + '[' -n '' ']'
> + '[' -n '' ']'
> + '[' -n '' ']'
> + '[' -n '' ']'
> + '[' -n '' ']'
> + '[' -n '' ']'
> + '[' -n '' ']'
> + '[' -n '' ']'
> + '[' -n '' ']'
> + '[' -n '' ']'
> + '[' -n '' ']'
> + '[' -n '' ']'
> + '[' -n '' ']'
> + '[' -n '' ']'
> + '[' -n '' ']'
> + '[' -z '' ']'
> + '[' -n apache1 ']'
> ++ parse_volfile_servers apache1
> ++ local server_list=apache1
> ++ local servers=
> ++ local new_servers=
> +++ echo apache1
> +++ sed 's/,/ /g'
> ++ servers=apache1
> ++ for server in '${servers}'
> ++ is_valid_hostname apache1
> ++ local server=apache1
> +++ echo apache1
> +++ wc -c
> ++ length=8
> ++ '[' 8 -gt 64 ']'
> ++ '[' 0 -eq 1 ']'
> +++ echo ' apache1'
> ++ new_servers=' apache1'
> ++ echo apache1
> + servers=apache1
> + '[' -n apache1 ']'
> ++ echo apache1
> + for i in '$(echo ${servers})'
> ++ echo '/usr/sbin/glusterfs --volfile-server=apache1'
> + cmd_line='/usr/sbin/glusterfs --volfile-server=apache1'
> + '[' -n '' ']'
> + '[' -n '' ']'
> + '[' -n '' ']'
> + '[' -n /testvol ']'
> + '[' -n '' ']'
> ++ echo '/usr/sbin/glusterfs --volfile-server=apache1 --volfile-id=/testvol'
> + cmd_line='/usr/sbin/glusterfs --volfile-server=apache1
> --volfile-id=/testvol'
> + '[' -n '' ']'
> ++ echo '/usr/sbin/glusterfs --volfile-server=apache1
> --volfile-id=/testvol /mnt/gluster'
> + cmd_line='/usr/sbin/glusterfs --volfile-server=apache1
> --volfile-id=/testvol /mnt/gluster'
> + /usr/sbin/glusterfs --volfile-server=apache1 --volfile-id=/testvol
> /mnt/gluster
> + '[' 0 -ne 0 ']'
> ++ stat -c %i /mnt/gluster
> + inode=
> + '[' 1 -ne 0 ']'
> + warn 'Mount failed. Please check the log file for more details.'
> + echo 'Mount failed. Please check the log file for more details.'
> Mount failed. Please check the log file for more details.
> + umount /mnt/gluster
> 
> [root@apache2 ~]# which mount.glusterfs
> /usr/sbin/mount.glusterfs
> 
> [root@apache2 ~]# yum provides /usr/sbin/mount.glusterfs
> glusterfs-fuse-3.6.2-1.el7.x86_64 : Fuse client
> Repo        : @glusterfs-epel
> Matched from:
> Filename    : /usr/sbin/mount.glusterfs
> ---
> 


_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users





[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux