Hi Bin Zhou, >> ' However I cannot find a viable method to attach an additional logical volume block device to LXC except using dev loop. ' >>
How are you managing your LXC containers? Are you using lxc utilties for the same ? or is it via docker [1]? If its docker, there is an option (-v) which allows you to attach a volume to the container. > [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) > You can create a Fuse device inside the container by running mknod /dev/fuse c 10 229 Also, have you started the containers with full privileges ? [1] https://github.com/humblec/dockit --Humble On Fri, Aug 29, 2014 at 1:02 AM, Tamas Papp <[email protected]> wrote: > > On 08/28/2014 03:55 PM, Bin Zhou wrote: > > I am trying to deploy glusterfs server (3.5.2-2) on LXCs running Ubuntu > 14.0.4. However I cannot find a viable method to attach an additional > logical volume block device to LXC except using dev loop. GlusterFS volume > is created and started without any problem. But the client fails to mount > to glusterfs volume. > > ubuntu@gserv-5:~$ sudo gluster volume create gv2 replica 2 > gserv-5:/data/brick1/gv2 gserv-6:/data/brick1/gv2 > volume create: gv2: failed: Host gserv-6 is not in 'Peer in Cluster' state > ubuntu@gserv-5:~$ sudo gluster peer probe gserv-6 > peer probe: success. > ubuntu@gserv-6:~$ sudo gluster volume start gv3 > volume start: gv3: success > ubuntu@gserv-6:~$ sudo gluster volume info > > Volume Name: gv3 > Type: Replicate > Volume ID: 822ac57e-d033-439a-9d98-c9162d00c50b > Status: Started > Number of Bricks: 1 x 2 = 2 > Transport-type: tcp > Bricks: > Brick1: gserv-5:/data/brick1/gv3 > Brick2: gserv-6:/data/brick1/gv3 > > ubuntu@gserv-6:~$ sudo mount -t glusterfs gserv-5:/gv3 /mnt/gv3 > Mount failed. Please check the log file for more details. > > ubuntu@gserv-6:~$ mount > /dev/ubuntu-vg/lv-6 on / type ext3 (rw) > proc on /proc type proc (rw,noexec,nosuid,nodev) > sysfs on /sys type sysfs (rw,noexec,nosuid,nodev) > ... ... > /dev/loop3 on /data/brick1 type ext3 (rw) > > I am new to GlusterFS. Could someone help me to troubleshoot this issue > please? > Thanks a lot! > > > What are in the logs? > > t > > _______________________________________________ > Gluster-users mailing list > [email protected] > http://supercolony.gluster.org/mailman/listinfo/gluster-users >
_______________________________________________ Gluster-users mailing list [email protected] http://supercolony.gluster.org/mailman/listinfo/gluster-users
