From owner-freebsd-stable@FreeBSD.ORG Tue Jun 5 12:28:27 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B9205106564A for ; Tue, 5 Jun 2012 12:28:27 +0000 (UTC) (envelope-from Holger.Kipp@alogis.com) Received: from alogis.com (firewall.solit-ag.de [212.184.102.1]) by mx1.freebsd.org (Postfix) with ESMTP id 33B658FC14 for ; Tue, 5 Jun 2012 12:28:26 +0000 (UTC) Received: from msx3.exchange.alogis.com (msx3exchange.alogis.com [10.1.1.6] (may be forged)) by alogis.com (8.13.4/8.13.1) with ESMTP id q55CSKAo023419; Tue, 5 Jun 2012 14:28:20 +0200 (CEST) (envelope-from Holger.Kipp@alogis.com) Received: from MSX3.exchange.alogis.com ([fe80::c8ed:428a:a157:b61]) by msx3.exchange.alogis.com ([fe80::c8ed:428a:a157:b61%13]) with mapi id 14.01.0255.000; Tue, 5 Jun 2012 14:28:15 +0200 From: Holger Kipp To: "Patrick M. Hausen" Thread-Topic: ZFS autoexpand when there are 2 raidz2 vdevs Thread-Index: AQHNQw52IL04OoalSU22GI1kOjHhSZbrpz8L Date: Tue, 5 Jun 2012 12:28:15 +0000 Message-ID: <1A593EEC-0D72-450C-8729-0A7F7FE80713@alogis.com> References: <3CC42829-EED0-4F40-A046-7191498B1850@punkt.de> In-Reply-To: <3CC42829-EED0-4F40-A046-7191498B1850@punkt.de> Accept-Language: en-GB, de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "freebsd-stable@freebsd.org Mailing List" Subject: Re: ZFS autoexpand when there are 2 raidz2 vdevs 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: Tue, 05 Jun 2012 12:28:27 -0000 Dear Patrick Am 05.06.2012 um 13:29 schrieb "Patrick M. Hausen" : > Hi, all, > > during the last couple of years I occasionally increased the capacity > of raidz2 based zpools by replacing one disk at a time and resilvering, > subsequently. After replacing the final disk and a reboot (I guess > zpool export & zpool import would have done the trick, too) the capacity > of the FS on top of that pool was increased according to the size of > the new disk. All of theses systems had a pool built on one single vdev. > > Last week I exchanged all disks of one vdev that is part of a 2 vdev > zpool. According to the Solaris documentation I found that should be > possible. I always assumed vdevs were sort of independent of each > other. > > My observations: > > During resilvering the activity LEDs of all 12 disks were showing heavy > load, not only the ones of the 6 disks being part of the vdev in question= . > > After exchanging all 6 disks the capacity stayed the same. I tried > > zpool export, zpool import > reboot > zpool scrub > > to no avail. I used zpool set autoextend=3Don tank zpool online -e tank da0 zpool online -e tank da1 ... zpool online -e tank da7 to increase the size of a raidz2 here from 5+ to 11+TB. Worked without problems. This was with v28. Please check manages etc. for further explanations. Best regards, Holger -- Holger Kipp Diplom-Mathematiker Senior Consultant Tel. : +49 30 436 58 114 Fax. : +49 30 436 58 214 Mobil: +49 178 36 58 114 Email: holger.kipp@alogis.com alogis AG Alt-Moabit 90b D-10559 Berlin web : http://www.alogis.com ---------------------------------------------------------- alogis AG Sitz/Registergericht: Berlin/AG Charlottenburg, HRB 71484 Vorstand: Arne Friedrichs, Joern Samuelson Aufsichtsratsvorsitzender: Reinhard Mielke