From owner-freebsd-fs@FreeBSD.ORG Mon Feb 1 16:07:24 2010 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8AE0F1065672 for ; Mon, 1 Feb 2010 16:07:24 +0000 (UTC) (envelope-from pathiaki2@yahoo.com) Received: from web110511.mail.gq1.yahoo.com (web110511.mail.gq1.yahoo.com [67.195.8.116]) by mx1.freebsd.org (Postfix) with SMTP id 5618C8FC12 for ; Mon, 1 Feb 2010 16:07:24 +0000 (UTC) Received: (qmail 32750 invoked by uid 60001); 1 Feb 2010 16:07:23 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1265040443; bh=UqEGqiw0cy8xoELf80IvCL8dnVJmNJE6OP72ugDezJQ=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=1sdAscpeW7PpXvWGf8dwFCrU79W/f8eE+ikWfyvR2LpTD4NuHuJmkgfh212t0ZoqW3JgdyJ8Na6cILqCbVIzHjBvy0WuoVKVH1S5GOOainWQJKqv/gZolLQ+dhq4khpGal6UuOxP3/o03HYoTh2blNQQvONaBUxfPE7muc7GQlk= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=LwkZheRtkOtepacC27Tqf76VA2oAmcRB1yFFU52JV8ydHLCSG6NBwwyL3dzgKzdBvgTGf7MegbIla0TE3W6ByMvRrxzSuWfOnY8vu69rQRC3jiqm8M8/Y5pf4L0rVn6yvIUMaYRXRu4I/WvVGTIpiknKeEQgxg1U9iC92nuafWc=; Message-ID: <845421.32713.qm@web110511.mail.gq1.yahoo.com> X-YMail-OSG: z8Q.JVIVM1mgTaRy6P16LN1mjWbk49kU.MgrX7iDU64qAw7TaOmaPUhkdAu_465J3EYMQkIAe80AdbGBQTVEZzcNA1QriFP5TrxOzfmkV0cFzMa92gm6IllbzN1GdnHQYx0cM4ilCC.9hCSI1g6xH5LJk36xYnchv5vWhTPglaMZPP4e7IipumsfzG4MM5jOjkMbS4j3aVdD5BUoIrrjUVoVO5hRzq.EDbRXQpoRK9k1vXCege02K1Ju6tride6QyHnIFTGIvjox84M6luX1FpFNhsNaK1CSW_gdfewh4h6HU3aLhwuOQvMA.5.eWU.w6f1wS0ZHQDiW5PITTNN1K.WNroNzBYnKm6sWpzm0oEceUDXtpB55KFTE1wTXZZVSHQudJszyTEmB.rzaWQ-- Received: from [71.174.61.120] by web110511.mail.gq1.yahoo.com via HTTP; Mon, 01 Feb 2010 08:07:23 PST X-Mailer: YahooMailRC/272.7 YahooMailWebService/0.8.100.260964 References: <419976.64363.qm@web110515.mail.gq1.yahoo.com> <422431.76479.qm@web110504.mail.gq1.yahoo.com> <529238.22926.qm@web110513.mail.gq1.yahoo.com> <377667.81874.qm@web110504.mail.gq1.yahoo.com> <4B61D668.3020703@bellanet.org> <539498.51342.qm@web110502.mail.gq1.yahoo.com> Date: Mon, 1 Feb 2010 08:07:23 -0800 (PST) From: Paul Pathiakis To: Paul Pathiakis , Graham Todd In-Reply-To: <539498.51342.qm@web110502.mail.gq1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-fs@freebsd.org Subject: Re: ZFS - scrub lead to corruption? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Feb 2010 16:07:24 -0000 **************************************************************************** Graham, Thanks for the info. I've realized something that is... disconcerting. (I had found that article but I don't think the FreeBSD zdb is as robust with features.) So, I did a quick install of a base OS. I've backed up everything in /usr that doesn't cause a crash (it's only /usr/bin, /usr/share, and /usr/obj files) onto the new pool. Many various files in directories and sub-sub-sub-sub... dirs in /usr have files in them that if you touch them *CRASH* I'm going to zfs destroy the /usr partition and all the subpartitions and recreate it. I'll restore everything from the new OS /usr. From there, I'll change my pool mountpoints back to the norm and I will see if I can make the world and install it. (I'm also going to upgrade the firmware on the drives as well. I'm going to see if Seagate release a version later than the one I have for the 1500 GB drives) I'll give the list an update after this. Paul ######################################################### Hi all! Well, I got it to work. I went back to my reference link from the wiki.freebsd.org/ZFS site. I installed the pmbr and gptzfsboot onto partition 'p1' on both disks of the mirror. (don't know if that's necessary, done as a CYA) I used zfs set mountpoint=/{pool mount} pool/mount for all the subdirs that were necessary. I cvsup'd from the booted system to the / //{usr, var,} I then cd into /{pool}/usr/src. I set DESTDIR to be /{pool}/usr/src make buildworld make buildkernel make installkernel make installworld (scary but had to be) THIS IS IMPORTANT!!! You need a zfspool.cache file in //boot/zfs dir. So, move it to a .old file in the booted filesystem and perform a: zpool export && zpool import Move this file to //boot/zfs. Move the old one back. Use zfs set mountpoint= commands to put all the pools back to the correct hierarchy so ZFS can mount them properly on reboot. I believe this is everything. I'm up and running and now understand a lot more about the new zfs boot process and zfs requirements. After all this, everything seems to be working fine. I'm going to cvsup STABLE and ports and rebuild the machine. P. PS - Anybody know how to remove some permanent errors I have? Once I zpool status, it showed 10 corrupt files, I copied stuff from back up and now says everything's fine but the errors exist (no longer paths) on the disk at 10 separate addresses. _______________________________________________ freebsd-fs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-fs To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"