<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"><<a href="mailto:strp@zhaw.ch" target="_blank">strp@zhaw.ch</a>></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> <<a href="http://www.cloudcomp.ch/" target="_blank">http://www.cloudcomp.ch/</a>><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</div><div class="HOEnZb"><div class="h5">On 22/08/2013 08:19, "Vijay Bellur" <<a href="mailto:vbellur@redhat.com">vbellur@redhat.com</a>> wrote:<br>
<br>
>On 08/21/2013 08:21 PM, Stroppa Daniele (strp) wrote:<br>
>> 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>
><br>
>This might be of help in understanding the behavior:<br>
><br>
><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>
>t-of-a-volume/<br>
><br>
>Please do let us know if you need more clarity on this.<br>
><br>
>-Vijay<br>
>><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> <<a href="http://www.cloudcomp.ch/" target="_blank">http://www.cloudcomp.ch/</a>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>> On 21/08/2013 09:00, "Daniel Müller" <<a href="mailto:mueller@tropenklinik.de">mueller@tropenklinik.de</a>> wrote:<br>
>><br>
>>> Are you running with gluster 3.4?<br>
>>> I had the same issue. I solved it by deleting my subfolders again and<br>
>>>then<br>
>>> create new ones. In your case brick1 and brick2.<br>
>>> Then create new subfolders in the place,ex.: mkdir /mnt/bricknew1 and<br>
>>> /mnt/bricknew2 .<br>
>>> This solved the problem for me, not knowing why gluster 3.4 behave like<br>
>>> this.<br>
>>> Good Luck<br>
>>><br>
>>><br>
>>> EDV Daniel Müller<br>
>>><br>
>>> Leitung EDV<br>
>>> Tropenklinik Paul-Lechler-Krankenhaus<br>
>>> Paul-Lechler-Str. 24<br>
>>> 72076 Tübingen<br>
>>> Tel.: 07071/206-463, Fax: 07071/206-499<br>
>>> eMail: <a href="mailto:mueller@tropenklinik.de">mueller@tropenklinik.de</a><br>
>>> Internet: <a href="http://www.tropenklinik.de" target="_blank">www.tropenklinik.de</a><br>
>>><br>
>>> Von: <a href="mailto:gluster-users-bounces@gluster.org">gluster-users-bounces@gluster.org</a><br>
>>> [mailto:<a href="mailto:gluster-users-bounces@gluster.org">gluster-users-bounces@gluster.org</a>] Im Auftrag von Stroppa<br>
>>>Daniele<br>
>>> (strp)<br>
>>> Gesendet: Dienstag, 20. August 2013 21:51<br>
>>> An: <a href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a><br>
>>> Betreff: [Gluster-users] Volume creation fails with "prefix of it is<br>
>>> already<br>
>>> part of a volume"<br>
>>><br>
>>> Hi All,<br>
>>><br>
>>> I'm setting up a small test cluster: 2 nodes (gluster-node1 and<br>
>>> gluster-node4) with 2 bricks each (/mnt/brick1 and /mnt/brick2) and one<br>
>>> volume (vol_icclab). When I issue the create volume command I get the<br>
>>> following error:<br>
>>><br>
>>> # gluster volume create vol_icclab replica 2 transport tcp<br>
>>> gluster-node4.test:/mnt/brick1/vol_icclab<br>
>>> gluster-node1.test:/mnt/brick1/vol_icclab<br>
>>> gluster-node4.test:/mnt/brick2/vol_icclab<br>
>>> gluster-node1.test:/mnt/brick2/vol_icclab<br>
>>> volume create: vol_icclab: failed: /mnt/brick1/vol_icclab or a prefix<br>
>>>of<br>
>>> it<br>
>>> is already part of a volume<br>
>>><br>
>>> I checked and found this [1], but in my case the issue it's happening<br>
>>>when<br>
>>> creating the volume for the first time, not after removing/adding a<br>
>>>brick<br>
>>> to<br>
>>> a volume.<br>
>>><br>
>>> Any suggestions?<br>
>>><br>
>>> [1]<br>
>>><br>
>>><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>
>>> art-of-a-volume/<br>
>>><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><br>
>>><br>
>>><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>
>><br>
><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>