From owner-freebsd-fs@FreeBSD.ORG Sat Sep 24 23:18:26 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 F38BE106566C for ; Sat, 24 Sep 2011 23:18: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 B59708FC12 for ; Sat, 24 Sep 2011 23:18:25 +0000 (UTC) Received: from localhost (alpha.tao.org.uk [95.154.203.106]) by alpha.tao.org.uk (Postfix) with ESMTP id 499EA11E452; Sun, 25 Sep 2011 00:02:44 +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 06139-01-8; Sun, 25 Sep 2011 00:02:44 +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 87E2D11E087; Sat, 24 Sep 2011 23:05:34 +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: <5E2A5A2A-6AE9-48FB-99E0-6C52DAB372E6@tao.org.uk> Date: Sat, 24 Sep 2011 23:05:39 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: 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:18:26 -0000 On 24 Sep 2011, at 23:00, Dr Josef Karthauser wrote: > 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..... Ah, no, that didn't work. It's still the same size: # zpool get all void NAME PROPERTY VALUE SOURCE void size 126G - void capacity 89% - void altroot - default void health ONLINE - void guid 10894823139123390159 default void version 28 default void bootfs void local void delegation on default void autoreplace off default void cachefile - default void failmode wait default void listsnapshots off default void autoexpand on local void dedupditto 0 default void dedupratio 1.00x - void free 13.6G - void allocated 112G - void readonly off - So, yes please, I could do with some more suggestions. Thanks :). Joe