Comment 33 for bug 112402

Revision history for this message
Portending Ennui (jacob-richards114) wrote :

I found the meta data. I ACTUALLY found it. thanks for the zeroing hint Phillip, I completely zeroed both disks, to be sure, as there was all sorts of stuff I didn't know. I narrowed it down and found it located on /dev/sda at sector 156297345.

After narrowing it down I ran :

sudo dd if=/dev/sda of=outputfile skip=156297345

then :

sudo hexdump -C outputfile > outputfile.txt

I started by dumping the last 5 megabytes of disk space and looking at it in a hex editor, then just counting how many bytes it was to the data. with that I figured, well, 512 bytes a sector, so some easy math to the meta data. Then I double checked by comparing the 5mb output to the one I concluded with.

I don't know if I should, but heres the hex dump, probably formatted crazily:

00000000 24 4d 41 47 4e 49 41 24 1f 31 15 0f 00 00 00 00 |$MAGNIA$.1......|
00000010 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
*
00000060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 09 |................|
00000080 24 4c 6f 67 69 63 61 6c 1f 31 15 0f 1f 31 15 0f |$Logical.1...1..|
00000090 1f 31 15 0f 02 02 01 01 02 02 00 00 00 00 05 17 |.1..............|
000000a0 00 e8 50 09 00 00 00 00 00 00 40 01 00 00 00 00 |..P.......@.....|
000000b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000100 54 4f 53 48 49 42 41 20 4d 4b 38 30 33 32 47 53 |TOSHIBA MK8032GS|
00000110 58 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 |X |
00000120 20 20 20 20 20 20 20 20 00 00 20 20 20 20 20 20 | .. |
00000130 20 20 20 20 20 36 36 50 4f 34 37 39 33 53 00 00 | 66PO4793S..|
00000140 54 4f 53 48 49 42 41 20 4d 4b 38 30 33 32 47 53 |TOSHIBA MK8032GS|
00000150 58 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 |X |
00000160 20 20 20 20 20 20 20 20 00 00 20 20 20 20 20 20 | .. |
00000170 20 20 20 20 20 36 36 50 4f 34 37 39 30 53 00 00 | 66PO4790S..|
00000180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00205e00

Anyways, I'm uploading my results, the hex dump text file, the original output file, and a hex dump text file with a summary of this and my fdisk output. I'm gonna look at the dmraid source my self, but I doubt I can do that stuff. Thanks!