linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chad Walker <chad@chad-cat-lore-eddie.com>
To: linux-raid@vger.kernel.org
Subject: Re: raid6 issues
Date: Sat, 18 Jun 2011 12:55:12 -0700	[thread overview]
Message-ID: <BANLkTimZ28GKnq41T78NfVPg8s4d9eRkfw@mail.gmail.com> (raw)
In-Reply-To: <BANLkTinT48ryUV01cuveutM=mDHLzy0ggg@mail.gmail.com>

also output from "mdadm --assemble --scan --verbose"

mdadm: looking for devices for /dev/md1
mdadm: cannot open device /dev/sdp1: Device or resource busy
mdadm: /dev/sdp1 has wrong uuid.
mdadm: cannot open device /dev/sdo1: Device or resource busy
mdadm: /dev/sdo1 has wrong uuid.
mdadm: cannot open device /dev/sdn1: Device or resource busy
mdadm: /dev/sdn1 has wrong uuid.
mdadm: cannot open device /dev/sdm1: Device or resource busy
mdadm: /dev/sdm1 has wrong uuid.
mdadm: cannot open device /dev/sdl1: Device or resource busy
mdadm: /dev/sdl1 has wrong uuid.
mdadm: cannot open device /dev/sdk1: Device or resource busy
mdadm: /dev/sdk1 has wrong uuid.
mdadm: cannot open device /dev/sdj1: Device or resource busy
mdadm: /dev/sdj1 has wrong uuid.
mdadm: cannot open device /dev/sdi1: Device or resource busy
mdadm: /dev/sdi1 has wrong uuid.
mdadm: cannot open device /dev/sdh1: Device or resource busy
mdadm: /dev/sdh1 has wrong uuid.
mdadm: cannot open device /dev/sdg1: Device or resource busy
mdadm: /dev/sdg1 has wrong uuid.
mdadm: cannot open device /dev/sdf1: Device or resource busy
mdadm: /dev/sdf1 has wrong uuid.
mdadm: cannot open device /dev/sde1: Device or resource busy
mdadm: /dev/sde1 has wrong uuid.
mdadm: cannot open device /dev/sdd1: Device or resource busy
mdadm: /dev/sdd1 has wrong uuid.
mdadm: cannot open device /dev/sdc1: Device or resource busy
mdadm: /dev/sdc1 has wrong uuid.
mdadm: cannot open device /dev/sdb1: Device or resource busy
mdadm: /dev/sdb1 has wrong uuid.


-chad




