Date: Fri, 9 Nov 2007 06:38:44 -0600 From: Eric Anderson <anderson@freebsd.org> To: Andriy Gapon <avg@icyb.net.ua> Cc: Pawel Jakub Dawidek <pjd@freebsd.org>, freebsd-geom@freebsd.org Subject: Re: gjournal on 6.2: Cannot delete /var/.deleted/#613759 Message-ID: <6EBC07A8-054F-476A-8DF5-B54124CEB339@freebsd.org> In-Reply-To: <47343AC5.8090103@icyb.net.ua> References: <4732E3C6.5060205@icyb.net.ua> <47343AC5.8090103@icyb.net.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
On Nov 9, 2007, at 4:47 AM, Andriy Gapon wrote: > on 08/11/2007 12:24 Andriy Gapon said the following: >> I use gjournal6.patch on FreeBSD 6.2 amd64 system. >> >> Everything was perfect until today when I got some minor problems >> from >> gjournal. While building a port, compilation aborted with an error >> that >> said something like the following (I didn't save the message, >> unfortunately): "can not create temporary file: interrupted system >> call". >> I had to restart compilation several times because of such errors and >> eventually it finished successfully. Along the compilation errors the >> following message appeared in system log: >> UFS_GJGC: Cannot delete /var/.deleted/#613759 (error=2) >> UFS_GJGC: Cannot delete /var/.deleted/#1202391 (error=2) >> UFS_GJGC: Cannot delete /var/.deleted/#1202391 (error=2) >> UFS_GJGC: Cannot delete /var/.deleted/#1202390 (error=2) >> UFS_GJGC: Cannot delete /var/.deleted/#1202390 (error=2) >> > > Well, given that errno 2 is ENOENT, it is interesting what happens > here. > Entry appearing twice on the list of GC items, name clash, something > else ? Is this something harmless or a result of a more serious > issue ? > > My guess is that it could be a result of fast creation and deletion of > some tmp files, so that inode number is reused before an entry is > actually deleted from .deleted and thus there is a name clash. > Should be harmless if this is true. Or not ? When inodes are reused, their gen count should go up (or NFS handles would get broken quickly). The file is probably being removed in- between the readdir and the remove. Eric
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6EBC07A8-054F-476A-8DF5-B54124CEB339>