xfs
[Top] [All Lists]

Re: [PATCH] 030: fix for new xfs_repair versions

To: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Subject: Re: [PATCH] 030: fix for new xfs_repair versions
From: Mark Tinguely <tinguely@xxxxxxx>
Date: Wed, 23 May 2012 08:12:15 -0500
Cc: xfs@xxxxxxxxxxx
In-reply-to: <4F848278.501@xxxxxxx>
References: <20120331232836.GA19572@xxxxxxxxxxxxx> <4F848278.501@xxxxxxx>
User-agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20120122 Thunderbird/9.0
On 04/10/12 13:56, Mark Tinguely wrote:
On 03/31/12 18:28, Christoph Hellwig wrote:
Given that we now drop invalid unlinked inode lists there is no message
to capture. Also add a sed expression to avoid failures on old repair
versions.

Signed-off-by: Christoph Hellwig<hch@xxxxxx>



This is something that worked on an older OS:

Signed-off-by: Mark Tinguely <tinguely@xxxxxxx>
---
030 | 3 ++-
030.out.linux | 1 -
2 files changed, 2 insertions(+), 2 deletions(-)

Index: b/030
===================================================================
--- a/030
+++ b/030
@@ -55,7 +55,8 @@ _check_ag()
for structure in 'sb 0' 'agf 0' 'agi 0' 'agfl 0'
do
echo "Corrupting $structure - setting bits to $1"
- _check_repair $1 "$structure"
+ _check_repair $1 "$structure" |
+ sed -e '/^error following ag 0 unlinked list$/d'
done
}

Index: b/030.out.linux
===================================================================
--- a/030.out.linux
+++ b/030.out.linux
@@ -85,7 +85,6 @@ bad agbno AGBNO for inobt root, agno 0
root inode chunk not found
Phase 3 - for each AG...
- scan and clear agi unlinked lists...
-error following ag 0 unlinked list
- process known inodes and perform inode discovery...
- process newly discovered inodes...
Phase 4 - check for duplicate blocks...

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs

ping.

People are still listing 030 as broken. We should get this fixed.

--Mark Tinguely

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