> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:storage-discuss- > [EMAIL PROTECTED] On Behalf Of David > Sent: Tuesday, April 15, 2008 11:54 PM > To: [email protected] > Subject: [storage-discuss] Repairing known bad disk blocks before zfs > encounters them > > I have some code that implements background media scanning so I am able to > detect bad blocks well before zfs encounters them. I need a script or > something that will map the known bad block(s) to a logical block so I can > force zfs to repair the bad block from redundant/parity data.
Not sure why do you need that extra intelligence :). File-system will discover bad block on read and do automatic relocation, so why bother? > <snip> > It seems as if zfs's is too smart for it's own good and won't let me fix > something that I know is bad, before zfs has a chance to discover it for > itself. :) Well, you can write a generic disk driver that will do bad block discovery, map maintenance and remapping on access, but I have reasons to believe you'd be re-implementing parts of zfs. Regards, Andrey > > > This message posted from opensolaris.org > _______________________________________________ > storage-discuss mailing list > [email protected] > http://mail.opensolaris.org/mailman/listinfo/storage-discuss _______________________________________________ storage-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/storage-discuss
