From: NeilBrown <neilb@suse.com>
To: Alfred Matthews <asm13243546@gmail.com>, linux-raid@vger.kernel.org
Subject: Re: on assembly and recovery of a hardware RAID
Date: Tue, 14 Mar 2017 08:32:37 +1100 [thread overview]
Message-ID: <87tw6weubu.fsf@notabene.neil.brown.name> (raw)
In-Reply-To: <CAAZLhTdaVM4fagN5=bqWpPx-DjyU6UZ69bJFf51FWMX7oeyJNw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1605 bytes --]
On Fri, Mar 10 2017, Alfred Matthews wrote:
> Hello list. I'm facing a non-redundant Western Digital hardware RAID,
> for which, hardware seems to cause a kernel panic at about 3 seconds
> running time.
>
> I've assembled the customary testing. The drives appear to be striped RAID 0.
>
> Output: http://pastebin.com/c361jGVx
>
> Evidently WD metadata changes over time, since a new console (adding
> USB) will not recognize the drives without erasing them. Files are
> visible as files for the short period of controller health.
>
> I imagine I'm trying to assemble a 2 x 3TB RAID array from the
> original WD disks when mounted as SATA.
>
> Seeking input on proper mdadm configuration for this.
>
> Then I imagine that I may recover files-as-files from this 2 x 3TB to
> standalone disks. Ultimately they would need to move to a new RAID.
>
> Failing: WD My Book Thunderbolt Duo, 2x3TB
> New, incompatible: WD My Book Pro, 2x3TB.
>
> Thanks for any comment.
>
> Thanks for your time.
>
Does
dmraid -b /dev/sda /dev/sdb /dev/sdc
tell you anything useful?
You will probably want a command like:
mdadm --build /dev/md0 -l0 -n2 --chunk=SOMETHING /dev/sdXX /dev/sdYY
where SOMETHING is the chunk size. e.g. 64K or 512K or something.
Doing this is non-destructive so you can try several different times,
using "mdadm --stop /dev/md0" to reset before trying again.
After building the array, try "cfdisk /dev/md0" or maybe "fdisk
/dev/md0" to look at the partition table.
What filesystem(s) did you have on the device? Maybe "fsck -n /dev/md0p1"
might tell you if the filesystem looks OK.
NeilBrown
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
next prev parent reply other threads:[~2017-03-13 21:32 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-10 20:37 on assembly and recovery of a hardware RAID Alfred Matthews
2017-03-13 21:32 ` NeilBrown [this message]
2017-03-14 17:27 ` Alfred Matthews
2017-03-15 2:56 ` NeilBrown
2017-03-18 17:11 ` Alfred Matthews
2017-03-18 18:08 ` Alfred Matthews
2017-03-20 5:34 ` NeilBrown
2017-03-20 21:42 ` Alfred Matthews
2017-03-21 2:38 ` NeilBrown
2017-03-21 12:09 ` Alfred Matthews
2017-05-03 15:44 ` Alfred Matthews
2017-05-11 17:18 ` Alfred Matthews
2017-05-11 22:27 ` NeilBrown
2017-05-12 15:57 ` Alfred Matthews
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tw6weubu.fsf@notabene.neil.brown.name \
--to=neilb@suse.com \
--cc=asm13243546@gmail.com \
--cc=linux-raid@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).