xfs
[Top] [All Lists]

TAKE - repair

To: linux-xfs@xxxxxxxxxxx
Subject: TAKE - repair
From: Nathan Scott <nathans@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 8 Sep 2000 11:28:01 +1100 (EST)
Sender: owner-linux-xfs@xxxxxxxxxxx
On Sep 7,  1:32pm, Peter.Kelemen@xxxxxxx wrote:
> Subject: Re: xfs_repair dumps core on damaged filesystem
> ...
> I expected such a request and I left the filesystem intact after
> the crash.  The core file, xfs_repair binary, xfs_db and
> xfs_repair output can all be found at:
> http://home.cern.ch/fuji/xfs/nathan/
> 

Thanks for your efforts, Peter - made it easy to track down.
This should fix it...

--- 453,463 ----
         * update cursor keys to reflect this block
         */
        if (check_dups == 0)  {
!               bm_cursor->level[level].first_key =
!                               INT_GET(pkey[0].br_startoff, ARCH_CONVERT);
!               i = INT_GET(block->bb_numrecs, ARCH_CONVERT) - 1;
                bm_cursor->level[level].last_key =
!                               INT_GET(pkey[i].br_startoff, ARCH_CONVERT);
        }

        return(0);


Modid:  2.4.0-test1-xfs:slinx:73949a
Date:  Thu Sep  7 17:21:09 PDT 2000
Workarea:  snort:/build4/nathans/linux-xfs
Author:  nathans

The following file(s) were checked into:
  bonnie.engr.sgi.com:/isms/slinx/2.4.0-test1-xfs

cmd/xfs/repair/scan.c - 1.44
        - missed an endian conversion here.


<Prev in Thread] Current Thread [Next in Thread>
  • TAKE - repair, Nathan Scott <=