xfs
[Top] [All Lists]

Re: xfs errors while unlinking filenames with hash collisions

To: Hannes Frederic Sowa <hannes@xxxxxxxxxxxxxxxxxxx>
Subject: Re: xfs errors while unlinking filenames with hash collisions
From: Mark Tinguely <tinguely@xxxxxxx>
Date: Thu, 27 Mar 2014 10:15:01 -0500
Cc: xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <20140327140556.GW29498@xxxxxxxxxxxxxxxxxxxxxxxxx>
References: <20140327074156.GJ29498@xxxxxxxxxxxxxxxxxxxxxxxxx> <5334241E.9060708@xxxxxxx> <20140327132354.GU29498@xxxxxxxxxxxxxxxxxxxxxxxxx> <533428D6.507@xxxxxxx> <20140327140556.GW29498@xxxxxxxxxxxxxxxxxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20120122 Thunderbird/9.0
On 03/27/14 09:05, Hannes Frederic Sowa wrote:
On Thu, Mar 27, 2014 at 08:34:14AM -0500, Mark Tinguely wrote:
On 03/27/14 08:23, Hannes Frederic Sowa wrote:
On Thu, Mar 27, 2014 at 08:14:06AM -0500, Mark Tinguely wrote:
Have you tried to run a xfs_repair on the filesystem after the reboot?

Yes, I did. I still use the filesystem and it works. As soon as I try to
remove the directory again the same splash from above happens again.

Is it the latest xfsprogs' repair?

Do you have the output from the repair still?

I can easily test this here, so you can throw any commands and tests at
me. ;)

This is the output:

(I replayed the journal before that)

pre-mount:/# xfs_repair -V
xfs_repair version 3.1.11
pre-mount:/# xfs_repair -v /dev/vda1
Phase 1 - find and verify superblock...
         - block cache size set to 372848 entries
Phase 2 - using internal log
         - zero log...
zero_log: head block 5071 tail block 5071
         - scan filesystem freespace and inode maps...
         - found root inode chunk
Phase 3 - for each AG...
         - scan and clear agi unlinked lists...
         - process known inodes and perform inode discovery...
         - agno = 0
bad hash ordering in block 8388739 of directory inode 3543184

interesting. I will see if I can recreate it.

Are you open to making it an xfstest?

--Mark.

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