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.
|