Code: Select all
mdadm --create /dev/md0 --level=0 --raid-devices=2 /dev/sdb1 /dev/sdc1
Now, after clean Ubuntu 12.04 install instead of previous version (on a separate HDD), the RAID was broken with
Code: Select all
mdadm --create /dev/md0 --level=0 --raid-devices=2 /dev/sdb1 /dev/sdc1
Some sensible info was obtained via dumpe2fs /dev/sdc1, for 'sdb1' - "Bad magic number in super-block". The info is below, at the post end.
I want to try to recover lost EXT3/EXT4 partition. Quick Testdisk analysis shows one "Linux" parttion with proper volume label. The deeper Testdisk analysis shows tonns of "Linux" parttions. But in both cases the list files Testdisk's feature do not show proper file names.
I want to re create partion table structures and then try to use any file recovery tools, may be also 'fsck'. If this is a good strategy - what the geometry must be specified?
How to properly assemble this broken RAID0, before analysis and modifications by Testdisk or else? Is it possible for Mdadm?
May be anyone suggest another way?
Code: Select all
# dumpe2fs /dev/sdb1
dumpe2fs 1.42 (29-Nov-2011)
dumpe2fs: Bad magic number in super-block while trying to open /dev/sdb1
Couldn't find valid filesystem superblock.
# dumpe2fs /dev/sdc1
dumpe2fs 1.42 (29-Nov-2011)
Filesystem volume name: opt_raid0
Last mounted on: <not available>
Filesystem UUID: 066bee2f-3bd2-43d6-9042-e479e33215c4
Filesystem magic number: 0xEF53
Filesystem revision #: 1 (dynamic)
Filesystem features: has_journal ext_attr resize_inode dir_index filetype sparse_super large_file
Filesystem flags: signed_directory_hash
Default mount options: (none)
Filesystem state: clean
Errors behavior: Continue
Filesystem OS type: Linux
Inode count: 34799616
Block count: 139191120
Reserved block count: 6959556
Free blocks: 23379667
Free inodes: 34090374
First block: 0
Block size: 4096
Fragment size: 4096
Reserved GDT blocks: 990
Blocks per group: 32768
Fragments per group: 32768
Inodes per group: 8192
Inode blocks per group: 512
RAID stride: 16
RAID stripe width: 32
Filesystem created: Tue Mar 8 15:46:12 2011
Last mount time: Fri Jul 27 17:08:11 2012
Last write time: Fri Jul 27 17:24:05 2012
Mount count: 7
Maximum mount count: 21
Last checked: Wed Jul 18 09:44:43 2012
Check interval: 15552000 (6 months)
Next check after: Mon Jan 14 09:44:43 2013
Reserved blocks uid: 0 (user root)
Reserved blocks gid: 0 (group root)
First inode: 11
Inode size: 256
Required extra isize: 28
Desired extra isize: 28
Journal inode: 8
Default directory hash: half_md4
Directory Hash Seed: 338e0fdb-53d3-48fe-a8d9-d477d443ce09
Journal backup: inode blocks
dumpe2fs: A block group is missing an inode table while reading journal inode