xfs
[Top] [All Lists]

Re: can't remove dir

To: linux-xfs@xxxxxxxxxxx
Subject: Re: can't remove dir
From: Louis-David Mitterrand <vindex+lists-xfs@xxxxxxxxxxx>
Date: Wed, 17 Oct 2007 18:15:04 +0200
In-reply-to: <46EA9741.6060303@sandeen.net>
Mail-followup-to: linux-xfs@xxxxxxxxxxx
References: <20070914080926.GA30150@apartia.fr> <46EA9741.6060303@sandeen.net>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.16 (2007-06-11)
On Fri, Sep 14, 2007 at 09:14:25AM -0500, Eric Sandeen wrote:
> Louis-David Mitterrand wrote:
> > Hello,
> > 
> > While cleaning up /lost+found a directory resisted removal:
> > 
> >     sylla:/lost+found# rm 1879629858 -rf
> >     rm: cannot remove directory `1879629858': Directory not empty
> > 
> > The directory _is_ empty and "-rf" should remove it anyway, so this 
> > looks like a fs error.
> > 
> > This is on debian unstable with 2.6.23-rc6.
> 
> Any errors in the system logs?  I'd try most recent xfs_repair next.  If
> that doesn't fix it, make an xfs_metadump for Barry to look at.  :)
> Make a backup first if you're paranoid.

Hi again,

Using a 2.6.23 kernel and after a clean xfs_repair-2.9.4 run I can't 
remove that file:

sylla:/# rm /lost+found/3912672557
rm: cannot remove `/lost+found/3912672557': Operation not permitted

sylla:/# ls -li /lost+found/3912672557                                 
3912672557 lrwxrwxrwx 1 root root 9 2006-04-09 19:10 /lost+found/3912672557 -> 
unix.7.gz


<Prev in Thread] Current Thread [Next in Thread>