|
From: | Gordan Bobic |
Subject: | Re: [Gluster-devel] File Clobbering Bug |
Date: | Tue, 17 Feb 2009 01:45:06 +0000 |
User-agent: | Thunderbird 2.0.0.19 (X11/20090107) |
This sounds very suspiciously similar to the weirdness I was seeing with the ~/.openoffice directory. It looks like something doesn't replicate correctly when a server node rejoins. In this particular case, files were moved or deleted, but they deletes don't get healed correctly.
Trawling back through the logs, I can actually see entries from a few days ago:
2009-01-28 14:15:56 W [afr-self-heal-entry.c:471:afr_sh_entry_expunge_rmdir] home: removing directory /foo/bar on home2 2009-01-28 14:15:56 E [afr-self-heal-entry.c:449:afr_sh_entry_expunge_remove_cbk] home: removing /foo/bar on home2 failed (Directory not empty) 2009-01-28 14:15:56 W [afr-self-heal-entry.c:495:afr_sh_entry_expunge_unlink] home: unlinking file /foo/bar/baz on home2
This was when the entry in question was being deleted with the server down (I think it was, at least).
The files end up with 000 permissions owned by user 0 (root) group 0 (root).When I repair the ownership and permissions on the files and delete them, this appears in the logs:
E [posix.c:2434:posix_xattrop] home-store: /foo/bar: Numerical result out of range
In other words, most of the problems I've been reporting recently appear to be somehow related.
I hope this helps. Gordan Krishna Srinivas wrote:
Gordan, More clues would help us. * Can you reproduce the problem without samba? * Are perf xlators loaded? can you mail the vol files? * do the logs indicate anything? Krishna On Mon, Feb 16, 2009 at 6:05 AM, Gordan Bobic <address@hidden> wrote:I seem to have stumbled upon another bug. Two Linux servers in AFR (2.0.0rc1), one client that exports the directory via samba. If one server is shut down, and a client connects to the client and modifies a file via samba, the changes get clobbered when the 2nd server comes back. When the server that was disconnected rejoins it seems to take precedence and clobbers the changes made while it was down. Gordan _______________________________________________ Gluster-devel mailing list address@hidden http://lists.nongnu.org/mailman/listinfo/gluster-devel
[Prev in Thread] | Current Thread | [Next in Thread] |