linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jean Jordaan <jean@upfrontsystems.co.za>
To: Neil Brown <neilb@cse.unsw.edu.au>
Cc: linux-raid@vger.kernel.org
Subject: Re: Recovering RAID5 array
Date: Tue, 20 Jan 2004 12:40:44 +0200	[thread overview]
Message-ID: <400D05AC.4030409@upfrontsystems.co.za> (raw)
In-Reply-To: <16396.64514.820157.677722@notabene.cse.unsw.edu.au>

Neil,

thank you very much for your help ..

>  mdadm -C /dev/md0 -l 5 -n 3 /dev/hda3 missing /dev/hdc3

Did that, once with 'missing' in each place. All I get:

cdimage root # mdadm --create /dev/md0 --raid-devices=3 --level=5 
--spare-devices=0 --chunk=64 missing /dev/hdb3 /dev/hdc3
mdadm: /dev/hdb3 appears to be part of a raid array:
     level=5 devices=3 ctime=Tue Jan 20 10:35:45 2004
mdadm: /dev/hdc3 appears to be part of a raid array:
     level=5 devices=3 ctime=Tue Jan 20 10:09:43 2004
Continue creating array? y
mdadm: array /dev/md0 started.
cdimage root # mount -r -t reiserfs /dev/md0 /mnt/gentoo/raid/
mount: Not a directory

cdimage root # cat /proc/mdstat
Personalities : [raid5]
read_ahead 1024 sectors
md0 : active raid5 ide/host0/bus1/target0/lun0/part3[2] 
ide/host0/bus0/target1/lun0/part3[1]
       76003328 blocks level 5, 64k chunk, algorithm 2 [3/2] [_UU]

unused devices: <none>


-- 
Jean Jordaan
http://www.upfrontsystems.co.za


  reply	other threads:[~2004-01-20 10:40 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-20  6:54 Recovering RAID5 array Jean Jordaan
2004-01-20  6:59 ` Neil Brown
2004-01-20  7:17   ` Jean Jordaan
2004-01-20  8:08   ` Jean Jordaan
2004-01-20  9:59     ` Neil Brown
2004-01-20 10:40       ` Jean Jordaan [this message]
2004-01-20 12:10         ` Maarten v d Berg
2004-01-20 12:23           ` Jean Jordaan
2004-01-20 12:57             ` Maarten v d Berg
2004-01-20 13:28               ` Jean Jordaan
2004-01-20 10:44       ` Jean Jordaan
2004-01-20  7:22 ` Guy

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=400D05AC.4030409@upfrontsystems.co.za \
    --to=jean@upfrontsystems.co.za \
    --cc=linux-raid@vger.kernel.org \
    --cc=neilb@cse.unsw.edu.au \
    /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).