* remove 'spare' mark on drive
@ 2004-05-07 15:09 Paul M. Goorskis
0 siblings, 0 replies; only message in thread
From: Paul M. Goorskis @ 2004-05-07 15:09 UTC (permalink / raw)
To: linux-raid
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-05-07 15:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-07 15:09 remove 'spare' mark on drive Paul M. Goorskis
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).