Thread: Recover a Raid 5 Array
recover raid 5 array
i have software (mdadm) raid 5 array (3) 3tb drives, gpt , formatted ntfs (the idea make compatible windows, isn't possible). these purely data drives. upgraded boot drive , haven't been able mount array since. assembles fine, shows 3 drives in sync, persistent superblocks. can fail recovery drive , add , sync fine. read ntfs gparted. when try , mount array, though, ntfs-3g error array has no superblock , filesystem inconsistent. gparted shows /dev/md0 registers unallocated.
haven't use mdadm --create out of fear format drives, , can't use mdadm --build on raid5. fdisk useless on drives size. mdadm chkdsk useless windows won't see raid array. parted won't handle ntfs drives. ntfsfix gives 'bad magic' error. @ point need access data on drives (have 6 tb copy them to) when mount drives individually raid mount folders.
--------------mdstat results:
cat /proc/mdstat
personalities : [raid6] [raid5] [raid4] [linear] [multipath] [raid0] [raid1] [raid10]
md0 : active raid5 sdc1[1] sdb1[3] sda1[4]
5860527104 blocks super 1.2 level 5, 512k chunk, algorithm 2 [3/3] [uuu]
unused devices: <none>
----------- mdadm -e on devices results:
sudo mdadm -e /dev/sd[abc]1
/dev/sda1:
magic : a92b4efc
version : 1.2
feature map : 0x0
array uuid : 797fec5c:0513c396:f60051ab:c97d884b
name : smizmar:0 (local host smizmar)
creation time : tue jul 12 19:34:47 2011
raid level : raid5
raid devices : 3
avail dev size : 5860528128 (2794.52 gib 3000.59 gb)
array size : 11721054208 (5589.03 gib 6001.18 gb)
used dev size : 5860527104 (2794.52 gib 3000.59 gb)
data offset : 2048 sectors
super offset : 8 sectors
state : clean
device uuid : 03ad01cd:b13286bd:e6f30b52:e9a76952
update time : thu nov 17 21:04:34 2011
checksum : ce5ce7aa - correct
events : 338006
layout : left-symmetric
chunk size : 512k
device role : active device 0
array state : aaa ('a' == active, '.' == missing)
/dev/sdb1:
magic : a92b4efc
version : 1.2
feature map : 0x0
array uuid : 797fec5c:0513c396:f60051ab:c97d884b
name : smizmar:0 (local host smizmar)
creation time : tue jul 12 19:34:47 2011
raid level : raid5
raid devices : 3
avail dev size : 5860528128 (2794.52 gib 3000.59 gb)
array size : 11721054208 (5589.03 gib 6001.18 gb)
used dev size : 5860527104 (2794.52 gib 3000.59 gb)
data offset : 2048 sectors
super offset : 8 sectors
state : clean
device uuid : 1a8fca29:7791e655:d415f39f:1c130d06
update time : thu nov 17 21:04:34 2011
checksum : c510b5a6 - correct
events : 338006
layout : left-symmetric
chunk size : 512k
device role : active device 2
array state : aaa ('a' == active, '.' == missing)
/dev/sdc1:
magic : a92b4efc
version : 1.2
feature map : 0x0
array uuid : 797fec5c:0513c396:f60051ab:c97d884b
name : smizmar:0 (local host smizmar)
creation time : tue jul 12 19:34:47 2011
raid level : raid5
raid devices : 3
avail dev size : 5860528128 (2794.52 gib 3000.59 gb)
array size : 11721054208 (5589.03 gib 6001.18 gb)
used dev size : 5860527104 (2794.52 gib 3000.59 gb)
data offset : 2048 sectors
super offset : 8 sectors
state : clean
device uuid : e951e10c:f0703968:e9618277:bfc3850b
update time : thu nov 17 21:04:34 2011
checksum : 978254a4 - correct
events : 338006
layout : left-symmetric
chunk size : 512k
device role : active device 1
array state : aaa ('a' == active, '.' == missing)
---------------mdadm -e /dev/md0 results:
sudo mdadm -e /dev/md0
mdadm: no md superblock detected on /dev/md0.
----------------mount command results:
ntfs-3g /dev/md0 /media/doop
ntfs_mst_post_read_fixup: magic: 0x00000000 size: 1024 usa_ofs: 0 usa_count: 65535: invalid argument
record 0 has no file magic (0x0)
failed load $mft: input/output error
failed mount '/dev/md0': input/output error
ntfs either inconsistent, or there hardware fault, or it's a
softraid/fakeraid hardware. in first case run chkdsk /f on windows
reboot windows twice. usage of /f parameter very
important! if device softraid/fakeraid first activate
, mount different device under /dev/mapper/ directory, (e.g.
/dev/mapper/nvidia_eahaabcc1). please see 'dmraid' documentation
more details.
---------------ntfsfix results:
ntfs-3g /dev/md0 /media/doop
ntfs_mst_post_read_fixup: magic: 0x00000000 size: 1024 usa_ofs: 0 usa_count: 65535: invalid argument
record 0 has no file magic (0x0)
failed load $mft: input/output error
failed mount '/dev/md0': input/output error
ntfs either inconsistent, or there hardware fault, or it's a
softraid/fakeraid hardware. in first case run chkdsk /f on windows
reboot windows twice. usage of /f parameter very
important! if device softraid/fakeraid first activate
, mount different device under /dev/mapper/ directory, (e.g.
/dev/mapper/nvidia_eahaabcc1). please see 'dmraid' documentation
more details.
i'm no expert, , don't know if left out on purpose, shouldn't use sudo ntfs-3g? have noticed lots of times errors show not problem sudo command missing.
though it's not in post, command tried was:
sudo ntfs-3g /dev/md0 etc...?
ps. should able use:
sudo mount /dev/md0 etc...
works read access that's need copy data. if remember correctly should show warning read should still work ntfs.
Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [kubuntu] Recover a Raid 5 Array
Ubuntu
Comments
Post a Comment