xfs
[Top] [All Lists]

Re: can't remove dir

To: Louis-David Mitterrand <vindex+lists-xfs@xxxxxxxxxxx>
Subject: Re: can't remove dir
From: Justin Piszcz <jpiszcz@xxxxxxxxxxxxxxx>
Date: Wed, 17 Oct 2007 12:18:58 -0400 (EDT)
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <20071017161504.GA13077@xxxxxxxxxx>
References: <20070914080926.GA30150@xxxxxxxxxx> <46EA9741.6060303@xxxxxxxxxxx> <20071017161504.GA13077@xxxxxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx


On Wed, 17 Oct 2007, Louis-David Mitterrand wrote:

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



lsattr -l /lost+found/3912672557

Shows?


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