All of lore.kernel.org
 help / color / mirror / Atom feed
From: Phil Turmel <philip@turmel.org>
To: Thomas MARCHESSEAU <marchesseau@gmail.com>, linux-raid@vger.kernel.org
Cc: Roger Heflin <rogerheflin@gmail.com>
Subject: Re: RAID 5 "magicaly" become a RAID0
Date: Mon, 13 Apr 2015 06:57:48 -0400	[thread overview]
Message-ID: <552BA12C.3010506@turmel.org> (raw)
In-Reply-To: <D15148A7.3B83B%marchesseau@gmail.com>

Good morning Thomas,

{ Convention on kernel.org is to reply-to-all, trim quotes, and place
your response inline or at the bottom. }

On 04/13/2015 04:55 AM, Thomas MARCHESSEAU wrote:
> Hi all, 
> 
> Thanks a lot for your time. I appreciate .

You're welcome.

> Immediate Feedback  (with jet lag :) -
> 
> Roger,  
> 	I’ve already forced the —- assemble, just forget to write it  , no more
> 	mdadm  --assemble --force  /dev/md127 /dev/sdb /dev/sdc /dev/sdd /dev/sde
>  /dev/sdf /dev/sdg /dev/sdh
> 	mdadm: /dev/md127 assembled from 5 drives - not enough to start the array.

Hmmm.  Based on the below, this should have worked.  Please report your
mdadm version.  Your kernel appears to be 3.16.0.  There have been some
assembly bugs fixed in the past year.  You will certainly want to try
with a recent livecd before giving up on --assemble --force.

> 	I’ll move to raid6 , that was my 1st choice, but i didn’t build it

Wait!  One thing at a time.  First we must recover your array and help
you get a better backup.  Then you may add another drive to make a raid6.

> Phil,
> 	Md0 ..  I got the point,  I will use it again to avoid mistakes

This is what mdadm.conf is for.  And must be replicated into your
initramfs to be effective for most distributions.

> ============== 
> OUTPUT of : or x in /dev/sd[b-h] ; do mdadm -E $x ; smartctl -iA -l scterc
> $x ; done > report.txt

Very good.  Some of your devices have SMART disabled.  You should enable
those, and re-do the smart report for them.

> /dev/sdb:
>    Device Role : Active device 5
> Serial Number:    WD-WCC1P1091161

> /dev/sdc:
>    Device Role : Active device 0
> Serial Number:    WD-WCC1P1097832

> /dev/sdd:
>    Device Role : Active device 1
> Serial Number:    WD-WCC1P1097658

> /dev/sde:
>    Device Role : Active device 2
> Serial Number:    WD-WCC1P1111248

> /dev/sdf:
>    Device Role : Active device 3
> Serial Number:    WD-WCC1P1107956

> /dev/sdg:
>    Device Role : Active device 4
> Serial Number:    WD-WCC1P1164520

> /dev/sdh:
>    Device Role : Active device 6
> Serial Number:    WD-WCC1P1154279

The above is critical data for later if assembly never works.

Meanwhile, please obtain your dmesg and paste it here.  I suggest
turning off line wrap when you paste into your email.

Next, boot with a recent liveCD that has mdadm utilities (I recommend
systemrescuecd from sysrescuecd.org.) and use its kernel and tools to
try "mdadm -Afv /dev/md0 /dev/sd[b-h]"

You may have to --stop a partial assembly, as rescue CDs often attempt
to assemble arrays found.  And adjust the device letters if it boots
with your system disk as other than sda.

Show the mdadm output if it fails.  If it works, back up your critical
files immediately.  You should then do a clean shutdown, and it should
let you boot back into your original system.

Phil
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2015-04-13 10:57 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-12 21:42 RAID 5 "magicaly" become a RAID0 Thomas MARCHESSEAU
2015-04-12 22:28 ` Roger Heflin
2015-04-13  0:18 ` Phil Turmel
2015-04-13  8:55   ` Thomas MARCHESSEAU
2015-04-13 10:57     ` Phil Turmel [this message]
2015-04-13 12:27       ` Thomas MARCHESSEAU
     [not found]         ` <D151DEA1.8EEA1%marchesseau@gmail.com>
2015-04-14 12:32           ` Phil Turmel
2015-04-16  8:53             ` Thomas MARCHESSEAU
2015-04-16 12:25               ` Phil Turmel

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=552BA12C.3010506@turmel.org \
    --to=philip@turmel.org \
    --cc=linux-raid@vger.kernel.org \
    --cc=marchesseau@gmail.com \
    --cc=rogerheflin@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.