<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>See output below. gluster-node4 is where I execute the create volume command.</div>
<div><br>
</div>
<div>On gluster-node1:</div>
<div>
<div>&gt; getfattr -d -e hex -m . /mnt</div>
<div>getfattr: Removing leading '/' from absolute path names</div>
<div># file: mnt</div>
<div>security.selinux=0x73797374656d5f753a6f626a6563745f723a6d6e745f743a733000</div>
<div><br>
</div>
<div>&gt; getfattr -d -e hex -m . /mnt/brick1</div>
<div>&gt; getfattr -d -e hex -m . /mnt/brick1/vol_icclab</div>
<div>&gt; getfattr -d -e hex -m . /mnt/brick2</div>
<div>&gt; getfattr -d -e hex -m . /mnt/brick2/vol_icclab</div>
</div>
<div><br>
</div>
<div>On gluster-node4:</div>
<div>
<div>&gt; getfattr -d -e hex -m . /mnt</div>
<div>getfattr: Removing leading '/' from absolute path names</div>
<div># file: mnt</div>
<div>security.selinux=0x73797374656d5f753a6f626a6563745f723a6d6e745f743a733000</div>
<div><br>
</div>
<div>&gt; getfattr -d -e hex -m . /mnt/brick1</div>
<div>&gt; getfattr -d -e hex -m . /mnt/brick1/vol_icclab/</div>
<div>getfattr: Removing leading '/' from absolute path names</div>
<div># file: mnt/brick1/vol_icclab/</div>
<div>trusted.glusterfs.volume-id=0xa2b943d2271a464da2ae7e29ede15552</div>
<div><br>
</div>
<div>&gt; getfattr -d -e hex -m . /mnt/brick2</div>
<div>&gt; getfattr -d -e hex -m . /mnt/brick2/vol_icclab/</div>
<div>getfattr: Removing leading '/' from absolute path names</div>
<div># file: mnt/brick2/vol_icclab/</div>
<div>trusted.glusterfs.volume-id=0xa2b943d2271a464da2ae7e29ede15552</div>
<div><br>
</div>
</div>
<div>Cheers,</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>Fri, 23 Aug 2013 11:02:20 -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>Vijay Bellur &lt;<a href="mailto:vbellur@redhat.com">vbellur@redhat.com</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">Please provide the output of the following commands on the respective nodes:
<div><br>
</div>
<div>on gluster-node1 and gluster-node4:</div>
<div><br>
</div>
<div>getfattr -d -e hex -m . /mnt</div>
<div>getfattr -d -e hex -m . /mnt/brick1</div>
<div>getfattr -d -e hex -m . /mnt/brick1/vol_icclab</div>
<div>getfattr -d -e hex -m . /mnt/brick2</div>
<div>getfattr -d -e hex -m . /mnt/brick2/vol_icclab</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Avati</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Wed, Aug 21, 2013 at 11:59 PM, 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">
Hi Vijay,<br>
<br>
I did saw the link you posted, but as mentioned earlier I get this error<br>
when creating the volume for the first time, not when I try to remove and<br>
then re-add a brick to a volume.<br>
<div class="im HOEnZb"><br>
Thanks,<br>
--<br>
Daniele Stroppa<br>
Researcher<br>
Institute of Information Technology<br>
Zürich University of Applied Sciences<br>
<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>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</div>
<div class="HOEnZb">
<div class="h5">On 22/08/2013 08:19, &quot;Vijay Bellur&quot; &lt;<a href="mailto:vbellur@redhat.com">vbellur@redhat.com</a>&gt; wrote:<br>
<br>
&gt;On 08/21/2013 08:21 PM, Stroppa Daniele (strp) wrote:<br>
&gt;&gt; Thanks Daniel.<br>
&gt;&gt;<br>
&gt;&gt; I'm indeed running Gluster 3.4 on CentOS 6.4.<br>
&gt;&gt;<br>
&gt;&gt; I've tried your suggestion, it does work for me too, but it's not an<br>
&gt;&gt; optimal solution.<br>
&gt;&gt;<br>
&gt;&gt; Maybe someone could shed some light on this behaviour?<br>
&gt;<br>
&gt;This might be of help in understanding the behavior:<br>
&gt;<br>
&gt;<a href="http://joejulian.name/blog/glusterfs-path-or-a-prefix-of-it-is-already-par" target="_blank">http://joejulian.name/blog/glusterfs-path-or-a-prefix-of-it-is-already-par</a><br>
&gt;t-of-a-volume/<br>
&gt;<br>
&gt;Please do let us know if you need more clarity on this.<br>
&gt;<br>
&gt;-Vijay<br>
&gt;&gt;<br>
&gt;&gt; Thanks,<br>
&gt;&gt; --<br>
&gt;&gt; Daniele Stroppa<br>
&gt;&gt; Researcher<br>
&gt;&gt; Institute of Information Technology<br>
&gt;&gt; Zürich University of Applied Sciences<br>
&gt;&gt; <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>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; 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>
&gt;&gt;<br>
&gt;&gt;&gt; Are you running with gluster 3.4?<br>
&gt;&gt;&gt; I had the same issue. I solved it by deleting my subfolders again and<br>
&gt;&gt;&gt;then<br>
&gt;&gt;&gt; create new ones. In your case brick1 and brick2.<br>
&gt;&gt;&gt; Then create new subfolders in the place,ex.: mkdir /mnt/bricknew1 &nbsp;and<br>
&gt;&gt;&gt; /mnt/bricknew2 .<br>
&gt;&gt;&gt; This solved the problem for me, not knowing why gluster 3.4 behave like<br>
&gt;&gt;&gt; this.<br>
&gt;&gt;&gt; Good Luck<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; EDV Daniel Müller<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Leitung EDV<br>
&gt;&gt;&gt; Tropenklinik Paul-Lechler-Krankenhaus<br>
&gt;&gt;&gt; Paul-Lechler-Str. 24<br>
&gt;&gt;&gt; 72076 Tübingen<br>
&gt;&gt;&gt; Tel.: 07071/206-463, Fax: 07071/206-499<br>
&gt;&gt;&gt; eMail: <a href="mailto:mueller@tropenklinik.de">mueller@tropenklinik.de</a><br>
&gt;&gt;&gt; Internet: <a href="http://www.tropenklinik.de" target="_blank">www.tropenklinik.de</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Von: <a href="mailto:gluster-users-bounces@gluster.org">gluster-users-bounces@gluster.org</a><br>
&gt;&gt;&gt; [mailto:<a href="mailto:gluster-users-bounces@gluster.org">gluster-users-bounces@gluster.org</a>] Im Auftrag von Stroppa<br>
&gt;&gt;&gt;Daniele<br>
&gt;&gt;&gt; (strp)<br>
&gt;&gt;&gt; Gesendet: Dienstag, 20. August 2013 21:51<br>
&gt;&gt;&gt; An: <a href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a><br>
&gt;&gt;&gt; Betreff: [Gluster-users] Volume creation fails with &quot;prefix of it is<br>
&gt;&gt;&gt; already<br>
&gt;&gt;&gt; part of a volume&quot;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Hi All,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I'm setting up a small test cluster: 2 nodes (gluster-node1 and<br>
&gt;&gt;&gt; gluster-node4) with 2 bricks each (/mnt/brick1 and /mnt/brick2) and one<br>
&gt;&gt;&gt; volume (vol_icclab). When I issue the create volume command I get the<br>
&gt;&gt;&gt; following error:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; # gluster volume create vol_icclab replica 2 transport tcp<br>
&gt;&gt;&gt; gluster-node4.test:/mnt/brick1/vol_icclab<br>
&gt;&gt;&gt; gluster-node1.test:/mnt/brick1/vol_icclab<br>
&gt;&gt;&gt; gluster-node4.test:/mnt/brick2/vol_icclab<br>
&gt;&gt;&gt; gluster-node1.test:/mnt/brick2/vol_icclab<br>
&gt;&gt;&gt; volume create: vol_icclab: failed: /mnt/brick1/vol_icclab or a prefix<br>
&gt;&gt;&gt;of<br>
&gt;&gt;&gt; it<br>
&gt;&gt;&gt; is already part of a volume<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I checked and found this [1], but in my case the issue it's happening<br>
&gt;&gt;&gt;when<br>
&gt;&gt;&gt; creating the volume for the first time, not after removing/adding a<br>
&gt;&gt;&gt;brick<br>
&gt;&gt;&gt; to<br>
&gt;&gt;&gt; a volume.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Any suggestions?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; [1]<br>
&gt;&gt;&gt;<br>
&gt;&gt;&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;&gt;&gt; art-of-a-volume/<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Thanks,<br>
&gt;&gt;&gt; --<br>
&gt;&gt;&gt; Daniele Stroppa<br>
&gt;&gt;&gt; Researcher<br>
&gt;&gt;&gt; Institute of Information Technology<br>
&gt;&gt;&gt; Zürich University of Applied Sciences<br>
&gt;&gt;&gt; <a href="http://www.cloudcomp.ch" target="_blank">http://www.cloudcomp.ch</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Gluster-users mailing list<br>
&gt;&gt; <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
&gt;&gt; <a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users" target="_blank">
http://supercolony.gluster.org/mailman/listinfo/gluster-users</a><br>
&gt;&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>