[OpenAFS] Bogus volumes after RAID rebuild and fsck

Daniel Miller daniel@mri.ucsd.edu
Fri, 14 Jul 2006 16:21:00 -0700 (PDT)


One of the drives in my RAID-10 array failed so I swapped in a new one and
rebuilt the array. There were a bunch of kernel errors after the rebuild
so I ran a reiserfsck --check on the array (it is reiserfs) and it said I
need to run reiserfsck --rebuildtree to fix the errors, which I did. Now I
am getting bogus volumes on this partition:

Total number of volumes on server keizan partition /vicepa: 2
bogus.536870921                   536870921 RW          0 K Off-line
bogus.536870930                   536870930 RW          0 K Off-line

This partition contained root.afs. It did the salvage automatically but
not sure if it worked, results of the log below:

07/14/2006 15:33:27 SALVAGING FILE SYSTEM PARTITION /vicepa (device=vicepa)
07/14/2006 15:37:23 ***Forced salvage of all volumes on this partition***
07/14/2006 15:37:30 SALVAGING VOLUME 536870921.
07/14/2006 15:37:30 bogus.536870921 (536870921) not updated (created
05/11/2006 04:12)
07/14/2006 15:37:30 iinc failed. inode 43040816528605698 errno 9
07/14/2006 15:37:30 iinc failed. inode 43040820823572996 errno 9
07/14/2006 15:37:30 iinc failed. inode 43040825118540294 errno 9
07/14/2006 15:37:30 iinc failed. inode 43040829413507592 errno 9
07/14/2006 15:37:30 iinc failed. inode 43040833708474890 errno 9
07/14/2006 15:37:30 iinc failed. inode 43040838003442188 errno 9
07/14/2006 15:37:30 iinc failed. inode 43040842298409486 errno 9
07/14/2006 15:37:30 iinc failed. inode 43040846593376784 errno 9
07/14/2006 15:37:30 iinc failed. inode 43040850888344082 errno 9
07/14/2006 15:37:30 iinc failed. inode 43040855183311380 errno 9
07/14/2006 15:37:30 iinc failed. inode 43040859478278678 errno 9
07/14/2006 15:37:30 iinc failed. inode 43040863773245976 errno 9
07/14/2006 15:37:30 iinc failed on link table, errno = 9
07/14/2006 15:37:30 iinc failed on link table, errno = 9
07/14/2006 15:37:30 Salvaged bogus.536870921 (536870921): 0 files, 0 blocks
07/14/2006 15:37:30 SALVAGING VOLUME 536870930.
07/14/2006 15:37:30 Missing inode in volume header (Volume information)
07/14/2006 15:37:30 Missing inode in volume header (Volume information);
recreating
07/14/2006 15:37:30 Warning: the name of volume 536870930 is now
"bogus.536870930"
07/14/2006 15:37:30 Missing inode in volume header (small inode index);
recreating
07/14/2006 15:37:30 Missing inode in volume header (large inode index);
recreating
07/14/2006 15:37:30 iinc failed. inode 15105399980048385 errno 9
****this continues to for a couple thousand more lines****
07/14/2006 15:38:55 iinc failed. inode 19723018110633550 errno 9
07/14/2006 15:38:55 iinc failed. inode 19723022405600848 errno 9
07/14/2006 15:38:55 iinc failed. inode 19723026700568146 errno 9
07/14/2006 15:38:55 iinc failed on link table, errno = 9
07/14/2006 15:38:55 iinc failed on link table, errno = 9
07/14/2006 15:38:56 Salvaged bogus.536870930 (536870930): 0 files, 0 blocks
07/14/2006 15:38:56 SALVAGING OF PARTITION /vicepa COMPLETED

I'm also trying to do salvage again using 'bos salvage -server keizan
-partition vicepa -noauth' and I get:
bos: shutting down fs.
bos: can't stop 'fs' (you are not authorized for this operation)

Any ideas as to how to fix these bogus volumes?

-Daniel