View Incident:
http://co-op.engr.sgi.com/BugWorks/code/bwxquery.cgi?search=Search&wlong=1&view_type=Bug&wi=800297
Status : open Priority : 3
Assigned Engineer : nathans Submitter : nathans
*Modified User : nathans *Modified User Domain : engr
*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...
.....
==========================
ADDITIONAL INFORMATION (ADD)
From: nathans@engr (BugWorks)
Date: Aug 28 2000 03:28:42PM
==========================
Looks like mkfs is writing out secondary superblocks without endian
converting (or perhaps endian converting twice by mistake? - not 100%
sure yet - its not immediately obvious).
this after a fresh mkfs - ag 0 & ag 1...
$ sudo od -c -N 20 /dev/hda6
0000000 X F S B \0 \0 020 \0 \0 \0 \0 \0 \0 \v ´ w
0000020 \0 \0 \0 \0
0000024
$ sudo od -c -j 307200000 -N 20 /dev/hda6
2223700000 B S F X \0 020 \0 \0 w ´ \v \0 \0 \0 \0 \0
2223700020 \0 \0 \0 \0
2223700024
|