Date: Mon, 13 Jun 2011 18:33:41 -0400 From: Daniel Staal <DStaal@usa.net> To: Howard Jones <howie@thingy.com>, freebsd-questions@freebsd.org Subject: Re: ZFS on 8.1 - various problems after a disk failure. Message-ID: <21B1659C1F68591DF0B608A0@mac-pro.magehandbook.com> In-Reply-To: <4DF63314.3000807@thingy.com> References: <4DF63314.3000807@thingy.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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. ---------------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?21B1659C1F68591DF0B608A0>
