Linux RAID subsystem development
 help / color / mirror / Atom feed
From: Jean-Rene Cormier <jean-rene.cormier@cipanb.ca>
To: Juri Haberland <juri@koschikode.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: Moving RAID 1 array to new server
Date: 12 Nov 2003 19:37:19 -0400	[thread overview]
Message-ID: <1068680238.5087.4.camel@localhost.localdomain> (raw)
In-Reply-To: <news2mail-bou3rq$q2i$2@cartman.spoiled.org>

On Wed, 2003-11-12 at 16:06, Juri Haberland wrote:
> Jean-Rene Cormier <jean-rene.cormier@cipanb.ca> wrote:
> > On Wed, 2003-11-12 at 15:58, Juri Haberland wrote:
> 
> > I use 2.4.22 so I guess this patch is not for me. When I get home
> > tonight I'll try to re-add the disk to the array and see what it does.
> 
> If it doesn't work please also post the relevant part of /proc/mdstat.


Well I re-added the drive and it marked it as a spare.

Here's the output of mdadm --detail /dev/md0:

/dev/md0:
        Version : 00.90.00
  Creation Time : Sat Mar  1 22:55:38 2003
     Raid Level : raid1
     Array Size : 60051456 (57.27 GiB 61.49 GB)
    Device Size : 60051456 (57.27 GiB 61.49 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 0
    Persistence : Superblock is persistent

    Update Time : Wed Nov 12 22:33:37 2003
          State : dirty, no-errors
 Active Devices : 1
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 2


    Number   Major   Minor   RaidDevice State
       0      33        1        0      active sync   /dev/hde1
       1       0        0        1      faulty removed
       2      34        1        2      spare   /dev/hdg1
           UUID : 97cdd679:0b676ca4:3d889120:566d5967
         Events : 0.30

And here's my /proc/mdstat:

Personalities : [raid1] [raid5]
read_ahead 1024 sectors
md0 : active raid1 hdg1[2] hde1[0]
      60051456 blocks [2/1] [U_]
      [=>...................]  recovery =  6.9% (4162176/60051456)
finish=30.2min speed=30762K/sec
unused devices: <none>

It seems to be rebuilding but will it stay marked as a spare drive or
will it take over the main faulty drive after it's done rebuilding?

Thanks

Jean-Rene Cormier



  reply	other threads:[~2003-11-12 23:37 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-11  0:03 Moving RAID 1 array to new server Jean-Rene Cormier
2003-11-11 19:29 ` Juri Haberland
2003-11-12  2:12   ` Jean-Rene Cormier
2003-11-12  9:40     ` Dick Streefland
2003-11-12 19:58       ` Juri Haberland
2003-11-12 20:00         ` Jean-Rene Cormier
2003-11-12 20:06           ` Juri Haberland
2003-11-12 23:37             ` Jean-Rene Cormier [this message]
2003-11-13  0:08               ` Jean-Rene Cormier
2003-11-13  2:08               ` Neil Brown
2003-11-13  0:11                 ` Jean-Rene Cormier

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=1068680238.5087.4.camel@localhost.localdomain \
    --to=jean-rene.cormier@cipanb.ca \
    --cc=juri@koschikode.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