[Gluster-users] deploy glusterfs on LXC

2014-08-28 Thread Bin Zhou
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

Re: [Gluster-users] libgfapi failover problem on replica bricks

2014-08-28 Thread Roman
Here are the results. 1. still have problem with logs rotation. logs are being written to .log.1 file, not .log file. any hints, how to fix? 2. healing logs are now much more better, I can see the successful message. 3. both volumes with HD off and on successfully synced. the volume with HD on

Re: [Gluster-users] deploy glusterfs on LXC

2014-08-28 Thread Tamas Papp
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

Re: [Gluster-users] deploy glusterfs on LXC

2014-08-28 Thread Bin Zhou
@Tamas where should I find the logs. I don't see any log under /var/log for glusterfs in the container. On Thursday, August 28, 2014 3:32:02 PM, Tamas Papp tom...@martos.bme.hu wrote: On 08/28/2014 03:55 PM, Bin Zhou wrote: I am trying to deploy glusterfs server (3.5.2-2) on LXCs

Re: [Gluster-users] deploy glusterfs on LXC

2014-08-28 Thread Roman
Hi, What does gluster peer status command on gserv-5 says? 2014-08-28 22:32 GMT+03:00 Tamas Papp tom...@martos.bme.hu: 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

Re: [Gluster-users] deploy glusterfs on LXC

2014-08-28 Thread Tamas Papp
You should find it there.. But check dmesg (for apparmor messages) and also you can run the command with strace. tamas On 08/28/2014 09:35 PM, Bin Zhou wrote: @Tamas where should I find the logs. I don't see any log under /var/log for glusterfs in the container. On Thursday, August 28,

Re: [Gluster-users] deploy glusterfs on LXC

2014-08-28 Thread Tamas Papp
On 08/28/2014 11:04 PM, Bin Zhou wrote: I finally find a way to collect log: ubuntu@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.

Re: [Gluster-users] deploy glusterfs on LXC

2014-08-28 Thread Bin Zhou
Thanks a lot Tamas. On Thursday, August 28, 2014 5:23:49 PM, Tamas Papp tom...@martos.bme.hu wrote: On 08/28/2014 11:04 PM, Bin Zhou wrote: I finally find a way to collect log: ubuntu@gserv1:~$ sudo mount -t glusterfs -o

Re: [Gluster-users] deploy glusterfs on LXC

2014-08-28 Thread Humble Devassy Chirammal
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