From owner-freebsd-fs@FreeBSD.ORG Fri Sep 20 23:51:44 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 41C30C00; Fri, 20 Sep 2013 23:51:43 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from mail0.glenbarber.us (mail0.glenbarber.us [IPv6:2607:fc50:1:2300:1001:1001:1001:face]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1954B2A65; Fri, 20 Sep 2013 23:51:43 +0000 (UTC) Received: from glenbarber.us (c-71-224-221-174.hsd1.nj.comcast.net [71.224.221.174]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: gjb) by mail0.glenbarber.us (Postfix) with ESMTPSA id DF6D42644; Fri, 20 Sep 2013 23:51:40 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.8.3 mail0.glenbarber.us DF6D42644 Authentication-Results: mail0.glenbarber.us; dkim=none reason="no signature"; dkim-adsp=none Date: Fri, 20 Sep 2013 19:51:39 -0400 From: Glen Barber To: Devin Teske Subject: Re: zpool upgrade issue? Message-ID: <20130920235139.GS2302@glenbarber.us> References: <13CA24D6AB415D428143D44749F57D720FBE0ED1@LTCFISWMSGMB21.FNFIS.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="vru7fAags9pVPvn5" Content-Disposition: inline In-Reply-To: <13CA24D6AB415D428143D44749F57D720FBE0ED1@LTCFISWMSGMB21.FNFIS.com> X-Operating-System: FreeBSD 10.0-ALPHA2 amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-fs X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Sep 2013 23:51:44 -0000 --vru7fAags9pVPvn5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 20, 2013 at 11:44:54PM +0000, Teske, Devin wrote: > Hi, >=20 > I recently upgraded a ZFS pool on my system and the reported version > changed from "14" to "-" and I'm wondering if this is a bug. >=20 > dteske@hvm2a ~ $ zpool list > NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT > LSI-RAID1 1.39T 6.58G 1.39T 0% 1.00x ONLINE - > NEC2_POOL_A 3.91T 126K 3.91T 0% 1.00x ONLINE - > dteske@hvm2a ~ $ zpool status > pool: LSI-RAID1 > state: ONLINE > status: The pool is formatted using a legacy on-disk format. The pool can > still be used, but some features are unavailable. > action: Upgrade the pool using 'zpool upgrade'. Once this is done, the > pool will no longer be accessible on software that does not support feat= ure > flags. > scan: none requested > config: >=20 > NAME STATE READ WRITE CKSUM > LSI-RAID1 ONLINE 0 0 0 > mfid0s1g ONLINE 0 0 0 > mfid1 ONLINE 0 0 0 >=20 > errors: No known data errors >=20 > pool: NEC2_POOL_A > state: ONLINE > status: The pool is formatted using a legacy on-disk format. The pool can > still be used, but some features are unavailable. > action: Upgrade the pool using 'zpool upgrade'. Once this is done, the > pool will no longer be accessible on software that does not support feat= ure > flags. > scan: none requested > config: >=20 > NAME STATE READ WRITE CKSUM > NEC2_POOL_A ONLINE 0 0 0 > multipath/NEC2_LUN_A ONLINE 0 0 0 >=20 > errors: No known data errors > dteske@hvm2a ~ $ zpool get version > NAME PROPERTY VALUE SOURCE > LSI-RAID1 version 14 local > NEC2_POOL_A version 14 local >=20 >=20 > =3D=3D=3D Now for the upgrade =3D=3D=3D >=20 >=20 > dteske@hvm2a ~ $ uname -a > FreeBSD hvm2a 8.4-STABLE FreeBSD 8.4-STABLE #2 r255470M: Wed Sep 11 01:29= :15 UTC 2013 dteske@push840-64.vicor.com:/usr/src/sys/amd64/compile/FIS= -amd64 amd64 > dteske@hvm2a ~ $ sr zpool upgrade -a > [sudo] Password: > This system supports ZFS pool feature flags. >=20 > Successfully upgraded 'LSI-RAID1' from version 14 to feature flags. > Enabled the following features on 'LSI-RAID1': > async_destroy > empty_bpobj > lz4_compress >=20 > Successfully upgraded 'NEC2_POOL_A' from version 14 to feature flags. > Enabled the following features on 'NEC2_POOL_A': > async_destroy > empty_bpobj > lz4_compress >=20 > dteske@hvm2a ~ $ zpool get version > NAME PROPERTY VALUE SOURCE > LSI-RAID1 version - default > NEC2_POOL_A version - default >=20 > =3D=3D=3D Why doesn't it say 28?? =3D=3D=3D >=20 Because it isn't version 28. Since the feature flags (zpool-features(7)), the zpool spa version is 5000. Glen --vru7fAags9pVPvn5 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.21 (FreeBSD) iQEcBAEBCAAGBQJSPN+LAAoJEFJPDDeguUajmowH/105hB+q8LnqGOzxMiI0nLl9 aKq0EcERLh8fjzL+3l4tFrtKq4ZW3Up3+5BVI8H2EQaPPLbSjFquVT5zS2TonF7a jV630KW/b54Z/1EVcc47Fwxk2hWKWq2UUQfZF0GBpD2D1dSPh1ZDEhkP85HCqw1J XawFBQiN4XfOf8UDQgCHuSpfKmnJkEGbNpG+HReHg0qPabBgGoNgrms2GFycL5R2 AFhBqiUFJ8lWEJC5wlBerX8EaoOgbjmf3edhQ3V4RWPxAA9g2qEAqAIKZ1/nV1NT sJP+fMTBRzcojVtwRo1MoPTaAWmfQIhDgWoSe9GKzr9YQPrkvXf88QmbqjgEJTg= =n8/8 -----END PGP SIGNATURE----- --vru7fAags9pVPvn5--