ZFS on 8.1 - various problems after a disk failure.
Daniel Staal
DStaal at usa.net
Mon Jun 13 22:33:44 UTC 2011
--As of June 13, 2011 4:56:04 PM +0100, Howard Jones is alleged to have
said:
> Now I have a few problems:
> 1) The old ad4 is still listed, even after several scrub/resilvers.
> Shouldn't it go away?
> 2) Although I lost a whole directory with ~1TB of music, the space
> allocated to that directory is still around according df.
> 3) I have another bunch of files that appear in directory listings, but
> if I get "Illegal byte sequence" errors when trying to read them (with
> anything - du, file, wc).
>
> I have backups of most of the stuff on the pool (although it'd be nice
> to recover the more recent data), but how do I get out of this situation
> without nuking the site from orbit? (my current plan) Firstly, to get a
> reliable representation of what's actually on the filesystem, and for
> bonus points, getting back some of the data that should be intact (only
> one disk in the set was actually bad, right?).
--As for the rest, it is mine.
This page seems relevant:
<http://dlc.sun.com/osol/docs/content/ZFSADMIN/gbbwl.html>
It looks like some damaged data made it through the normal ZFS integrity
checks. There are some instructions on the link on how to identify the
files/blocks in question. If it's just files, then it looks like you
should be able to delete them, restore from backup, and go. (With the rest
of your pool working just fine.) If it's data blocks, well, you probably
wouldn't be in as good as state as you are. ;)
That said, from the output you listed, there are probably 15,190 or so
files with errors...
Daniel T. Staal
---------------------------------------------------------------
This email copyright the author. Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes. This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---------------------------------------------------------------
More information about the freebsd-questions
mailing list