xfs
[Top] [All Lists]

BUG 800297 - repair doesn't recover if primary sb is trashed

To: nathans@xxxxxxxxxxxx
Subject: BUG 800297 - repair doesn't recover if primary sb is trashed
From: pv@xxxxxxxxxxxxx (nathans@xxxxxxxxxxxx)
Date: Sun, 27 Aug 2000 23:52:58 -0700 (PDT)
Cc: linux-xfs@xxxxxxxxxxx
Reply-to: sgi.bugs.xfs@xxxxxxxxxxxxxxxxx
Sender: owner-linux-xfs@xxxxxxxxxxx
Webexec: webpvsubmit,PvProjectIncident
Webpv: wobbly.melbourne.sgi.com
View Incident: 
http://co-op.engr.sgi.com/BugWorks/code/bwxquery.cgi?search=Search&wlong=1&view_type=Bug&wi=800297

Submitter : nathans                   Submitter Domain : engr               
Assigned Engineer : nathans           Assigned Domain : engr                
Assigned Group : xfs-linux            Category : software                   
Customer Reported : F                 Priority : 3                          
Project : xfs-linux                   Status : open                         
Description :
In writing some verification tests for xfs_repair, I've found that
a the corrupted primary superblock is not currently recoverable on
Linux.

e.g.
sim/mkfs/mkfs_xfs /dev/foo
stress/src/devzero -b 1 -n 1 /dev/foo
sim/repair/xfs_repair /dev/foo

Phase 1 - find and verify superblock...
bad primary superblock - bad magic number !!!

attempting to find secondary superblock...
.....................................................................................................................................................................................................................................................................................found
 candidate secondary superblock...
unable to verify superblock, continuing...
.....................................................................................................................................................................................................................................................................................................found
 candidate secondary superblock...
unable to verify superblock, continuing...
.....................................................................................................................................................................................................................................................................................................found
 candidate secondary superblock...
unable to verify superblock, continuing...
.....................................................................................................................................................................................................................................................................................................found
 candidate secondary superblock...
unable to verify superblock, continuing...
.....................................................................................................................................................................................................................................................................................................found
 candidate secondary superblock...
unable to verify superblock, continuing...
.....................................................................................................................................................................................................................................................................................................found
 candidate secondary superblock...
unable to verify superblock, continuing...
.....................................................................................................................................................................................................................................................................................................found
 candidate secondary superblock...
unable to verify superblock, continuing...
.....................................................................................................................................................................................................................................................................................................found
 candidate secondary superblock...
unable to verify superblock, continuing...
.....................................................................................................................................................................................................................................................................................................found
 candidate secondary superblock...
unable to verify superblock, continuing...
.....................................................................................................................................................................................................................................................................................................found
 candidate secondary superblock...
unable to verify superblock, continuing...
....................................................................Sorry, 
could not find valid secondary superblock
Exiting now.


>From the brief analysis I've done I suspect there may be an endian
issue remaining here ... I haven't traced it back to its source as
yet though.

<Prev in Thread] Current Thread [Next in Thread>
  • BUG 800297 - repair doesn't recover if primary sb is trashed, nathans@xxxxxxxxxxxx <=