Xavier Hernandez
2015-Jan-21 21:20 UTC
[Gluster-users] Cannot move or rename files on 3.6.1 + Disperse Vol
As I stated in another reply to this question some days ago, the patch that solves this and some other issues is already ready for review since Jan 12. It needs to be reviewed and merged before I can backport it to 3.6. I also have some other patches pending to be reviewed. Thanks, Xavi On 21.01.2015 19:20, Pranith Kumar Karampuri wrote:> hi RASTELLI, > There were two issues we faced in 3.6.1 rename forec. Panpan feng (CCed) raised the following bug: https://bugzilla.redhat.com/show_bug.cgi?id=1171681 [1] for this issue. First bug is fixed by Xavih @http://review.gluster.com/9072 [2], Panpan feng found that rename in same directory leads to a hang after this fix. I just sent a fix for that issue @http://review.gluster.org/9475 [3].>> Will backport the patch after Xavier Hernandez (CCed) accepts thepatch.> > Thanks for all the help panpan feng!! > > Pranith > > On01/19/2015 04:56 PM, RASTELLI Alessandro wrote:> >> Hi, >> >> withGlusterFS 3.6.1 and dispersed volumes I can't move or rename files.>>>> i.e. mkdir test, mv test test2 gives this error: >> >> [2015-01-1911: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>> >> [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>> >>[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>> >> [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=)>> >>[2015-01-19 11:23:47.468860] E [ec-helpers.c:346:ec_loc_parent] 0-storage-recorder-disperse-1: Invalid loc>> >> [2015-01-1911: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]>> >> [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)>> >> Can youplease indicate how to fix?>> >> Thanks >> >> Alessandro >> >>_______________________________________________>> Gluster-users mailinglist>> Gluster-users at gluster.org >>http://www.gluster.org/mailman/listinfo/gluster-users Links: ------ [1] https://bugzilla.redhat.com/show_bug.cgi?id=1171681 [2] http://review.gluster.com/9072 [3] http://review.gluster.org/9475 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20150121/07664097/attachment.html>
Pranith Kumar Karampuri
2015-Jan-22 05:24 UTC
[Gluster-users] Cannot move or rename files on 3.6.1 + Disperse Vol
On 01/22/2015 02:50 AM, Xavier Hernandez wrote:> > As I stated in another reply to this question some days ago, the patch > that solves this and some other issues is already ready for review > since Jan 12. >Cool. I abandoned the patch I submitted. I will be reviewing this patch today. Thanks Pranith> > It needs to be reviewed and merged before I can backport it to 3.6. I > also have some other patches pending to be reviewed. > > Thanks, > > Xavi > > On 21.01.2015 19:20, Pranith Kumar Karampuri wrote: > >> hi RASTELLI, >> There were two issues we faced in 3.6.1 rename for ec. Panpan >> feng (CCed) raised the following bug: >> https://bugzilla.redhat.com/show_bug.cgi?id=1171681 for this issue. >> First bug is fixed by Xavih @http://review.gluster.com/9072, Panpan >> feng found that rename in same directory leads to a hang after this >> fix. I just sent a fix for that issue @http://review.gluster.org/9475. >> >> Will backport the patch after Xavier Hernandez (CCed) accepts the patch. >> >> Thanks for all the help panpan feng!! >> >> Pranith >> >> On 01/19/2015 04:56 PM, RASTELLI Alessandro wrote: >>> >>> Hi, >>> >>> with GlusterFS 3.6.1 and dispersed volumes I can?t move or rename files. >>> >>> i.e. mkdir test, mv test test2 gives this error: >>> >>> [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 >>> >>> [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 >>> >>> [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 >>> >>> [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=) >>> >>> [2015-01-19 11:23:47.468860] E [ec-helpers.c:346:ec_loc_parent] >>> 0-storage-recorder-disperse-1: Invalid loc >>> >>> [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] >>> >>> [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) >>> >>> Can you please indicate how to fix? >>> >>> Thanks >>> >>> Alessandro >>> >>> >>> >>> _______________________________________________ >>> Gluster-users mailing list >>> Gluster-users at gluster.org >>> http://www.gluster.org/mailman/listinfo/gluster-users-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20150122/1ae17817/attachment.html>