linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "bart@ardistech.com" <bart@ardistech.com>
To: Rui Santos <rsantos@ruisantos.com>
Cc: "linux-raid@vger.kernel.org" <linux-raid@vger.kernel.org>
Subject: Re: How to auto rebuild array?
Date: Fri, 15 Jul 2005 12:04:46 +0200	[thread overview]
Message-ID: <42D78A3E.777FAC84@ardistech.com> (raw)
In-Reply-To: 42D77A6E.3070205@ruisantos.com

Hi Rui,

>  Nevertheless, i could realy use those commands outputs.
> 
Below are the command outputs for the RAID1 set when /dev/hdb3 was
kicked during raid autodetect.

Cheers,
	Bart


--------------------------------------------------------------------
# cat /proc/mdstat 
Personalities : [linear] [raid0] [raid1] [raid5] 
md1 : active raid1 hdb2[1] hda2[0]
      99904 blocks [2/2] [UU]
      
md2 : active raid1 hda3[0]
      999936 blocks [2/1] [U_]


# mdadm --misc -D /dev/md2
/dev/md2:
        Version : 00.90.01
  Creation Time : Tue Jul  5 09:15:31 2005
     Raid Level : raid1
     Array Size : 999936 (976.50 MiB 1023.93 MB)
    Device Size : 999936 (976.50 MiB 1023.93 MB)
   Raid Devices : 2
  Total Devices : 1
Preferred Minor : 2
    Persistence : Superblock is persistent

    Update Time : Fri Jul 15 12:03:17 2005
          State : clean, degraded
 Active Devices : 1
Working Devices : 1
 Failed Devices : 0
  Spare Devices : 0

           UUID : 1c03c211:3bbbdacf:20ff8e96:29bd37e7
         Events : 0.211375

    Number   Major   Minor   RaidDevice State
       0       3        3        0      active sync   /dev/.static/dev/hda3
       1       0        0        -      removed


# mdadm --misc -E /dev/hda3
/dev/hda3:
          Magic : a92b4efc
        Version : 00.90.01
           UUID : 1c03c211:3bbbdacf:20ff8e96:29bd37e7
  Creation Time : Tue Jul  5 09:15:31 2005
     Raid Level : raid1
   Raid Devices : 2
  Total Devices : 1
Preferred Minor : 2

    Update Time : Fri Jul 15 12:03:17 2005
          State : clean
 Active Devices : 1
Working Devices : 1
 Failed Devices : 1
  Spare Devices : 0
       Checksum : d15f25b8 - correct
         Events : 0.211375


      Number   Major   Minor   RaidDevice State
this     0       3        3        0      active sync   /dev/.static/dev/hda3

   0     0       3        3        0      active sync   /dev/.static/dev/hda3
   1     1       0        0        1      faulty removed

# mdadm --misc -E /dev/hdb3
/dev/hdb3:
          Magic : a92b4efc
        Version : 00.90.01
           UUID : 1c03c211:3bbbdacf:20ff8e96:29bd37e7
  Creation Time : Tue Jul  5 09:15:31 2005
     Raid Level : raid1
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 2

    Update Time : Fri Jul 15 11:25:42 2005
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0
       Checksum : d15f1c9a - correct
         Events : 0.211268


      Number   Major   Minor   RaidDevice State
this     1       3       67        1      active sync   /dev/.static/dev/hdb3

   0     0       3        3        0      active sync   /dev/.static/dev/hda3
   1     1       3       67        1      active sync   /dev/.static/dev/hdb3

      reply	other threads:[~2005-07-15 10:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-12 13:46 How to auto rebuild array? bart
2005-07-13 20:45 ` Rui Santos
     [not found] ` <42D567F7.7010408@ruisantos.com>
2005-07-14  6:54   ` bart
2005-07-15  8:57     ` Rui Santos
2005-07-15 10:04       ` bart [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=42D78A3E.777FAC84@ardistech.com \
    --to=bart@ardistech.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=rsantos@ruisantos.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).