Skip to content. | Skip to navigation

Personal tools

Navigation

You are here: Home / Notes / Growing ZFS pool

Growing ZFS pool

Growing ZFS pool

 

Make sure that autoexpand is on, activate it:
#zpool get autoexpand zdata
NAME PROPERTY VALUE SOURCE
zdata autoexpand off default
#zpool set autoexpand=on zdata
NAME PROPERTY VALUE SOURCE
zdata autoexpand on local
Check "expandsize":
#zpool get expandsize zdata
NAME PROPERTY VALUE SOURCE
zdata expandsize 2.27T -
Do zpool online -e for all replaced devices:
#zpool online -e zdata gpt/disk1
#zpool online -e zdata gpt/disk0
check:
#zfs list zdata
NAME USED AVAIL REFER MOUNTPOINT
zdata 3.21T 3.04T 236K /zdata