From owner-freebsd-fs@FreeBSD.ORG Sat Sep 24 23:13:25 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 BB4531065670 for ; Sat, 24 Sep 2011 23:13:25 +0000 (UTC) (envelope-from joe@tao.org.uk) Received: from alpha.tao.org.uk (alpha.tao.org.uk [95.154.203.106]) by mx1.freebsd.org (Postfix) with ESMTP id 7A6038FC0A for ; Sat, 24 Sep 2011 23:13:25 +0000 (UTC) Received: from localhost (alpha.tao.org.uk [95.154.203.106]) by alpha.tao.org.uk (Postfix) with ESMTP id 44C9F11E6C3; Sun, 25 Sep 2011 00:03:41 +0100 (BST) Received: from alpha.tao.org.uk ([95.154.203.106]) by localhost (mail.tao.org.uk [95.154.203.106]) (amavisd-maia, port 10024) with LMTP id 06605-01-2; Sun, 25 Sep 2011 00:03:40 +0100 (BST) Received: from [10.0.2.3] (p2.dhcp.tao.org.uk [90.155.77.81]) (Authenticated sender: joemail@alpha.tao.org.uk) by alpha.tao.org.uk (Postfix) with ESMTPA id A205611E126; Sat, 24 Sep 2011 23:17:21 +0100 (BST) Mime-Version: 1.0 (Apple Message framework v1244.3) Content-Type: text/plain; charset=us-ascii From: Dr Josef Karthauser In-Reply-To: Date: Sat, 24 Sep 2011 23:17:27 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <1F0AC978-F158-41BB-B1AE-38D4FFDC9D33@tao.org.uk> References: <2EF5C613-ACFF-449A-9388-664E0179F450@tao.org.uk> <5E2A5A2A-6AE9-48FB-99E0-6C52DAB372E6@tao.org.uk> To: Dr Josef Karthauser X-Mailer: Apple Mail (2.1244.3) X-Virus-Scanned: Maia Mailguard 1.0.2a Cc: freebsd-fs@freebsd.org Subject: Re: Expanding a spool on a system with a single zfs root disk? 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: Sat, 24 Sep 2011 23:13:25 -0000 On 24 Sep 2011, at 23:05, Dr Josef Karthauser wrote: > On 24 Sep 2011, at 23:00, Dr Josef Karthauser wrote: >=20 >> On 24 Sep 2011, at 22:44, Dr Josef Karthauser wrote: >>=20 >>> I'm scratching my head working out how to expand a zpool on a remote = server. It's got a larger gpart partition, and I want to grow the zpool = into it. I've got remote console access, but the system has the root = disk on the same zfs pool, so I can't simply export and reimport the = pool from single user mode. :/ Any ideas on how to achieve this then? >>=20 >> Ok, so it looks like zpool has an autoexpand setting... I've switched = it on, but it hasn't expanded. Perhaps it only expands when it's loaded? = Another reboot in order then..... >=20 > Ah, no, that didn't work. It's still the same size: >=20 > # zpool get all void > NAME PROPERTY VALUE SOURCE > void size 126G - >=20 > So, yes please, I could do with some more suggestions. I've sussed it: # zpool online -e void gpt/disk0 # zpool list NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT void 226G 112G 114G 49% 1.00x ONLINE - So, is it a bug that autoexpand doesn't work on zpools? Glad to have got it working, I was down to my last 10G! :) Joe