From owner-freebsd-stable@FreeBSD.ORG Wed May 27 20:42:04 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 964D6106566C; Wed, 27 May 2009 20:42:04 +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 1E2098FC15; Wed, 27 May 2009 20:42:04 +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 284E94F60; Wed, 27 May 2009 22:42:03 +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 n4RKfxrJ039232; Wed, 27 May 2009 22:41:59 +0200 (CEST) (envelope-from hlh@restart.be) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=restart.be; s=avoriaz; t=1243456922; bh=Hw0sFTH64lXG0TmVwwXVxgyMYvN2DQuW8wZ7YexxEAs=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=PDiro1vs2P9zz6mAKkvP2Y77etstGDElcDb8mNrEdCaDrqNJWGhwspkMLmEJ7ax3h GvgLyTE7TGYQzidD6e9Fw== 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=HbRrzLcYsHi2QB0ol4udT0e4xwgyd9P92OW1rvYymBTaVdczDKQok5rV1JLEQIOZC WoX9/R2kraM1GI639xleg== Message-ID: <4A1DA597.7020905@restart.be> Date: Wed, 27 May 2009 22:41:59 +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: 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:42:05 -0000 Artem Belevich wrote: > Did you by any chance do that from single-user mode? ZFS seems to rely > on hostid being set. > Try running "/etc/rc.d/hostid start" and then re-try your zfs commands. I was in multiuser with hostid set. Henri > > --Artem > > > > On Wed, May 27, 2009 at 1:06 PM, 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 ... >> >> 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" >>