RAIDZ1 not expanding

slim2018

Dabbler
Joined
Dec 23, 2018
Messages
11
I had 6 x 480GB and i'm replacing the hard drives one by one, I'm on my third hard drive now, I'm replacing them with 1.8TB, so i'll have 6x 1.8TB. After resilvering each drive the size of the pool is still the same.

Code:
NAME           SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP    HEALTH  ALTROOT
TANK          2.44T  1002G  1.46T        -         -    13%    40%  1.00x    ONLINE  /mnt
freenas-boot  28.5G  7.25G  21.3G        -         -      -    25%  1.00x    ONLINE  -


Code:
gpart show       
=>       40  879097888  da0  GPT  (419G)
         40         88       - free -  (44K)
        128    4194304    1  freebsd-swap  (2.0G)
    4194432  874903496    2  freebsd-zfs  (417G)

=>       40  879097888  da1  GPT  (419G)
         40         88       - free -  (44K)
        128    4194304    1  freebsd-swap  (2.0G)
    4194432  874903496    2  freebsd-zfs  (417G)

=>       40  879097888  da2  GPT  (419G)
         40         88       - free -  (44K)
        128    4194304    1  freebsd-swap  (2.0G)
    4194432  874903496    2  freebsd-zfs  (417G)

=>        40  3907029088  da4  GPT  (1.8T)
          40          88       - free -  (44K)
         128     4194304    1  freebsd-swap  (2.0G)
     4194432  3902834696    2  freebsd-zfs  (1.8T)

=>        40  3907029088  da5  GPT  (1.8T)
          40          88       - free -  (44K)
         128     4194304    1  freebsd-swap  (2.0G)
     4194432  3902834696    2  freebsd-zfs  (1.8T)

=>      40  60088240  da6  GPT  (29G)
        40      1024    1  freebsd-boot  (512K)
      1064  60087216    2  freebsd-zfs  (29G)

=>        40  3907029088  da3  GPT  (1.8T)
          40          88       - free -  (44K)
         128     4194304    1  freebsd-swap  (2.0G)
     4194432  3902834696    2  freebsd-zfs  (1.8T)


I tried using
Code:
zpool online -e TANK ...
also rebooting the system but nothing has changed.

Code:
zpool status TANK                                             
  pool: TANK
 state: ONLINE
status: One or more devices is currently being resilvered.  The pool will
    continue to function, possibly in a degraded state.
action: Wait for the resilver to complete.
  scan: resilver in progress since Sat Jan 16 02:05:01 2021
    1002G scanned at 556M/s, 71.5G issued at 39.7M/s, 1002G total
    10.1G resilvered, 7.14% done, 06:39:52 to go
config:

    NAME                                            STATE     READ WRITE CKSUM
    TANK                                            ONLINE       0     0     0
      raidz1-0                                      ONLINE       0     0     0
        gptid/9c3cb998-bfad-11ea-a44b-001e67188500  ONLINE       0     0     0
        gptid/38cb724b-579f-11eb-8e20-001e67188500  ONLINE       0     0     0  (resilvering)
        gptid/9cbff122-bfad-11ea-a44b-001e67188500  ONLINE       0     0     0
        gptid/9cf6a9dc-bfad-11ea-a44b-001e67188500  ONLINE       0     0     0
        gptid/e3d4c9a2-5770-11eb-913d-001e67188500  ONLINE       0     0     0
        gptid/ab2e87b7-572c-11eb-913d-001e67188500  ONLINE       0     0     0

errors: No known data errors


Code:
zpool get autoexpand TANK                                     
NAME  PROPERTY    VALUE   SOURCE
TANK  autoexpand  on      local


Any help would be appreciated.
 

Kris Moore

SVP of Engineering
Administrator
Moderator
iXsystems
Joined
Nov 12, 2015
Messages
1,471
It won't auto-resize until all 6 disks are replaced with the newer 1.8T drives. Once done then your zpool online -e should work.
 

slim2018

Dabbler
Joined
Dec 23, 2018
Messages
11
Thanks Kris Moore for the quick reply, I can now finally sleep without worrying. I'll be completing the upgrade tomorrow (or today, it is 2:45am here), I'll update the post when it is completed.
 

Kris Moore

SVP of Engineering
Administrator
Moderator
iXsystems
Joined
Nov 12, 2015
Messages
1,471
No problem! Yea, don't loose sleep over it. Its doing exactly what it should :) Good luck on the expansion in the morning!
 

slim2018

Dabbler
Joined
Dec 23, 2018
Messages
11
Just inserted the last drive for resilvering and the size has increased, so it's all working the way it should do.
 
Top