Did I expand my storage correctly?

hendry

Explorer
Joined
May 24, 2018
Messages
98
Did I expand my "low space" pool, correctly with 2xWD80EFAX 8TB disks using the Add vdevs option? https://youtu.be/V3zapubaNzY?t=315

I.e. not via extending or expanding...

Background: I'm following on from https://www.truenas.com/community/threads/upgrading-storage.79357/#post-550960

https://www.google.com/search?q=truenas+upgrade+pool gives me very poor search results. "https://archive.freenas.org/9.3/" is "Upgrading TrueNAS®"... pardon?

The TrueNAS documentation doesn't appear to mention **Expand pool**. This Reddit comment implies it might be a bad idea?! https://www.reddit.com/r/freenas/comments/ji7qas/upgrade_pool_option/ga57ig8/


Last additional question, is this https://s.natalian.org/2021-01-25/upgrade.png a wise action?
 

indy

Patron
Joined
Dec 28, 2013
Messages
287
Can you post the output of "zpool status" (with code tags)?
 

hendry

Explorer
Joined
May 24, 2018
Messages
98
Code:
freenas% zpool status             
  pool: freenas-boot              
 state: ONLINE                    
status: Some supported features are not enabled on the pool. The pool can                                                                
        still be used, but some features are unavailable.           
action: Enable all features using 'zpool upgrade'. Once this is done,                                                                    
        the pool may no longer be accessible by software that does not support                                                           
        the features. See zpool-features(5) for details.            
  scan: scrub repaired 0B in 00:01:52 with 0 errors on Sun Jan 24 03:46:52 2021                                                          
config:                           

        NAME          STATE     READ WRITE CKSUM                    
        freenas-boot  ONLINE       0     0     0                    
          da0p2       ONLINE       0     0     0                    

errors: No known data errors      

  pool: red                       
 state: ONLINE                    
status: Some supported features are not enabled on the pool. The pool can                                                                
        still be used, but some features are unavailable.           
action: Enable all features using 'zpool upgrade'. Once this is done,                                                                    
        the pool may no longer be accessible by software that does not support                                                           
        the features. See zpool-features(5) for details.            
  scan: scrub repaired 0B in 08:21:08 with 0 errors on Sun Dec 27 08:21:08 2020                                                          
config:                           

        NAME                                            STATE     READ WRITE CKSUM                                                       
        red                                             ONLINE       0     0     0                                                       
          mirror-0                                      ONLINE       0     0     0                                                       
            gptid/d29b9c19-5ed3-11e8-8715-b05ada874af8  ONLINE       0     0     0                                                       
            gptid/d3740634-5ed3-11e8-8715-b05ada874af8  ONLINE       0     0     0                                                       
          mirror-1                                      ONLINE       0     0     0                                                       
            gptid/d891299b-5ec0-11eb-b94b-b05ada874af8  ONLINE       0     0     0                                                       
            gptid/d8a3a5c6-5ec0-11eb-b94b-b05ada874af8  ONLINE       0     0     0                                                       

errors: No known data errors      
freenas%                          
 

Alecmascot

Guru
Joined
Mar 18, 2014
Messages
1,177
Looks fine
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
This is actually a common point of confusion with the documentation. There are 2 ways to expand a pool:
  1. Adding vdevs matching your current pool layout. This sets up a stripe between the current pool members and the new vdevs, which is what you’ve accomplished by adding a 2-disk mirror vdev to your existing 2-disk mirror vdev.
  2. Replacing all pool members with larger disks, assuming you have a pool topology that allows disk replacements without data loss. After the last disk goes in and the resilvering completes, then vdevs in the pool will then reflect the larger disks.
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
Top