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: Thu, 18 Oct 2007 15:11:16 +0200
In-reply-to: <20071017212434.GB995458@xxxxxxx>
Mail-followup-to: linux-xfs@xxxxxxxxxxx
References: <20070914080926.GA30150@xxxxxxxxxx> <46EA9741.6060303@xxxxxxxxxxx> <20071017161504.GA13077@xxxxxxxxxx> <20071017212434.GB995458@xxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.16 (2007-06-11)
On Thu, Oct 18, 2007 at 07:24:39AM +1000, David Chinner wrote:
> On Wed, Oct 17, 2007 at 06:15:04PM +0200, Louis-David Mitterrand wrote:
> > 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
> 
> Can you post the output of:
> 
> # xfs_db -r -c "inode 3912672557" -c "p" <device>

Here:

core.magic = 0x494e
core.mode = 0120777
core.version = 1
core.format = 1 (local)
core.nlinkv1 = 1
core.uid = 0
core.gid = 0
core.flushiter = 1
core.atime.sec = Sun Apr  9 19:10:38 2006
core.atime.nsec = 316368304
core.mtime.sec = Sun Apr  9 19:10:38 2006
core.mtime.nsec = 316368304
core.ctime.sec = Sun Apr  9 19:10:38 2006
core.ctime.nsec = 317368152
core.size = 9
core.nblocks = 0
core.extsize = 0
core.nextents = 0
core.naextents = 0
core.forkoff = 0
core.aformat = 2 (extents)
core.dmevmask = 0x4d291522
core.dmstate = 21036
core.newrtbm = 0
core.prealloc = 0
core.realtime = 0
core.immutable = 1
core.append = 1
core.sync = 0
core.noatime = 1
core.nodump = 0
core.rtinherit = 1
core.projinherit = 0
core.nosymlinks = 0
core.extsz = 0
core.extszinherit = 0
core.nodefrag = 1
core.gen = 0
next_unlinked = null
u.symlink = "unix.7.gz"


Thanks,


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