From owner-freebsd-stable@FreeBSD.ORG Wed May 27 20:17:09 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C0A5F106581F; Wed, 27 May 2009 20:17:09 +0000 (UTC) (envelope-from hlh@restart.be) Received: from tignes.restart.be (tignes.restart.be [IPv6:2001:41d0:2:2d29:0:1::]) by mx1.freebsd.org (Postfix) with ESMTP id 490D08FC17; Wed, 27 May 2009 20:17:09 +0000 (UTC) (envelope-from hlh@restart.be) Received: from restart.be (avoriaz.tunnel.bel [IPv6:2001:41d0:2:2d29:1:ffff::]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "avoriaz.restart.be", Issuer "CA master" (verified OK)) by tignes.restart.be (Postfix) with ESMTPS id 797264EE8; Wed, 27 May 2009 22:17:08 +0200 (CEST) Received: from morzine.restart.bel (morzine.restart.be [IPv6:2001:41d0:2:2d29:1:2::]) (authenticated bits=0) by restart.be (8.14.3/8.14.3) with ESMTP id n4RKH4B9038854; Wed, 27 May 2009 22:17:04 +0200 (CEST) (envelope-from hlh@restart.be) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=restart.be; s=avoriaz; t=1243455427; bh=eQNegRTRQT58B+HiszknqIRMdz2HnGvMGmrGzxoF/Ts=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=VL2m+yrAkYUXFB4lF5Z0VNNbmbpcR7ztXsFfvSVFzWWQx6nULU82kXVijZmCz479k HaG8OLPaMJLgD8Jv3K0LQ== DomainKey-Signature: a=rsa-sha1; s=avoriaz; d=restart.be; c=nofws; q=dns; h=message-id:date:from:organization:user-agent:mime-version:to:cc: subject:references:in-reply-to:content-type: content-transfer-encoding:x-scanned-by; b=Tb9sSE1n35P1m4qaP6mgRYBqACYAf9wqbQOiSjIzUD98XtVpMlEPwyN1OAgiAqneP ZIyKVHMyJ8kkXh/nGCHBg== Message-ID: <4A1D9FC0.8040407@restart.be> Date: Wed, 27 May 2009 22:17:04 +0200 From: Henri Hennebert Organization: RestartSoft User-Agent: Thunderbird 2.0.0.21 (X11/20090412) MIME-Version: 1.0 To: Artem Belevich References: <3c1674c90905201643m540c8b1v8a8bd88f071c233d@mail.gmail.com> <4A1D0F2B.4030006@restart.be> <4A1D9D38.1050701@restart.be> In-Reply-To: <4A1D9D38.1050701@restart.be> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.64 on IPv6:2001:41d0:2:2d29:1:1:: Cc: freebsd-stable@freebsd.org, Kip Macy Subject: Re: ZFS MFC heads down X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 May 2009 20:17:10 -0000 Henri Hennebert wrote: > Artem Belevich wrote: >> I had the same problem on -current. Try attached patch. It may not >> apply cleanly on -stable, but should be easy enough to make equivalent >> changes on -stable. > > The patch is ok for stable. > > now I get for the pool with my root: > > [root@morzine libzpool]# zdb rpool > version=13 > name='rpool' > state=0 > txg=959 > pool_guid=17669857244588609348 > hostid=2315842372 > hostname='unset' > vdev_tree > type='root' > id=0 > guid=17669857244588609348 > children[0] > type='mirror' > id=0 > guid=3225603179255348056 > metaslab_array=23 > metaslab_shift=28 > ashift=9 > asize=51534888960 > is_log=0 > children[0] > type='disk' > id=0 > guid=17573085726489368265 > path='/dev/da0p2' > whole_disk=0 > children[1] > type='disk' > id=1 > guid=2736169600077218893 > path='/dev/da1p2' > whole_disk=0 > WARNING: pool 'rpool' could not be loaded as it was last accessed by > another system (host: unset hostid: 0x8a08f344). See: > http://www.sun.com/msg/ZFS-8000-EY > zdb: can't open rpool: No such file or directory > > But rpool have been used for many boot now - strange ... And dangerous: the second time I try: [root@morzine ~]# zdb rpool zdb: can't open rpool: No such file or directory [root@morzine ~]# And the real problem: rpool is no more in /boot/zfs/zpool.cache !!! Next boot will not work smoothly. Tomorrow, I will use the 3rd bootable disk to rebuild this. Henri > > Thanks for your patch and time > > Henri > > >> >> --Artem >> >> >> >> On Wed, May 27, 2009 at 3:00 AM, Henri Hennebert wrote: >>> Kip Macy wrote: >>>> On Wed, May 20, 2009 at 2:59 PM, Kip Macy wrote: >>>>> I will be MFC'ing the newer ZFS support some time this afternoon. Both >>>>> world and kernel will need to be re-built. Existing pools will >>>>> continue to work without upgrade. >>>>> >>>>> >>>>> If you choose to upgrade a pool to take advantage of new features you >>>>> will no longer be able to use it with sources prior to today. 'zfs >>>>> send/recv' is not expected to inter-operate between different pool >>>>> versions. >>>> >>>> The MFC went in r192498. Please let me know if you have any problems. >>> No a real problem but maybe worth mentioning: >>> >>> on FreeBSD morzine.restart.bel 7.2-STABLE FreeBSD 7.2-STABLE #0: Tue >>> May 26 >>> 15:37:48 CEST 2009 root@morzine.restart.bel:/usr/obj/usr/src/sys/MORZINE >>> i386 >>> >>> [root@morzine ~]# zdb rpool >>> version=13 >>> name='rpool' >>> state=0 >>> txg=959 >>> pool_guid=17669857244588609348 >>> hostid=2315842372 >>> hostname='unset' >>> vdev_tree >>> type='root' >>> id=0 >>> guid=17669857244588609348 >>> children[0] >>> type='mirror' >>> id=0 >>> guid=3225603179255348056 >>> metaslab_array=23 >>> metaslab_shift=28 >>> ashift=9 >>> asize=51534888960 >>> is_log=0 >>> children[0] >>> type='disk' >>> id=0 >>> guid=17573085726489368265 >>> path='/dev/da0p2' >>> whole_disk=0 >>> children[1] >>> type='disk' >>> id=1 >>> guid=2736169600077218893 >>> path='/dev/da1p2' >>> whole_disk=0 >>> Assertion failed: (?Ąuč? ėŪ¨´&), function mp->m_owner == NULL, file >>> /usr/src/cddl/lib/libzpool/../../../cddl/contrib/opensolaris/lib/libzpool/common/kernel.c, >>> >>> line 112. >>> Abort trap: 6 >>> >>> >>> and on FreeBSD avoriaz.restart.bel 7.2-STABLE FreeBSD 7.2-STABLE #0: >>> Mon May >>> 25 12:06:07 CEST 2009 >>> root@avoriaz.restart.bel:/usr/obj/usr/src/sys/AVORIAZ >>> amd64 >>> >>> [root@avoriaz ~]# zdb rpool >>> version=13 >>> name='rpool' >>> state=0 >>> txg=3467 >>> pool_guid=536117255064806899 >>> hostid=1133576597 >>> hostname='unset' >>> vdev_tree >>> type='root' >>> id=0 >>> guid=536117255064806899 >>> children[0] >>> type='mirror' >>> id=0 >>> guid=3124217685892976292 >>> metaslab_array=23 >>> metaslab_shift=30 >>> ashift=9 >>> asize=155741847552 >>> is_log=0 >>> children[0] >>> type='disk' >>> id=0 >>> guid=11099413743436480159 >>> path='/dev/ad4p2' >>> whole_disk=0 >>> children[1] >>> type='disk' >>> id=1 >>> guid=12724983687805955432 >>> path='/dev/ad6p2' >>> whole_disk=0 >>> Segmentation fault: 11 >>> >>> By the way, to help prepare a boot/root pool does a utility to >>> display the >>> content of zpool.cache exist ? >>> >>> >>> Henri >>>> Thanks, >>>> Kip >>>> _______________________________________________ >>>> freebsd-stable@freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-stable >>>> To unsubscribe, send any mail to >>>> "freebsd-stable-unsubscribe@freebsd.org" >>> _______________________________________________ >>> freebsd-stable@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-stable >>> To unsubscribe, send any mail to >>> "freebsd-stable-unsubscribe@freebsd.org" >>> >>> >>> ------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> freebsd-stable@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-stable >>> To unsubscribe, send any mail to >>> "freebsd-stable-unsubscribe@freebsd.org" > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"