Expand Pool on the larger replaced disks. The UI do not show the new expanded size (free size)

FredEren

Cadet
Joined
Jul 26, 2022
Messages
7
To increas the disk space I have replaced all the disks in a RAIDZ2 pool with larger disk, with the same disk size. But the pool free disk size is still the same.
My steps done.
  1. Check auto expand option = true
  2. Replace all four disks from 4TB to 16TB
  3. After last re-silvering it seems to be ok in shell view
    1658823439820.png
  4. But in UI it still was 100% used still after 24h
    1658823488789.png
Is the safe solution to export and import the pool?
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
I have replaced all the disks in a RAIDZ2 pool with larger disk, with the same disk size
Do you mean more terabytes, but the same 3.5" form-factor?

What is the result from zpool get autoexpand main ?
 
Joined
Jun 2, 2019
Messages
591
Welcome

Code:
zpool get autoexpand
zpool set autoexpand=on main
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
Once for all devices:
zpool online -e <zpool-name> gptid/<device-uuid>
 

FredEren

Cadet
Joined
Jul 26, 2022
Messages
7
Do you mean more terabytes, but the same 3.5" form-factor?

What is the result from zpool get autoexpand main ?
I meant replaced all 3.5" disks whith a larger disc capacity of 16TB
zpool result is still -> main autoexpand on local
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
If that does not work, a gpart resize might be necessary, first. Please post the output of gpart show in that case.
 

FredEren

Cadet
Joined
Jul 26, 2022
Messages
7
If that does not work, a gpart resize might be necessary, first. Please post the output of gpart show in that case.
No that didn't work. The command zpool online -e ... reports ok but nothing happens.
Here are the screen dump from gpart show da2-da5 is in pool main RAIDZ2
1658903087690.png
 

FredEren

Cadet
Joined
Jul 26, 2022
Messages
7
Any suggestion because the GUI still says 100% used. Do I have to rebuild the RAIDZ2 and copy from backup?
1658997752047.png
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
zpool list is showing that it's actually fine, it's just the GUI that hasn't caught up with what's going on...

Have you rebooted since making the changes?

If not, maybe just a middleware restart would be enough to kick it over... service restart middlewared
 

FredEren

Cadet
Joined
Jul 26, 2022
Messages
7
Yes I have rebooted several times. Nothing is updated in GUI.
Can I force an update in any way without disconnect/connect?

If not is it "risk free" if I do export/disconnect and import/connect the main pool and keep the, not select check box "Delete configuration of shares that used this pool".
And it seems that the "System Dataset Pool" will be automatic move to another online pool. Can I bring it back afterwards because the other pools are not raided.
 

FredEren

Cadet
Joined
Jul 26, 2022
Messages
7
I finally find out that there was a quota set 6.2TB on the pool Dataset main done by the guy who did the configuration which wasn't me :rolleyes:
1659331664514.png

Thanks for all help and suggestions :grin:
 
Top