[Gluster-users] deploy glusterfs on LXC

Tamas Papp tompos at martos.bme.hu
Thu Aug 28 21:23:47 UTC 2014


On 08/28/2014 11:04 PM, Bin Zhou wrote:
> I finally find a way to collect log:
>
> ubuntu at gserv1:~$ sudo mount -t glusterfs -o 
> log-level=DEBUG,log-file=/var/log/gluster.log,fuse-opt=allow_other 
> gserv-4:/data/brick1/gv1 /mnt/gv1
> Mount failed. Please check the log file for more details.
> ubuntu at gserv1:~$ cat /var/log/gluster.log
> cat: /var/log/gluster.log: Permission denied
> ubuntu at gserv1:~$ sudo cat /var/log/gluster.log
> [2014-08-28 20:56:01.321672] I [glusterfsd.c:1959:main] 
> 0-/usr/sbin/glusterfs: Started running /usr/sbin/glusterfs version 
> 3.5.2 (/usr/sbin/glusterfs --log-level=DEBUG 
> --log-file=/var/log/gluster.log --fuse-mountopts=fuse-opt=allow_other 
> --volfile-server=gserv-4 --volfile-id=/data/brick1/gv1 
> --fuse-mountopts=fuse-opt=allow_other /mnt/gv1)
> [2014-08-28 20:56:01.322014] D 
> [glusterfsd.c:410:set_fuse_mount_options] 0-glusterfsd: 
> fopen-keep-cache mode 2
> [2014-08-28 20:56:01.322028] D 
> [glusterfsd.c:466:set_fuse_mount_options] 0-: fuse direct io type 2
> [2014-08-28 20:56:01.322105] D 
> [options.c:1152:xlator_option_init_double] 0-fuse: option 
> negative-timeout using set value 0.000000
> [2014-08-28 20:56:01.322149] D [options.c:1141:xlator_option_init_str] 
> 0-fuse: option fuse-mountopts using set value fuse-opt=allow_other
> [2014-08-28 20:56:01.322228] E [mount.c:267:gf_fuse_mount] 
> 0-glusterfs-fuse: cannot open /dev/fuse (No such file or directory)
> [2014-08-28 20:56:01.322241] E [xlator.c:403:xlator_init] 0-fuse: 
> Initialization of volume 'fuse' failed, review your volfile again
> [2014-08-28 20:56:01.322252] D [glusterfsd.c:553:create_fuse_mount] 
> 0-: failed to initialize fuse translator
>
> EXT3 was used for the LXCFS, and also for the second FS mount to 
> /dev/loop.
> I will try to use EXT4 for both of them to be consistent with the host.

Please use the list.


It's clear, that your issue is fuse realated:


[2014-08-28 20:56:01.322228] E [mount.c:267:gf_fuse_mount] 
0-glusterfs-fuse: cannot open /dev/fuse (No such file or directory)


Check, how to use fuse inside a container.

tamas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20140828/b5f8a49e/attachment.html>


More information about the Gluster-users mailing list