Sabyasachi Ruj
2012-Jun-04 13:26 UTC
[Gluster-users] File renamed, but I get "overwrite?" prompt when I try to rename it back again to the original name
So here is the situation (this is not reproducible every time, but I got it twice). directory "sqlite3.org" has already been renamed from client2. executing these commands from client1 gives this output: # stat sqlite.org stat: cannot stat `sqlite.org': No such file or directory This proves that there is no sqlite.org. But when I execute the following: # mv sqlite.org1 sqlite.org mv: overwrite `sqlite.org'? Any idea, why does it prompt me to overwrite sqlite.org when there is no such directory? -- Sabyasachi
Anand Avati
2012-Jun-04 22:45 UTC
[Gluster-users] File renamed, but I get "overwrite?" prompt when I try to rename it back again to the original name
You probably are treading within the narrow boundary of fuse's entry/attribute timeout. Can you mount with --attribute-timeout=0 and --entry-timeout=0 and see if it eliminates the behavior? Avati On Mon, Jun 4, 2012 at 6:26 AM, Sabyasachi Ruj <ruj.sabya at gmail.com> wrote:> So here is the situation (this is not reproducible every time, but I > got it twice). > > directory "sqlite3.org" has already been renamed from client2. > executing these commands from client1 gives this output: > > # stat sqlite.org > stat: cannot stat `sqlite.org': No such file or directory > > This proves that there is no sqlite.org. But when I execute the following: > > # mv sqlite.org1 sqlite.org > mv: overwrite `sqlite.org'? > > Any idea, why does it prompt me to overwrite sqlite.org when there is > no such directory? > > -- > Sabyasachi > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://gluster.org/cgi-bin/mailman/listinfo/gluster-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20120604/f6979bb9/attachment.html>