<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>
<div>HI Anand,</div>
<div><br>
</div>
<div>As Daniel mentioned already, I also tried to create a volume with only brick on separate nodes, i.e.&nbsp;# gluster volume create vol_icclab transport tcp&nbsp;gluster-node4.test:/mnt/brick1/vol_icclab&nbsp;gluster-node1.test:/mnt/brick1/vol_icclab, but I still get the
 same error.</div>
<div><br>
</div>
<div>Thanks,</div>
<div>
<div>
<div style="font-family: Consolas; font-size: medium; ">
<div><span style="font-family: Calibri; ">--</span></div>
<div><span style="font-family: Calibri; ">Daniele Stroppa</span></div>
<div><span style="font-family: Calibri; ">Researcher</span></div>
<div><span style="font-family: Calibri; ">Institute of Information Technology</span></div>
<div><span style="font-family: Calibri; ">Zürich University of Applied Sciences</span></div>
<div><a href="http://www.cloudcomp.ch/" style="color: purple; "><span style="font-family: Calibri; ">http://www.cloudcomp.ch</span></a></div>
</div>
</div>
<br>
</div>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Anand Avati &lt;<a href="mailto:anand.avati@gmail.com">anand.avati@gmail.com</a>&gt;<br>
<span style="font-weight:bold">Date: </span>Wed, 21 Aug 2013 23:23:14 -0700<br>
<span style="font-weight:bold">To: </span>Daniele Stroppa &lt;<a href="mailto:strp@zhaw.ch">strp@zhaw.ch</a>&gt;<br>
<span style="font-weight:bold">Cc: </span>&quot;<a href="mailto:mueller@tropenklinik.de">mueller@tropenklinik.de</a>&quot; &lt;<a href="mailto:mueller@tropenklinik.de">mueller@tropenklinik.de</a>&gt;, &quot;<a href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a>&quot;
 &lt;<a href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a>&gt;<br>
<span style="font-weight:bold">Subject: </span>Re: [Gluster-users] Volume creation fails with &quot;prefix of it is already part of a volume&quot;<br>
</div>
<div><br>
</div>
<div dir="ltr">This is intentional behavior. We specifically brought this because creating volumes with directories which are subdirectories of other bricks, or if a subdirectory belongs to another brick can result in dangerous corruption of your data.
<div><br>
</div>
<div>Please create volumes with brick directories which are cleanly separate in the namespace.</div>
<div><br>
</div>
<div>Avati</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Wed, Aug 21, 2013 at 7:51 AM, Stroppa Daniele (strp) <span dir="ltr">
&lt;<a href="mailto:strp@zhaw.ch" target="_blank">strp@zhaw.ch</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks Daniel.<br>
<br>
I'm indeed running Gluster 3.4 on CentOS 6.4.<br>
<br>
I've tried your suggestion, it does work for me too, but it's not an<br>
optimal solution.<br>
<br>
Maybe someone could shed some light on this behaviour?<br>
<div class="im"><br>
Thanks,<br>
--<br>
Daniele Stroppa<br>
Researcher<br>
Institute of Information Technology<br>
Zürich University of Applied Sciences<br>
</div>
<a href="http://www.cloudcomp.ch" target="_blank">http://www.cloudcomp.ch</a> &lt;<a href="http://www.cloudcomp.ch/" target="_blank">http://www.cloudcomp.ch/</a>&gt;<br>
<div class="HOEnZb">
<div class="h5"><br>
<br>
<br>
<br>
<br>
<br>
<br>
On 21/08/2013 09:00, &quot;Daniel Müller&quot; &lt;<a href="mailto:mueller@tropenklinik.de">mueller@tropenklinik.de</a>&gt; wrote:<br>
<br>
&gt;Are you running with gluster 3.4?<br>
&gt;I had the same issue. I solved it by deleting my subfolders again and then<br>
&gt;create new ones. In your case brick1 and brick2.<br>
&gt;Then create new subfolders in the place,ex.: mkdir /mnt/bricknew1 &nbsp;and<br>
&gt;/mnt/bricknew2 .<br>
&gt;This solved the problem for me, not knowing why gluster 3.4 behave like<br>
&gt;this.<br>
&gt;Good Luck<br>
&gt;<br>
&gt;<br>
&gt;EDV Daniel Müller<br>
&gt;<br>
&gt;Leitung EDV<br>
&gt;Tropenklinik Paul-Lechler-Krankenhaus<br>
&gt;Paul-Lechler-Str. 24<br>
&gt;72076 Tübingen<br>
&gt;Tel.: 07071/206-463, Fax: 07071/206-499<br>
&gt;eMail: <a href="mailto:mueller@tropenklinik.de">mueller@tropenklinik.de</a><br>
&gt;Internet: <a href="http://www.tropenklinik.de" target="_blank">www.tropenklinik.de</a><br>
&gt;<br>
&gt;Von: <a href="mailto:gluster-users-bounces@gluster.org">gluster-users-bounces@gluster.org</a><br>
&gt;[mailto:<a href="mailto:gluster-users-bounces@gluster.org">gluster-users-bounces@gluster.org</a>] Im Auftrag von Stroppa Daniele<br>
&gt;(strp)<br>
&gt;Gesendet: Dienstag, 20. August 2013 21:51<br>
&gt;An: <a href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a><br>
&gt;Betreff: [Gluster-users] Volume creation fails with &quot;prefix of it is<br>
&gt;already<br>
&gt;part of a volume&quot;<br>
&gt;<br>
&gt;Hi All,<br>
&gt;<br>
&gt;I'm setting up a small test cluster: 2 nodes (gluster-node1 and<br>
&gt;gluster-node4) with 2 bricks each (/mnt/brick1 and /mnt/brick2) and one<br>
&gt;volume (vol_icclab). When I issue the create volume command I get the<br>
&gt;following error:<br>
&gt;<br>
&gt;# gluster volume create vol_icclab replica 2 transport tcp<br>
&gt;gluster-node4.test:/mnt/brick1/vol_icclab<br>
&gt;gluster-node1.test:/mnt/brick1/vol_icclab<br>
&gt;gluster-node4.test:/mnt/brick2/vol_icclab<br>
&gt;gluster-node1.test:/mnt/brick2/vol_icclab<br>
&gt;volume create: vol_icclab: failed: /mnt/brick1/vol_icclab or a prefix of<br>
&gt;it<br>
&gt;is already part of a volume<br>
&gt;<br>
&gt;I checked and found this [1], but in my case the issue it's happening when<br>
&gt;creating the volume for the first time, not after removing/adding a brick<br>
&gt;to<br>
&gt;a volume.<br>
&gt;<br>
&gt;Any suggestions?<br>
&gt;<br>
&gt;[1]<br>
&gt;<a href="http://joejulian.name/blog/glusterfs-path-or-a-prefix-of-it-is-already-p" target="_blank">http://joejulian.name/blog/glusterfs-path-or-a-prefix-of-it-is-already-p</a><br>
&gt;art-of-a-volume/<br>
&gt;<br>
&gt;Thanks,<br>
&gt;--<br>
&gt;Daniele Stroppa<br>
&gt;Researcher<br>
&gt;Institute of Information Technology<br>
&gt;Zürich University of Applied Sciences<br>
&gt;<a href="http://www.cloudcomp.ch" target="_blank">http://www.cloudcomp.ch</a><br>
&gt;<br>
&gt;<br>
<br>
_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</span>
</body>
</html>