From owner-freebsd-fs@FreeBSD.ORG Mon Sep 19 21:19:09 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 0666E1065674 for ; Mon, 19 Sep 2011 21:19:09 +0000 (UTC) (envelope-from ben@altesco.nl) Received: from altus-escon.com (altesco.xs4all.nl [82.95.106.39]) by mx1.freebsd.org (Postfix) with ESMTP id 7782F8FC0A for ; Mon, 19 Sep 2011 21:19:08 +0000 (UTC) Received: from giskard.stuyts.nl (stuyts.xs4all.nl [83.163.168.175]) by altus-escon.com (8.14.4/8.14.4) with ESMTP id p8JLIxSC088682; Mon, 19 Sep 2011 23:19:04 +0200 (CEST) (envelope-from ben@altesco.nl) Mime-Version: 1.0 (Apple Message framework v1250.3) From: Ben Stuyts In-Reply-To: Date: Mon, 19 Sep 2011 23:18:58 +0200 Message-Id: <85A88FCD-4ECE-46BC-85B7-7828F1A30F57@altesco.nl> References: <9774D03B-A8C7-48DE-9BC4-528DD4134787@altesco.nl> To: Freddie Cash X-Mailer: Apple Mail (2.1250.3) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (altus-escon.com [10.0.0.150]); Mon, 19 Sep 2011 23:19:05 +0200 (CEST) X-Virus-Scanned: clamav-milter 0.97 at mars.altus-escon.com X-Virus-Status: Clean X-Spam-Status: No, score=-1.9 required=3.5 tests=BAYES_00,HTML_MESSAGE autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mars.altus-escon.com Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-fs@freebsd.org Subject: Re: ZFS auto expand 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: Mon, 19 Sep 2011 21:19:09 -0000 On 19 sep. 2011, at 19:49, Freddie Cash wrote: > On Mon, Sep 19, 2011 at 10:08 AM, Ben Stuyts wrote: > I want to expand an existing mirror by replacing the existing drives = with bigger ones. This is on: > FreeBSD xxx 7.3-STABLE FreeBSD 7.3-STABLE #2: Mon Sep 20 18:36:08 CEST = 2010 root@xxx:/usr/obj/usr/src/sys/xxx amd64 >=20 > # zpool status home > pool: home > state: ONLINE > scrub: scrub completed after 2h0m with 0 errors on Mon Sep 19 = 18:25:45 2011 > config: >=20 > NAME STATE READ WRITE CKSUM > home ONLINE 0 0 0 > mirror ONLINE 0 0 0 > ad5s1a ONLINE 0 0 0 > ad7s1a ONLINE 0 0 0 >=20 > Will this version of FreeBSD auto-expand to the new, bigger drive size = once they are both replaced? I did not see the autoexpand property in = this pool. zpool is v13, zfs is v3. >=20 > No. You will need to reboot the system in order for the extra space = to become usable in the pool. Or, if none of the OS is installed on the = pool, you can export/import the pool to make the new space available.=20 Ok, at least it grows on export/import, so I don't need to create a new = pool and copy everything over. Thanks for the info! Ben