On Tue, Nov 10, 2009 at 2:40 PM, BJ Quinn <bjqu...@seidal.com> wrote:

> Say I end up with a handful of unrecoverable bad blocks that just so happen
> to be referenced by ALL of my snapshots (in some file that's been around
> forever).  Say I don't care about the file or two in which the bad blocks
> exist.  Is there any way to purge those blocks from the pool (and all
> snapshots) without having to restore the whole pool from backup?
>


No.  The whole point of a snapshot is to keep a consistent on-disk state
from a certain point in time.  I'm not entirely sure how you managed to
corrupt blocks that are part of an existing snapshot though, as they'd be
read-only.  The only way that should even be able to happen is if you took a
snapshot after the blocks were already corrupted.  Any new writes would be
allocated from new blocks.

--Tim
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to