linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Map Block number from hdd to md
@ 2010-02-12  0:24 Michael
  2010-02-16  1:20 ` Neil Brown
  0 siblings, 1 reply; 10+ messages in thread
From: Michael @ 2010-02-12  0:24 UTC (permalink / raw)
  To: linux-raid

Hello,

i've came into the situation that one of my 4 mdadm raid5 drives failed.
not realy faild, but not detectet at system startup. so i started resync,
and one of the remaining hdd's had a bad block and faild. so 2 drives
offline and raid not functional anymore.

1st question:
i have read that it is possible with debugfs to locate which file belongs
to the bad block on a ext file system. good thing, so i can check if i have
*lost* an inportant or an unimportant file... or just free space.
problen with this is, that i cant map the known bad block from, lets say,
sda to my raid array md0.

is there any method to find that bad block in context of the raid block
device? reading all files is not a good option on large raidsets.
level 5, 64k chunk, algorithm 2

2nd question:

in my case, i have a functional raid5 array with 3 of 4 disks, in which
one of the active discs has a bad sector. assume that the one failed disk
has consistent parity information/data on this sector, but has been altered
so that a complete resync would not work. is there a way to resync only
that one chunk that belongs to the block? using the data from the 3 drives
without a bad block, even if one is not a active part of the array but was
before?

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-02-18  4:12 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-12  0:24 Map Block number from hdd to md Michael
2010-02-16  1:20 ` Neil Brown
2010-02-16  4:02   ` Keld Simonsen
2010-02-16  4:38     ` Keld Simonsen
2010-02-16 10:57       ` Michael
2010-02-17  3:34         ` Keld Simonsen
2010-02-17  8:43           ` Michael
2010-02-16 11:14   ` Michael
2010-02-17 23:47     ` Neil Brown
2010-02-18  4:12       ` Keld Simonsen

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).