Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Sep 2011 23:17:27 +0100
From:      Dr Josef Karthauser <joe@tao.org.uk>
To:        Dr Josef Karthauser <joe@tao.org.uk>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: Expanding a spool on a system with a single zfs root disk?
Message-ID:  <1F0AC978-F158-41BB-B1AE-38D4FFDC9D33@tao.org.uk>
In-Reply-To: <E2CA6574-6ED3-4E68-A272-0B4AF8503B4B@tao.org.uk>
References:  <2EF5C613-ACFF-449A-9388-664E0179F450@tao.org.uk> <5E2A5A2A-6AE9-48FB-99E0-6C52DAB372E6@tao.org.uk> <E2CA6574-6ED3-4E68-A272-0B4AF8503B4B@tao.org.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1F0AC978-F158-41BB-B1AE-38D4FFDC9D33>