xfs/030: ignore lost rmapbt blocks

When we destroy the AG0 headers, we also lose track of the rmapbt
blocks, which causes xfs_repair to complain about their unconnectedness.
Filter out the error message from the output.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
This commit is contained in:
Darrick J. Wong
2017-01-28 09:38:25 -08:00
committed by Eryu Guan
parent c83c12e89e
commit 6c0aa31ff1
+2 -1
View File
@@ -60,7 +60,8 @@ _check_ag()
-e '/^bad agbno AGBNO for finobt/d' \
-e '/^bad agbno AGBNO for rmapbt/d' \
-e '/^bad agbno AGBNO for refcntbt/d' \
-e '/^Missing reverse-mapping record.*/d'
-e '/^Missing reverse-mapping record.*/d' \
-e '/^unknown block state, ag 0, block.*/d'
done
}