All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Chris Mason" <lists@masonc.com>
To: linux-raid@vger.kernel.org
Subject: Problem with missing drive
Date: Tue, 7 Sep 2004 20:50:56 -0400	[thread overview]
Message-ID: <003301c4953d$e6af7a60$0600a8c0@poseiden> (raw)

I have a RAID5 array with 5 160 GB WD drives, 3 data, 1 parity, 1 spare. 

RAID 
Personalities : [raid5] 
read_ahead 1024 sectors
md0 : active raid5 hde1[0] hdg1[1] hdi1[2] hdk1[3] hdl1[5]
      468864768 blocks level 5, 64k chunk, algorithm 2 [4/4] [UUUU]


Mdadm reports a missing drive which does not exist but I suspect is recorded
on the superblocks of one or more of the drives. I'd like some advice on
clearing this up and getting rid of the "dirty" flag.

[root@munster root]# mdadm --detail /dev/md0
/dev/md0:
        Version : 00.90.00
  Creation Time : Sat Sep  4 07:01:50 2004
     Raid Level : raid5
     Array Size : 468864768 (447.14 GiB 480.16 GB)
    Device Size : 156288256 (149.05 GiB 160.08 GB)
   Raid Devices : 4
  Total Devices : 6
Preferred Minor : 0
    Persistence : Superblock is persistent

    Update Time : Sun Sep  5 05:05:22 2004
          State : dirty, no-errors
 Active Devices : 4
Working Devices : 5
 Failed Devices : 1
  Spare Devices : 1

         Layout : left-symmetric
     Chunk Size : 64K

    Number   Major   Minor   RaidDevice State
       0      33        1        0      active sync   /dev/hde1
       1      34        1        1      active sync   /dev/hdg1
       2      56        1        2      active sync   /dev/hdi1
       3      57        1        3      active sync   /dev/hdk1
       5      57       65        5        /dev/hdl1
           UUID : 8cb5dd66:4d5944e4:4c8eacb8:9f4cae58


[root@munster root]# cat /etc/mdadm.conf
DEVICE /dev/hde1 /dev/hdg1 /dev/hdi1 /dev/hdk1 /dev/hdl1
ARRAY   /dev/md0 level=raid5 num-devices=5
UUID=8cb5dd66:4d5944e4:4c8eacb8:9f4cae58







Chris Mason
masonc@masonc.com
Box 340, The Valley, Anguilla, British West Indies
Tel. (264) 497-5670 - Cell: (264) 235-5670 - Also (305)-735-3483   
Fax: (264) 497-8463 - US Fax (815)301-9759
Yahoo IM: netconcepts_anguilla@yahoo.com


                 reply	other threads:[~2004-09-08  0:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='003301c4953d$e6af7a60$0600a8c0@poseiden' \
    --to=lists@masonc.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.