<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
You should find it there..<br>
<br>
But check dmesg (for apparmor messages) and also you can run the
command with strace.<br>
<br>
tamas<br>
<br>
<div class="moz-cite-prefix">On 08/28/2014 09:35 PM, Bin Zhou wrote:<br>
</div>
<blockquote
cite="mid:1409254552.72111.YahooMailNeo@web161705.mail.bf1.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff;
font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial,
Lucida Grande, sans-serif;font-size:12pt">
<div><span>@Tamas</span></div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida
Grande,sans-serif; background-color: transparent; font-style:
normal;"><span>where should I find the logs. I don't see any
log under /var/log for glusterfs in the container. <br>
</span></div>
<div class="qtdSeparateBR"><br>
<br>
</div>
<div style="display: block;" class="yahoo_quoted">
<div style="font-family: HelveticaNeue, Helvetica Neue,
Helvetica, Arial, Lucida Grande, sans-serif; font-size:
12pt;">
<div style="font-family: HelveticaNeue, Helvetica Neue,
Helvetica, Arial, Lucida Grande, sans-serif; font-size:
12pt;">
<div dir="ltr"> <font face="Arial" size="2"> On Thursday,
August 28, 2014 3:32:02 PM, Tamas Papp
<a class="moz-txt-link-rfc2396E" href="mailto:tompos@martos.bme.hu"><tompos@martos.bme.hu></a> wrote:<br>
</font> </div>
<br>
<br>
<div class="y_msg_container">
<div id="yiv9123226849">
<div> <br clear="none">
<div class="yiv9123226849yqt5893195179"
id="yiv9123226849yqt21050">
<div class="yiv9123226849moz-cite-prefix">On
08/28/2014 03:55 PM, Bin Zhou wrote:<br
clear="none">
</div>
<blockquote type="cite">
<div
style="color:#000;background-color:#fff;font-family:HelveticaNeue,
Helvetica Neue, Helvetica, Arial, Lucida
Grande, sans-serif;font-size:12pt;">
<div class="yiv9123226849" style="">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.</div>
<div class="yiv9123226849" style=""><br
class="yiv9123226849" style=""
clear="none">
</div>
<div class="yiv9123226849" style="color:rgb(0,
0,
0);font-size:16px;font-family:HelveticaNeue,
Helvetica Neue, Helvetica, Arial, Lucida
Grande,
sans-serif;background-color:transparent;font-style:normal;">ubuntu@gserv-5:~$
sudo gluster volume create gv2 replica 2
gserv-5:/data/brick1/gv2
gserv-6:/data/brick1/gv2<br
class="yiv9123226849" style=""
clear="none">
volume create: gv2: failed: Host gserv-6 is
not in 'Peer in Cluster' state<br
class="yiv9123226849" style=""
clear="none">
ubuntu@gserv-5:~$ sudo gluster peer probe
gserv-6<br class="yiv9123226849" style=""
clear="none">
peer probe: success. <br
class="yiv9123226849" style=""
clear="none">
</div>
<div class="yiv9123226849" style="color:rgb(0,
0,
0);font-size:16px;font-family:HelveticaNeue,
Helvetica Neue, Helvetica, Arial, Lucida
Grande,
sans-serif;background-color:transparent;font-style:normal;">ubuntu@gserv-6:~$
sudo gluster volume start gv3<br
class="yiv9123226849" style=""
clear="none">
volume start: gv3: success<br
class="yiv9123226849" style=""
clear="none">
ubuntu@gserv-6:~$ sudo gluster volume info<br
class="yiv9123226849" style=""
clear="none">
<br class="yiv9123226849" style=""
clear="none">
Volume Name: gv3<br class="yiv9123226849"
style="" clear="none">
Type: Replicate<br class="yiv9123226849"
style="" clear="none">
Volume ID:
822ac57e-d033-439a-9d98-c9162d00c50b<br
class="yiv9123226849" style=""
clear="none">
Status: Started<br class="yiv9123226849"
style="" clear="none">
Number of Bricks: 1 x 2 = 2<br
class="yiv9123226849" style=""
clear="none">
Transport-type: tcp<br class="yiv9123226849"
style="" clear="none">
Bricks:<br class="yiv9123226849" style=""
clear="none">
Brick1: gserv-5:/data/brick1/gv3<br
class="yiv9123226849" style=""
clear="none">
Brick2: gserv-6:/data/brick1/gv3<br
class="yiv9123226849" style=""
clear="none">
<br class="yiv9123226849" style=""
clear="none">
</div>
<div class="yiv9123226849" style="">ubuntu@gserv-6:~$
sudo mount -t glusterfs gserv-5:/gv3
/mnt/gv3 <br class="yiv9123226849" style=""
clear="none">
Mount failed. Please check the log file for
more details.</div>
<div class="yiv9123226849" style="color:rgb(0,
0,
0);font-size:16px;font-family:HelveticaNeue,
Helvetica Neue, Helvetica, Arial, Lucida
Grande,
sans-serif;background-color:transparent;font-style:normal;"><br
class="yiv9123226849" style=""
clear="none">
</div>
<div class="yiv9123226849" style="color:rgb(0,
0,
0);font-size:16px;font-family:HelveticaNeue,
Helvetica Neue, Helvetica, Arial, Lucida
Grande,
sans-serif;background-color:transparent;font-style:normal;">ubuntu@gserv-6:~$
mount<br class="yiv9123226849" style=""
clear="none">
/dev/ubuntu-vg/lv-6 on / type ext3 (rw)<br
class="yiv9123226849" style=""
clear="none">
proc on /proc type proc
(rw,noexec,nosuid,nodev)<br
class="yiv9123226849" style=""
clear="none">
sysfs on /sys type sysfs
(rw,noexec,nosuid,nodev)<br
class="yiv9123226849" style=""
clear="none">
... ...<br class="yiv9123226849" style=""
clear="none">
<span>/dev/loop3 on /data/brick1 type ext3
(rw)</span></div>
<div class="yiv9123226849" style="color:rgb(0,
0,
0);font-size:16px;font-family:HelveticaNeue,
Helvetica Neue, Helvetica, Arial, Lucida
Grande,
sans-serif;background-color:transparent;font-style:normal;"><br
clear="none">
</div>
<div class="yiv9123226849" style="color:rgb(0,
0,
0);font-size:16px;font-family:HelveticaNeue,
Helvetica Neue, Helvetica, Arial, Lucida
Grande,
sans-serif;background-color:transparent;font-style:normal;">I
am new to GlusterFS. Could someone help me
to troubleshoot this issue please? <br
clear="none">
Thanks a lot!<br clear="none">
</div>
</div>
<br clear="none">
</blockquote>
</div>
<br clear="none">
What are in the logs?<br clear="none">
<br clear="none">
t<br clear="none">
</div>
</div>
<br>
<br>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>