From owner-freebsd-fs@FreeBSD.ORG Fri Sep 20 23:55:59 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 871B2EA2; Fri, 20 Sep 2013 23:55:59 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4EC7E2A95; Fri, 20 Sep 2013 23:55:58 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.16]) by ltcfislmsgpa01.fnfis.com (8.14.5/8.14.5) with ESMTP id r8KNtwTP023048 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Fri, 20 Sep 2013 18:55:58 -0500 Received: from LTCFISWMSGMB21.FNFIS.com ([169.254.1.202]) by LTCFISWMSGHT05.FNFIS.com ([10.132.206.16]) with mapi id 14.02.0309.002; Fri, 20 Sep 2013 18:55:57 -0500 From: "Teske, Devin" To: Glen Barber Subject: Re: zpool upgrade issue? Thread-Topic: zpool upgrade issue? Thread-Index: AQHOtltn+EDNX2+qtUGA5DT+NrkuDw== Date: Fri, 20 Sep 2013 23:55:55 +0000 Message-ID: <13CA24D6AB415D428143D44749F57D720FBE0F97@LTCFISWMSGMB21.FNFIS.com> References: <13CA24D6AB415D428143D44749F57D720FBE0ED1@LTCFISWMSGMB21.FNFIS.com> <20130920235139.GS2302@glenbarber.us> In-Reply-To: <20130920235139.GS2302@glenbarber.us> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.132.253.121] Content-Type: text/plain; charset="us-ascii" Content-ID: <9144EA2EEBA7AA4594DADC1AB5C1BA8F@fisglobal.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8794, 1.0.431, 0.0.0000 definitions=2013-09-20_11:2013-09-20,2013-09-20,1970-01-01 signatures=0 Cc: freebsd-fs , Devin Teske , "Teske, Devin" X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Devin Teske List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Sep 2013 23:55:59 -0000 On Sep 20, 2013, at 4:51 PM, Glen Barber wrote: > 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 c= an >> 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 fea= ture >> 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 c= an >> 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 fea= ture >> 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:2= 9:15 UTC 2013 dteske@push840-64.vicor.com:/usr/src/sys/amd64/compile/FI= S-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 >=20 > Because it isn't version 28. Since the feature flags > (zpool-features(7)), the zpool spa version is 5000. >=20 Thanks. I also happened across r236884 and am reading up on that now too. --=20 Devin _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you.