xfs
[Top] [All Lists]

xfs_repair trouble

To: lord@xxxxxxx, linux-xfs@xxxxxxxxxxx
Subject: xfs_repair trouble
From: Ragnar Kjørstad <ragnar@xxxxxxxxxxxxxx>
Date: Tue, 7 May 2002 00:15:45 +0200
Cc: kevin@xxxxxxxxxxxxxx
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mutt/1.2.5.1i
Hi

We're having some problems with xfs_repair:

When using the utilities from Release-1.0.2 we got the following
message:
Phase 1 - find and verify superblock...
Phase 2 - using internal log
        - zero log...
xfs_repair: xfs_log_recover.c:159: xlog_find_verify_log_record:
Assertion `start_blk != 0 || *last_blk != start_blk' failed.

I've upgraded to the CVS version, and now the error-message is gone, but
there is no more output. I've looked briefly on the source, and AFAICT
it is working in libxfs_log_clear();

First of all - is this the way it is supposed to work? It has taken a
very long time (a couple of hours) with no output (I specified "-v").
Also I think it's strange that it's reading all over the disk (reading
invidivual 512 byte blocks starting at the end of the disk and then
moving backwards) for clearing the log.

Second - is there something that can be done to speed it up? Reading
individual 512-byte blocks in the "backwards" order is probably the
least effective way to get data of the device! Maybe it would be better
to work with bigger chunks of data - or best of all; start at the
beginning of the device rather than the end?

Thanks.



-- 
Ragnar Kjørstad
Big Storage


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