[zfs-discuss] PSARC recover files?
Tim Cook
tim at cook.ms
Tue Nov 10 13:04:24 PST 2009
On Tue, Nov 10, 2009 at 2:40 PM, BJ Quinn <bjquinn at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20091110/bb951d8f/attachment.html>
More information about the zfs-discuss
mailing list