From: "Paul M. Goorskis" <pmg@rimako.lv>
To: linux-raid@vger.kernel.org
Subject: remove 'spare' mark on drive
Date: Fri, 07 May 2004 18:09:29 +0300 [thread overview]
Message-ID: <409BA6A9.4080203@rimako.lv> (raw)
Looks like it's a good place to ask. Didn't noticed my question answered
in FAQ.
Software IDE RAID-5 (non-root/boot) with 3 drives.
Array worked properly until one ide-drive came offline. Array started to
work in 'degraded' mode. I tryied removing/readding the faulty drive and
got it back to the array. Everything works fine for two weeks. Now the
drive came offline again (surprise-surprise :).
Did some manipulations with raid-tools, like adding/removing drive from
the raid, marking faulty and such, have no success.
Here comes the problem:
Initializing the array with raid-tools gives me the following: not
enough operational devices for md0
Initializing the array with mdadm gives a little more info: /dev/md0
assembled from 1 drive and 2 spares.
So i suppose that i should do "something" to remove spare mark from 2
drives because they were part of an array and i hope my manipulations
did not destroyed them :). Just need to reconstruct the array with old
drives.
/proc/mdstat:
Personalities : [raid5]
read_ahead not set
md0 : inactive hdc1[1] hdb[4] hdd[3]
0 blocks
unused devices: <none>
/etc/raidtab:
raiddev /dev/md0
raid-level 5
nr-raid-disks 3
nr-spare-disks 0
persistent-superblock 1
parity-algorithm left-symmetric
chunk-size 128
device /dev/hdb1
raid-disk 0
device /dev/hdc1
raid-disk 1
device /dev/hdd1
raid-disk 2
reply other threads:[~2004-05-07 15:09 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=409BA6A9.4080203@rimako.lv \
--to=pmg@rimako.lv \
--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).