linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Robin Hill <robin@robinhill.me.uk>
To: Matthew Tice <mjtice@gmail.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: Problems with raid after reboot.
Date: Tue, 26 Jul 2011 09:37:20 +0100	[thread overview]
Message-ID: <20110726083720.GA18521@cthulhu.home.robinhill.me.uk> (raw)
In-Reply-To: <CA+taBv_UOKXk0Noh3T_=WYQhb+qCWy33ZmEHCnEKF3uwn7c_uQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2616 bytes --]

On Mon Jul 25, 2011 at 03:55:02PM -0600, Matthew Tice wrote:

> So now it's syncing:
> # mdadm --detail /dev/md0
> /dev/md0:
>         Version : 00.90
>   Creation Time : Sat Mar 12 21:22:34 2011
>      Raid Level : raid5
>      Array Size : 2197723392 (2095.91 GiB 2250.47 GB)
>   Used Dev Size : 732574464 (698.64 GiB 750.16 GB)
>    Raid Devices : 4
>   Total Devices : 4
> Preferred Minor : 0
>     Persistence : Superblock is persistent
> 
>     Update Time : Mon Jul 25 15:52:29 2011
>           State : clean, degraded, recovering
>  Active Devices : 3
> Working Devices : 4
>  Failed Devices : 0
>   Spare Devices : 1
> 
>          Layout : left-symmetric
>      Chunk Size : 64K
> 
>  Rebuild Status : 0% complete
> 
>            UUID : daf06d5a:b80528b1:2e29483d:f114274d (local to host storage)
>          Events : 0.5599
> 
>     Number   Major   Minor   RaidDevice State
>        4       8       64        0      spare rebuilding   /dev/sde
>        1       8       48        1      active sync   /dev/sdd
>        2       8       32        2      active sync   /dev/sdc
>        3       8       16        3      active sync   /dev/sdb
> 
> # cat /proc/mdstat
> Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5]
> [raid4] [raid10]
> md0 : active raid5 sde[4] sdd[1] sdb[3] sdc[2]
>       2197723392 blocks level 5, 64k chunk, algorithm 2 [4/3] [_UUU]
>       [>....................]  recovery =  0.4% (3470464/732574464)
> finish=365.0min speed=33284K/sec
> 
> unused devices: <none>
> 
> 
> However, it's still failing an fsck - so does order matter when I
> re-assemble the array?  I see conflicting answers online.
> 
No, order only matters if you're recreating the array (which is a
last-ditch option for if assembly fails). The metadata on each drive
indicates where it should be in the array, so the assembly will use that
to order the drives.

The fsck errors would look to be genuine issues with the filesystem. Was
the array shut down cleanly before you moved it? You did have to force
the assembly initially, which would suggest not (and could point to some
minor corruption). I'm not sure you have much of an option other than to
go through with a fsck & repair any issues now though (if you've got the
space then I'd suggest imaging the array as a backup though). 

Cheers,
    Robin
-- 
     ___        
    ( ' }     |       Robin Hill        <robin@robinhill.me.uk> |
   / / )      | Little Jim says ....                            |
  // !!       |      "He fallen in de water !!"                 |

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

      reply	other threads:[~2011-07-26  8:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-20 21:24 Problems with raid after reboot Matthew Tice
2011-07-23  3:12 ` Matthew Tice
2011-07-25 21:04   ` Matthew Tice
2011-07-25 21:21     ` Robin Hill
2011-07-25 21:30       ` Matthew Tice
2011-07-25 21:33         ` Matthew Tice
2011-07-25 21:42           ` Matthew Tice
2011-07-25 21:55             ` Matthew Tice
2011-07-26  8:37               ` Robin Hill [this message]

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=20110726083720.GA18521@cthulhu.home.robinhill.me.uk \
    --to=robin@robinhill.me.uk \
    --cc=linux-raid@vger.kernel.org \
    --cc=mjtice@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 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).