I had a pair of 200gb SSD with ZFS mirror, went through the process to successfully resilvered with a pair of 400GB, made sure each of the new drive can booth the system. But stuck couldn't expand the size.
I follow a couple thread here with export / import method and got data set busy
I then followed another thread using offline online method, all command executed but no change, see below
Have I done anything wrong? or is there another method?
PS. auto expand is on from beginning, did it last to log a result here
I follow a couple thread here with export / import method and got data set busy
Code:
root@r730:~# zpool export -f rpool
cannot unmount '/': pool or dataset is busy
I then followed another thread using offline online method, all command executed but no change, see below
Code:
root@r730:~# zpool status rpool
pool: rpool
state: ONLINE
scan: resilvered 1.31M in 00:00:00 with 0 errors on Sat Feb 17 15:12:59 2024
config:
NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
sda3 ONLINE 0 0 0
sdb3 ONLINE 0 0 0
errors: No known data errors
root@r730:~# zpool list rpool
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
rpool 185G 1.88G 183G - - 0% 1% 1.00x ONLINE -
root@r730:~# zpool offline rpool sda3
root@r730:~# zpool online -e rpool sda3
root@r730:~# zpool offline rpool sdb3
root@r730:~# zpool online -e rpool sdb3
root@r730:~# zpool list rpool
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
rpool 185G 1.88G 183G - - 0% 1% 1.00x ONLINE -
root@r730:~# zpool get autoexpand rpool
NAME PROPERTY VALUE SOURCE
rpool autoexpand on local
Have I done anything wrong? or is there another method?
PS. auto expand is on from beginning, did it last to log a result here
Last edited: