Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Nov 2007 12:47:33 +0200
From:      Andriy Gapon <avg@icyb.net.ua>
To:        freebsd-geom@freebsd.org, Pawel Jakub Dawidek <pjd@freebsd.org>
Subject:   Re: gjournal on 6.2: Cannot delete /var/.deleted/#613759
Message-ID:  <47343AC5.8090103@icyb.net.ua>
In-Reply-To: <4732E3C6.5060205@icyb.net.ua>
References:  <4732E3C6.5060205@icyb.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
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 ?

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47343AC5.8090103>