RAID5 failure due to changing, by mistake, of a good disk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I had a RAID 5 made from 3 hard disks. One of the hard disk started to
have bad blocks (to fail), several weeks ago. I didn't had time to
change it, until today.

But from mistake, instead changing Primary Master (hda - that was
failing), I've replaced the hdc (second disk in the array). After
starting the system, the array tried to get online, it found the new
hard disk and marked it as spare disk. I think it started to resync
the information to the spare, but the failing disk had error and the
array didn't got online, giving I/O error. I've seen on the screen the
errors and I realized that I changed the wrong disk, so I placed the
old good disk in place and placed the new disk in the bad one's place
(like I had to do first time). But, the array seen the old good disk
(with correct data) as spare disk, also.

So, I can't bring the array online with one good remained disk and one
spare. The "spare" disk, that was the good one, has the correct data
information on it, only that it's seen as spare one. There is a way to
make the md to see it as active disk? Modifying the super block or
other way?

On this array I have a lot of LVs and they contains 4 virtual machines
with a lot of information on it.

Can you help me with some advice?

Thank you,

--
 Claudiu Cismaru
 Network/System Administrator
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux