From owner-freebsd-fs@FreeBSD.ORG Thu Jun 30 19:27:53 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 471E2106566B; Thu, 30 Jun 2011 19:27:53 +0000 (UTC) (envelope-from ktouet@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id A5B2D8FC12; Thu, 30 Jun 2011 19:27:52 +0000 (UTC) Received: by wyg24 with SMTP id 24so2444048wyg.13 for ; Thu, 30 Jun 2011 12:27:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=t3NaKqSvOxzb96i69BHrzv9b5F+ndEt9+wgCjKC4DuM=; b=fRDxsp5lqX6BTIti8A7gR/4UBENVQriktUZ0hAs3/pn3sZxdxq9f7blHHxI9T2fQHC oPLs+e4Ii4G0h8mL9fskmPX/xKB3T27eGJG8EVEovbD+G7PePYyFtwQIRV5MNOgl+YB6 PFTPwgTPzw4DBVQsK+67V60vLwX+QeWofSkyM= MIME-Version: 1.0 Received: by 10.216.173.14 with SMTP id u14mr399545wel.38.1309462071445; Thu, 30 Jun 2011 12:27:51 -0700 (PDT) Received: by 10.216.163.148 with HTTP; Thu, 30 Jun 2011 12:27:51 -0700 (PDT) In-Reply-To: References: Date: Thu, 30 Jun 2011 13:27:51 -0600 Message-ID: From: Kurt Touet To: Artem Belevich Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-fs@freebsd.org Subject: Re: ZFS v28 array doesn't expand with larger disks in mirror X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jun 2011 19:27:53 -0000 #zpool online -e storage ad20 #zpool online -e storage ad18 storage 6.33T 958G raidz1 5.10T 363G mirror 1.23T 595G Worked like a charm! Thanks for the help, -kurt On Thu, Jun 30, 2011 at 9:14 AM, Artem Belevich wrote: > On Thu, Jun 30, 2011 at 12:54 AM, Kurt Touet wrote: >> Thanks for that info Artem. =A0I have now set that property, >> exported/imported, and rebooted to no avail. =A0Is this something that >> needed to be set ahead of time? > > I guess autoexpand property only matter on disk change and does not > work retroactively. Try "zpool online -e" > > --Artem > >> >> Thanks, >> -kurt >> >> On Thu, Jun 30, 2011 at 1:03 AM, Artem Belevich wrote: >>> On Wed, Jun 29, 2011 at 11:29 PM, Kurt Touet wrote: >>>> I have an admittedly odd zfs v28 array configuration under stable/8 r2= 23484: >>>> >>>> # zpool status storage >>>> =A0pool: storage >>>> =A0state: ONLINE >>>> =A0scan: resilvered 1.21T in 10h50m with 0 errors on Wed Jun 29 23:21:= 46 2011 >>>> config: >>>> >>>> =A0 =A0 =A0 =A0NAME =A0 =A0 =A0 =A0STATE =A0 =A0 READ WRITE CKSUM >>>> =A0 =A0 =A0 =A0storage =A0 =A0 ONLINE =A0 =A0 =A0 0 =A0 =A0 0 =A0 =A0 = 0 >>>> =A0 =A0 =A0 =A0 =A0raidz1-0 =A0ONLINE =A0 =A0 =A0 0 =A0 =A0 0 =A0 =A0 = 0 >>>> =A0 =A0 =A0 =A0 =A0 =A0ad14 =A0 =A0ONLINE =A0 =A0 =A0 0 =A0 =A0 0 =A0 = =A0 0 >>>> =A0 =A0 =A0 =A0 =A0 =A0ad6 =A0 =A0 ONLINE =A0 =A0 =A0 0 =A0 =A0 0 =A0 = =A0 0 >>>> =A0 =A0 =A0 =A0 =A0 =A0ad12 =A0 =A0ONLINE =A0 =A0 =A0 0 =A0 =A0 0 =A0 = =A0 0 >>>> =A0 =A0 =A0 =A0 =A0 =A0ad4 =A0 =A0 ONLINE =A0 =A0 =A0 0 =A0 =A0 0 =A0 = =A0 0 >>>> =A0 =A0 =A0 =A0 =A0mirror-1 =A0ONLINE =A0 =A0 =A0 0 =A0 =A0 0 =A0 =A0 = 0 >>>> =A0 =A0 =A0 =A0 =A0 =A0ad20 =A0 =A0ONLINE =A0 =A0 =A0 0 =A0 =A0 0 =A0 = =A0 0 >>>> =A0 =A0 =A0 =A0 =A0 =A0ad18 =A0 =A0ONLINE =A0 =A0 =A0 0 =A0 =A0 0 =A0 = =A0 0 >>>> >>>> This was simply due to the need to expand the size of the original >>>> raidz1 only array and constraints within the box. =A0All drives in the >>>> box _were_ 1.5TB. =A0I had a drive in the mirror die this week, and I >>>> had 2 spare 2TB drives on hand. =A0So, I decided to replace both of th= e >>>> 1.5TB drives in the array with 2TB drives (and free up a little more >>>> space on the box). =A0However, after replacing both drives, the array >>>> did not expand in size. =A0It still acts as if the mirror contains 1.5= TB >>>> drives: >>>> >>>> storage =A0 =A0 6.28T =A0 548G >>>> =A0raidz1 =A0 =A05.07T =A0 399G >>>> =A0mirror =A0 =A01.21T =A0 150G >>>> >>>> Is this normal behaviour? =A0It was my understanding that zfs >>>> automatically adapted to having additional drive space in vdevs. >>> >>> You still have to set 'autoexpand' property on the pool in order for >>> expansion to happen. Perevious versions would expand the pool on >>> re-import or on boot. >>> >>> --Artem >>> >>>> >>>> -kurt >>>> _______________________________________________ >>>> freebsd-fs@freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-fs >>>> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" >>>> >>> >> >