Expanding a spool on a system with a single zfs root disk?
Dr Josef Karthauser
joe at tao.org.uk
Sat Sep 24 23:18:26 UTC 2011
On 24 Sep 2011, at 23:00, Dr Josef Karthauser wrote:
> On 24 Sep 2011, at 22:44, Dr Josef Karthauser wrote:
>
>> 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?
>
> 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
More information about the freebsd-fs
mailing list