linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Simon <simon.xhz@gmail.com>
To: "Heinzmann, Robert" <Heinzmann@cc-dresden.de>
Cc: linux-raid@vger.kernel.org
Subject: Re: AW: The array is functioning normally (?)
Date: Thu, 05 Jul 2007 11:29:51 -0400	[thread overview]
Message-ID: <468D0E6F.7090303@gmail.com> (raw)
In-Reply-To: <7AAD212492598A4A92463C3F5D34C54F3DD373@ccd3.cc.de>

>> I made the 3 devices faulty.  I wonder why it's still clean 
>> and --test says it's functionning normally?!
> 
> Same here with a RAID1 when I kill the last disk.

Additionally, when I try to remove one of these faulty devices and add it again, 
THEN i get some indication that the array is not so good anymore:

# mdadm /dev/md1 -r /dev/sdd2
mdadm: hot removed /dev/sdd2
# mdadm /dev/md1 -a /dev/sdd2
mdadm: cannot find valid superblock in this array - HELP

I got the same exact message when I tried with the 3 drives, obviously it is 
because the array is no longer there...  and a final output of several programs 
give the output below.  Stoping the array prevents me from starting it again. 
Assembling fails too (not enough disk to start the array):

mdadm: /dev/sdd2 is identified as a member of /dev/md1, slot 3.
mdadm: /dev/sdb2 is identified as a member of /dev/md1, slot 2.
mdadm: /dev/sdc2 is identified as a member of /dev/md1, slot 1.
mdadm: no uptodate device for slot 0 of /dev/md1
mdadm: added /dev/sdc2 to /dev/md1 as 1
mdadm: added /dev/sdd2 to /dev/md1 as 3
mdadm: added /dev/sdb2 to /dev/md1 as 2
mdadm: /dev/md1 assembled from 1 drive and 1 spare - not enough to start the array.
(or with -R, ends with)
mdadm: failed to RUN_ARRAY /dev/md1: Input/output error
mdadm: Not enough devices to start the array.


===(`/sbin/mdadm -v -v --detail /dev/md1`)======================================
/dev/md1:
         Version : 00.90.03
   Creation Time : Tue Jul  3 16:29:38 2007
      Raid Level : raid5
      Array Size : 2011648 (1964.83 MiB 2059.93 MB)
   Used Dev Size : 1005824 (982.41 MiB 1029.96 MB)
    Raid Devices : 3
   Total Devices : 0
Preferred Minor : 1
     Persistence : Superblock is persistent

     Update Time : Thu Jul  5 11:25:32 2007
           State : clean, degraded
  Active Devices : 0
Working Devices : 0
  Failed Devices : 0
   Spare Devices : 0

          Layout : left-symmetric
      Chunk Size : 64K

     Number   Major   Minor   RaidDevice State
        0       0        0        0      removed
        1       0        0        1      removed
        2       0        0        2      removed
-------------------------  Return was: 0  ---[ 0 = running | 256 = inactive ]---
===(`/sbin/lsraid -a /dev/md1`)=================================================
[dev   9,   1] /dev/md1         00000000.00000000.00000000.00000000 online
[dev   ?,   ?] (unknown)        00000000.00000000.00000000.00000000 missing
[dev   ?,   ?] (unknown)        00000000.00000000.00000000.00000000 missing
[dev   ?,   ?] (unknown)        00000000.00000000.00000000.00000000 missing

------------------------------------------------------------  Return was: 0  ---
Return from `/sbin/mdadm /dev/md1 --detail --test` gave:
mdadm: The array is functioning normally.
================================================================================

      reply	other threads:[~2007-07-05 15:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-05  1:38 The array is functioning normally (?) Simon
2007-07-05  8:25 ` AW: " Heinzmann, Robert
2007-07-05 15:29   ` Simon [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=468D0E6F.7090303@gmail.com \
    --to=simon.xhz@gmail.com \
    --cc=Heinzmann@cc-dresden.de \
    --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).