From owner-freebsd-fs@FreeBSD.ORG Fri Mar 2 15:07:02 2012 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 A4460106564A for ; Fri, 2 Mar 2012 15:07:02 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 29E2B8FC14 for ; Fri, 2 Mar 2012 15:07:01 +0000 (UTC) Received: by eekd17 with SMTP id d17so673218eek.13 for ; Fri, 02 Mar 2012 07:07:01 -0800 (PST) Received-SPF: pass (google.com: domain of c.kworr@gmail.com designates 10.14.119.194 as permitted sender) client-ip=10.14.119.194; Authentication-Results: mr.google.com; spf=pass (google.com: domain of c.kworr@gmail.com designates 10.14.119.194 as permitted sender) smtp.mail=c.kworr@gmail.com; dkim=pass header.i=c.kworr@gmail.com Received: from mr.google.com ([10.14.119.194]) by 10.14.119.194 with SMTP id n42mr6158094eeh.113.1330700821123 (num_hops = 1); Fri, 02 Mar 2012 07:07:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=CnHsgjssbNqzEWUFVTVkLVz/z5L2EAyYabRQHA9nRbI=; b=0vtRtjkJFpPaA7ScxA0gqR3xJEi2kfeZWYuzDRfPI/qWEbIoULg0yu/2QkKhnSIE/w xaxZoOOKMFo/P+f/uI/WUVXTXtMOWK3WwqngnKKgtAjU48IxxuZMooMt7MWjqCH4SGLQ TutWkffqqeBbm+tjHpgN58ClaqeQSarxUlr2h+kDhSQQA53K2NoJbq8GPBLGOkX+9qvw q6bStwOyqsSKS6cC1J/NGsDV2rA6h/SufdSNlKJn/iWKJR/UyTGlXbDCkoAUM7hCFc5u tx8H1sjzxDhxkMLbbXFvX+t71weIJ6KNTR1vrNZA2j2uL9RvXMfyQM/ftUU8lAgQUQbi 9K+Q== Received: by 10.14.119.194 with SMTP id n42mr4700386eeh.113.1330699485025; Fri, 02 Mar 2012 06:44:45 -0800 (PST) Received: from green.tandem.local (184-174-132-95.pool.ukrtel.net. [95.132.174.184]) by mx.google.com with ESMTPS id c15sm21015421eei.9.2012.03.02.06.44.41 (version=SSLv3 cipher=OTHER); Fri, 02 Mar 2012 06:44:43 -0800 (PST) Message-ID: <4F50DCD8.9080603@gmail.com> Date: Fri, 02 Mar 2012 16:44:40 +0200 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.2) Gecko/20120220 Firefox/10.0.2 SeaMonkey/2.7.2 MIME-Version: 1.0 To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: zfs fails to mount correctly during 8.2 -> 9.0 update 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: Fri, 02 Mar 2012 15:07:02 -0000 Hi all. I'm writing it just in case someone else will face this problem. Some days ago I was moving my last server from 8.2 to 9.0. At first I had installed kernel with: make KODIR=/boot/test installkernel and rebooted. At loader prompt I selected this kernel with: unload boot-conf /boot/test After that 9.0 kernel was loaded with 8.2 userland. I know this is not the right-and-only-one way of updating FreeBSD but it works for me through releases. But this time something strange happened. During system mount kernel spits out something like: Solaris: WARNING: metaslab_free_dva(): bad DVA 0:52834975928475 It was something like one page of this lines. The pool seems to be mounted readonly and refused to remount writable. It return zero empty space and status stated something about stopped scrub. Second pull was writable and working. However I haven't updated the userland so I just rebooted back to 8.2 kernel. Machine comes back online at full health. Everything stated both pools are healthy and working. Scrub doesn't yield any results - not a single error. I wiped /usr/obj and rebuilt everything from a scratch. After planting a test kernel and booting from it everything worked fine so I continued with upgrade. After upgrade was committed and pools were updated to ZFSv28 I repeated scrub on both. There was no single error. -- Sphinx of black quartz judge my vow.