<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
hi RASTELLI,<br>
There were two issues we faced in 3.6.1 rename for ec. Panpan
feng (CCed) raised the following bug:
<a class="moz-txt-link-freetext" href="https://bugzilla.redhat.com/show_bug.cgi?id=1171681">https://bugzilla.redhat.com/show_bug.cgi?id=1171681</a> for this issue.
First bug is fixed by Xavih @<a class="moz-txt-link-freetext" href="http://review.gluster.com/9072">http://review.gluster.com/9072</a>, Panpan
feng found that rename in same directory leads to a hang after this
fix. I just sent a fix for that issue
@<a class="moz-txt-link-freetext" href="http://review.gluster.org/9475">http://review.gluster.org/9475</a>.<br>
<br>
Will backport the patch after Xavier Hernandez (CCed) accepts the
patch.<br>
<br>
Thanks for all the help panpan feng!!<br>
<br>
Pranith<br>
<br>
<div class="moz-cite-prefix">On 01/19/2015 04:56 PM, RASTELLI
Alessandro wrote:<br>
</div>
<blockquote
cite="mid:DB3PR03MB09877E55FC30586E93CF3D12824A0@DB3PR03MB0987.eurprd03.prod.outlook.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 2.0cm 2.0cm 2.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">with GlusterFS 3.6.1 and
dispersed volumes I can’t move or rename files.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">i.e. mkdir test, mv test
test2 gives this error:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:8.0pt;font-family:"Courier New""
lang="EN-US">[2015-01-19 11:23:47.464429] I
[dht-common.c:1822:dht_lookup_cbk] 0-storage-recorder-dht:
Entry /varie/test2 missing on subvol
storage-recorder-disperse-1<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:8.0pt;font-family:"Courier New""
lang="EN-US">[2015-01-19 11:23:47.466721] I
[dht-common.c:1822:dht_lookup_cbk] 0-storage-recorder-dht:
Entry /varie/test2 missing on subvol
storage-recorder-disperse-1<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:8.0pt;font-family:"Courier New""
lang="EN-US">[2015-01-19 11:23:47.468021] I
[dht-common.c:1822:dht_lookup_cbk] 0-storage-recorder-dht:
Entry /varie/test2 missing on subvol
storage-recorder-disperse-1<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:8.0pt;font-family:"Courier New""
lang="EN-US">[2015-01-19 11:23:47.468813] I
[dht-rename.c:1344:dht_rename] 0-storage-recorder-dht:
renaming /varie/test
(hash=storage-recorder-disperse-1/cache=storage-recorder-disperse-0)
=> /varie/test2
(hash=storage-recorder-disperse-1/cache=<nul>)<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:8.0pt;font-family:"Courier New""
lang="EN-US">[2015-01-19 11:23:47.468860] E
[ec-helpers.c:346:ec_loc_parent]
0-storage-recorder-disperse-1: Invalid loc<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:8.0pt;font-family:"Courier New""
lang="EN-US">[2015-01-19 11:23:47.469349] I [MSGID: 109030]
[dht-rename.c:119:dht_rename_hashed_dir_cbk]
0-storage-recorder-dht: rename /varie/test ->
/varie/test2 on storage-recorder-disperse-1 failed, (gfid =
78545b91-87d0-4bb1-9fe9-d9d95a4299bf) [Invalid argument]<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:8.0pt;font-family:"Courier New""
lang="EN-US">[2015-01-19 11:23:47.469400] W
[fuse-bridge.c:1755:fuse_rename_cbk] 0-glusterfs-fuse:
89604620: /varie/test -> /varie/test2 => -1 (Invalid
argument)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Can you please indicate
how to fix?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Thanks<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Alessandro<o:p></o:p></span></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Gluster-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>
<a class="moz-txt-link-freetext" href="http://www.gluster.org/mailman/listinfo/gluster-users">http://www.gluster.org/mailman/listinfo/gluster-users</a></pre>
</blockquote>
<br>
</body>
</html>