LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 09-20-2011, 11:00 AM   #1
eduardr
LQ Newbie
 
Registered: Sep 2011
Posts: 5

Rep: Reputation: Disabled
Software mdadm RAID6 recovery - how to reassemble badly broken array


Hello,

I had set up a 2tb drive x 8 RAID6 array (12tb total size) on an external box linked to my server by 2 esata cables. 1 big 2tb GPT partition on each disk marked as RAID autodetect. The whole thing was formatted as an ext4 12tb file system.

Yesterday I noticed that the array was down with 4 disks showing as being out of the array (perhaps half of the array linked to one of the esata cables had disappeared briefly).

After rebooting the machine all 8 disks showed ok status on smartctl and the raid autodetect partition on each disk showed up ok in gdisk.

I tried the various mdadm reassemble options (including force) with no luck. I should have also tried with assumeclean but did not.

After reading some articles I tried mdadm --create --level 6 --raid-devices 8 with various chunk sizes, since I did not remember what chunk size I had used. Each time, some resyncing of the array took place. Each time, trying to mount the md device with mount -t ext4 /dev/mdx failed with no superblock error.

I have a few questions:
* Is the actual data on the disks gone due to the mdadm resyncing or is it all still intact?
* If the data is still there, is there some way of determining what the original raid chunk size was, by looking at the actual data on the disk?
* Once I get the chunk size figured out, and do an mdadm create, is there some way I can force the mount to work, or some other way to piece together the data on the various disks in order to recover it?

Thanks so much in advance,
--Ed
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Software Raid 5 (md) recovery using mdadm fakeroot Linux - Server 24 04-15-2013 09:19 AM
Failed RAID5 disk array, questions about mdadm and recovery HellesAngel Linux - General 13 04-08-2012 05:30 AM
mdadm raid6 active despite 3 drive failures roboa1983 Linux - Server 2 07-26-2011 09:34 PM
Broken raid 5 (11 drives in mdadm) -- data recovery/raid reconstruction needed -- ple jml48197 Linux - Server 4 07-27-2010 12:57 PM
mdadm raid 5 recovery / reassemble Ciesko Linux - Server 1 04-15-2010 12:53 PM


All times are GMT -5. The time now is 01:49 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration