From owner-freebsd-stable@FreeBSD.ORG Fri Jun 10 01:16:31 2011 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 93E03106566B for ; Fri, 10 Jun 2011 01:16:31 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 444878FC17 for ; Fri, 10 Jun 2011 01:16:30 +0000 (UTC) Received: by iyj12 with SMTP id 12so2615766iyj.13 for ; Thu, 09 Jun 2011 18:16:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:date:from:to:cc:subject:message-id :reply-to:references:mime-version:content-type:content-disposition :in-reply-to:x-openpgp-key-id:x-openpgp-key-fingerprint :x-openpgp-key-url; bh=BYkxXxklQ9CQ/P12Rjo4lIVfkVvkYDa3uML+8WjjdYs=; b=bKWFKBxOzvacB8kGpAf1+C39Jplp2bZHiFXlcghCVTaMWH9oR9uR5/tJK6cZvLnAep F3uknOsU3H7WEy0DIJQewlVf8kBJB3IBeAnpMcqOisNRTphGLcznpFQzH5XltSm++G8c sCG1ZmygZXXhWPE+bq2cJ9t1oEMR38SOTov/U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:message-id:reply-to:references :mime-version:content-type:content-disposition:in-reply-to :x-openpgp-key-id:x-openpgp-key-fingerprint:x-openpgp-key-url; b=W3RO1psGPpOWp895fLi/hPYreAtLYqTrYKD75yypSix6YbBEUV8C+R4l+mHDKzGRPR E+N2eQoFG1H+N5Gg2Vx65Fs+xQhczet26/q8sVSY+THkh7vpIQ4dDZiBFI1LOmXVekGH EXBy5UlVildzzshXJg4vlP8zBwkaOdR5dCypo= Received: by 10.42.35.198 with SMTP id r6mr1725342icd.240.1307668590493; Thu, 09 Jun 2011 18:16:30 -0700 (PDT) Received: from DataIX.net (adsl-99-181-139-216.dsl.klmzmi.sbcglobal.net [99.181.139.216]) by mx.google.com with ESMTPS id d6sm1825658icx.13.2011.06.09.18.16.27 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 09 Jun 2011 18:16:28 -0700 (PDT) Sender: "J. Hellenthal" Received: from DataIX.net (localhost [127.0.0.1]) by DataIX.net (8.14.4/8.14.4) with ESMTP id p5A1GO8X048281 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 9 Jun 2011 21:16:25 -0400 (EDT) (envelope-from jhell@DataIX.net) Received: (from jhell@localhost) by DataIX.net (8.14.4/8.14.4/Submit) id p5A1GNa7048280; Thu, 9 Jun 2011 21:16:23 -0400 (EDT) (envelope-from jhell@DataIX.net) Date: Thu, 9 Jun 2011 21:16:23 -0400 From: Jason Hellenthal To: "C. P. Ghost" Message-ID: <20110610011623.GA45624@DataIX.net> References: <4DECB197.8020102@FreeBSD.org> <20110608211203.GA35440@alchemy.franken.de> <20110608225556.GQ7064@alchemy.franken.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0OAP2g/MAC+5xKAE" Content-Disposition: inline In-Reply-To: X-OpenPGP-Key-Id: 0x89D8547E X-OpenPGP-Key-Fingerprint: 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E X-OpenPGP-Key-URL: http://bit.ly/0x89D8547E Cc: freebsd-stable , Marius Strobl Subject: Re: HEADS UP: ZFS v28 merged to 8-STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jhell@DataIX.net List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jun 2011 01:16:31 -0000 --0OAP2g/MAC+5xKAE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 09, 2011 at 12:59:39AM +0200, C. P. Ghost wrote: > On Thu, Jun 9, 2011 at 12:55 AM, Marius Strobl > wrote: > > On Thu, Jun 09, 2011 at 12:46:19AM +0200, C. P. Ghost wrote: > >> On Wed, Jun 8, 2011 at 11:12 PM, Marius Strobl > >> wrote: > >> > On Mon, Jun 06, 2011 at 12:53:11PM +0200, Martin Matuska wrote: > >> >> Hi, > >> >> > >> >> I have merged ZFS version 28 to 8-STABLE (revision 222741) > >> >> > >> >> New major features: > >> >> > >> >> - data deduplication > >> >> - triple parity RAIDZ (RAIDZ3) > >> >> - zfs diff > >> >> - zpool split > >> >> - snapshot holds > >> >> - zpool import -F. Allows to rewind corrupted pool to earlier > >> >> ? transaction group > >> >> - possibility to import pool in read-only mode > >> >> > >> >> For updating, there is a compatibility layer so that in the update = phase > >> >> most functionality of the new zfs binaries can be used with the old > >> >> kernel module and old zfs binaries with the new kernel module. > >> > > >> > Beware that the compatibility layer is known broken on big-endian > >> > architectures, i.e. powerpc64 and sparc64. > >> > >> Thanks for the heads-up! I was just about to update a couple of sparc64 > >> machines here. Fortunately, the only ZFS file systems there are extern= al > >> file systems (no /, /usr, /var etc...), so it's gonna be painless, I s= uppose. > >> But what about other layouts? Does it mean that an installkernel, rebo= ot, > >> and installworld won't work? > > > > No, using the old zfs binaries with the new kernel module triggers the > > problem. Using the new zfs binaries with the new kernel module works > > (at least with CURRENT) so you'd need disregard everything that is > > documented and do what is not guaranteed to work but usually also does, > > i.e. do installkernel, installworld and then reboot. >=20 > Ah, yes, that's what I expected. Thank you! >=20 To add to this, what may or may not help you. If you installkernel+installworld and shutdown your pool might not umount cleanly or system might hang. If you create a copy of all the old zfs binaries into a seperate directory and run ldconfig -m /path/to/directory and make sure that the zfs and zpool binaries are in the PATH before shutdown for the scripts that run then you should be able to do this flawlessly and have a perfect working system after you reboot. This may require editing the zfs rcNG scripts to adjust the path for only shutdown. If all else fails remove the /boot/zfs/zpool.cache file after a reboot into single user mode then unload and reload the zfs and opensolaris modules and this should get you going in the right direction. Good luck. --=20 "Unity can only be manifested by the Binary. Unity itself and the idea of U= nity are already two." -- Buddha Regards, (jhell) Jason Hellenthal --0OAP2g/MAC+5xKAE Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) Comment: http://bit.ly/0x89D8547E iQEcBAEBAgAGBQJN8XBmAAoJEJBXh4mJ2FR+ZiwH/RyirgX7KgnsKtZARN0Y60k4 YhoZbjevonyutcETENKo7D11WxcFKYhl9sS1oKmT+Qxlr69qJtEFGha2QlYN3V2h 62g+yGxm9N43ZoZygRkkTV3B74k8v+39Hj2H1TcYwpTBiajwvc6PGvsVZhqtY7aH THVwJtwPn/INv1T+hMsgyqa2yUAKZdUPIQrBj8jAiQqW/8dI4dRlg3UT+hiXqtpA amjqpWIbY3l15madIimL7RmAjOp4czpjhXB5h0izZz0XdfzR7Z52K1ribXul6fgV KAsTpOXlbNUDHmBAHb8trFw1GKd1HIctJ3jR6LRYSRsS8m6XrtjeJjWFn7j16Tg= =u+LK -----END PGP SIGNATURE----- --0OAP2g/MAC+5xKAE--