On Sat, Jun 18, 2011 at 12:48 PM, Chad Walker
<chad@chad-cat-lore-eddie.com> wrote:
> Anyone? Please help. I've been searching for answers for the last five
> days. The (S) after the drives in the /proc/mdstat means that it
> thinks they are all spares? I've seen some mention of an
> '--assume-clean' option but I can't find any documentation on it. I'm
> running 3.1.4 (what apt-get got), but I see on Neil Brown's site that
> in the release for 3.1.5 there are 'Fixes for "--assemble --force" in
> various unusual cases' and 'Allow "--assemble --update=no-bitmap" so
> an array with a corrupt bitmap can still be assembled', would either
> of these be applicable in my case? I will build 3.1.5 and see if it
> helps.
>
> -chad
>
>
>
>
> On Thu, Jun 16, 2011 at 1:28 PM, Chad Walker
> <chad@chad-cat-lore-eddie.com> wrote:
>> I have 15 drives in a raid6 plus a spare. I returned home after being
>> gone for 12 days and one of the drives was marked as faulty. The load
>> on the machine was crazy, and mdadm stop responding. I should've done
>> an strace, sorry. Likewise cat'ing /proc/mdstat was blocking. I
>> rebooted and mdadm started recovering, but to the faulty drive. I
>> checked in on /proc/mdstat periodically over the 35-hour recovery.
>> When it was down to the last bit, /proc/mdstat and mdadm stopped
>> responding again. I gave it 28 hours, and then when I still couldn't
>> get any insight into it I rebooted again. Now /proc/mdstat says it's
>> inactive. And I don't appear to be able to assemble it. I issued
>> --examine on each of the 16 drives and they all agreed with each other
>> except for the faulty drive. I popped the faulty drive out and
>> rebooted again, still no luck assembling.
>>
>> This is what my /proc/mdstat looks like:
>> Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5]
>> [raid4] [raid10]
>> md1 : inactive sdd1[12](S) sdm1[6](S) sdf1[0](S) sdh1[2](S) sdi1[7](S)
>> sdb1[14](S) sdo1[4](S) sdg1[1](S) sdl1[8](S) sdk1[9](S) sdc1[13](S)
>> sdn1[3](S) sdj1[10](S) sdp1[15](S) sde1[11](S)
>>      29302715520 blocks
>>
>> unused devices: <none>
>>
>> This is what the --examine for /dev/sd[b-o]1 and /dev/sdq1 look like:
>> /dev/sdb1:
>>          Magic : a92b4efc
>>        Version : 0.90.00
>>           UUID : 78e3f473:48bbfc34:0e051622:5c30970b
>>  Creation Time : Wed Mar 30 14:48:46 2011
>>     Raid Level : raid6
>>  Used Dev Size : 1953514368 (1863.02 GiB 2000.40 GB)
>>     Array Size : 25395686784 (24219.21 GiB 26005.18 GB)
>>   Raid Devices : 15
>>  Total Devices : 16
>> Preferred Minor : 1
>>
>>    Update Time : Wed Jun 15 07:45:12 2011
>>          State : active
>>  Active Devices : 14
>> Working Devices : 15
>>  Failed Devices : 1
>>  Spare Devices : 1
>>       Checksum : e4ff038f - correct
>>         Events : 38452
>>
>>         Layout : left-symmetric
>>     Chunk Size : 64K
>>
>>      Number   Major   Minor   RaidDevice State
>> this    14       8       17       14      active sync   /dev/sdb1
>>
>>   0     0       8       81        0      active sync   /dev/sdf1
>>   1     1       8       97        1      active sync   /dev/sdg1
>>   2     2       8      113        2      active sync   /dev/sdh1
>>   3     3       8      209        3      active sync   /dev/sdn1
>>   4     4       8      225        4      active sync   /dev/sdo1
>>   5     5       0        0        5      faulty removed
>>   6     6       8      193        6      active sync   /dev/sdm1
>>   7     7       8      129        7      active sync   /dev/sdi1
>>   8     8       8      177        8      active sync   /dev/sdl1
>>   9     9       8      161        9      active sync   /dev/sdk1
>>  10    10       8      145       10      active sync   /dev/sdj1
>>  11    11       8       65       11      active sync   /dev/sde1
>>  12    12       8       49       12      active sync   /dev/sdd1
>>  13    13       8       33       13      active sync   /dev/sdc1
>>  14    14       8       17       14      active sync   /dev/sdb1
>>  15    15      65        1       15      spare   /dev/sdq1
>>
>> And this is what --examine for /dev/sdp1 looked like:
>> /dev/sdp1:
>>          Magic : a92b4efc
>>        Version : 0.90.00
>>           UUID : 78e3f473:48bbfc34:0e051622:5c30970b
>>  Creation Time : Wed Mar 30 14:48:46 2011
>>     Raid Level : raid6
>>  Used Dev Size : 1953514368 (1863.02 GiB 2000.40 GB)
>>     Array Size : 25395686784 (24219.21 GiB 26005.18 GB)
>>   Raid Devices : 15
>>  Total Devices : 16
>> Preferred Minor : 1
>>
>>    Update Time : Tue Jun 14 07:35:56 2011
>>          State : active
>>  Active Devices : 15
>> Working Devices : 16
>>  Failed Devices : 0
>>  Spare Devices : 1
>>       Checksum : e4fdb07b - correct
>>         Events : 38433
>>
>>         Layout : left-symmetric
>>     Chunk Size : 64K
>>
>>      Number   Major   Minor   RaidDevice State
>> this     5       8      241        5      active sync   /dev/sdp1
>>
>>   0     0       8       81        0      active sync   /dev/sdf1
>>   1     1       8       97        1      active sync   /dev/sdg1
>>   2     2       8      113        2      active sync   /dev/sdh1
>>   3     3       8      209        3      active sync   /dev/sdn1
>>   4     4       8      225        4      active sync   /dev/sdo1
>>   5     5       8      241        5      active sync   /dev/sdp1
>>   6     6       8      193        6      active sync   /dev/sdm1
>>   7     7       8      129        7      active sync   /dev/sdi1
>>   8     8       8      177        8      active sync   /dev/sdl1
>>   9     9       8      161        9      active sync   /dev/sdk1
>>  10    10       8      145       10      active sync   /dev/sdj1
>>  11    11       8       65       11      active sync   /dev/sde1
>>  12    12       8       49       12      active sync   /dev/sdd1
>>  13    13       8       33       13      active sync   /dev/sdc1
>>  14    14       8       17       14      active sync   /dev/sdb1
>>  15    15      65        1       15      spare   /dev/sdq1
>>
>> I was scared to run mdadm --build --level=6 --raid-devices=15 /dev/md1
>> /dev/sdf1 /dev/sdg1....
>>
>> system information:
>> Ubuntu 11.04, kernel 2.6.38, x86_64, mdadm version 3.1.4, 3ware 9650SE
>>
>> Any advice? There's about 1TB of data on these drives that would cause
>> my wife to kill me (and about 9TB of data would just irritate her to
>> loose).
>>
>> -chad
>>
>
--
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:[~2011-06-18 19:55 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-16 20:28 raid6 issues Chad Walker
2011-06-18 19:48 ` Chad Walker
2011-06-18 19:55   ` Chad Walker [this message]
2011-06-18 23:01     ` NeilBrown
2011-06-18 23:14       ` Chad Walker
  -- strict thread matches above, loose matches on Subject: below --
2011-09-13  6:14 RAID6 issues Andriano
2011-09-13  6:25 ` NeilBrown
2011-09-13  6:33   ` Andriano
2011-09-13  6:44     ` NeilBrown
2011-09-13  7:05       ` Andriano
2011-09-13  7:38         ` NeilBrown
2011-09-13  7:51           ` Andriano
2011-09-13  8:10             ` NeilBrown
2011-09-13  8:12             ` Alexander Kühn
2011-09-13  8:44             ` Roman Mamedov
2011-09-13  8:57               ` Andriano
2011-09-13  9:05                 ` Andriano
2011-09-13 10:29                   ` Roman Mamedov
2011-09-13 10:44                     ` Andriano
2011-09-13 13:45                       ` Andriano
2011-09-27 18:46 ` Thomas Fjellstrom
2011-09-27 19:14   ` Stan Hoeppner
2011-09-27 21:04     ` Thomas Fjellstrom
2011-09-28  2:47       ` Stan Hoeppner
2011-09-28  6:52         ` Thomas Fjellstrom
2011-09-28  6:03       ` Mikael Abrahamsson
2011-09-28  6:53         ` Thomas Fjellstrom
2011-09-13 14:24 NeilBrown

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=BANLkTimZ28GKnq41T78NfVPg8s4d9eRkfw@mail.gmail.com \
    --to=chad@chad-cat-lore-eddie.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).