Solved FreeBSD13: geli pool not recognized

Hi,
i recently upgraded from 12.2 to FreeBsd-13.0. My unencrypted zfs pools upgraded without problems, but my encrypted geli pool is not recognized anymore. If I boot into some old kernel, i can access the problematic pool but as this is the old zfs implementation, an upgrade is not possible. Does anybody have an idea, how to get the pool working under 13.0?

Thanks

Under 13.0:
Code:
root@:/usr/local/etc/rc.d # zpool online zp-storage2 /dev/gpt/da3-vol0.eli /dev/gpt/da2-vol0.eli /dev/gpt/da1-vol0.eli
cannot open 'zp-storage2': no such pool
Under 12.2:
Code:
root@:/ # zpool status zp-storage2                                                                  
  pool: zp-storage2                                                                                 
 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: resilvered 48K in 00:00:00 with 0 errors on Wed Aug 18 14:36:16 2021                        
config:                                                                                             
                                                                                                    
        NAME                  STATE     READ WRITE CKSUM                                            
        zp-storage2           ONLINE       0     0     0                                            
          mirror-0            ONLINE       0     0     0                                            
            gpt/da1-vol0.eli  ONLINE       0     0     0                                            
            gpt/da2-vol0.eli  ONLINE       0     0     0                                            
            gpt/da3-vol0.eli  ONLINE       0     0     0                                            
                                                                                                    
errors: No known data errors
 
Under 13.0:
Code:
root@:/usr/local/etc/rc.d # zpool online zp-storage2 /dev/gpt/da3-vol0.eli /dev/gpt/da2-vol0.eli /dev/gpt/da1-vol0.eli
cannot open 'zp-storage2': no such pool
You need to import the pool after unlocking it with geli(8). Do NOT upgrade the pool if you still want to be able to access it from 12.x. Upgrading the pool also isn't going to fix the issue with geli(8) encrypted pools not getting imported automatically. That's a known issue at the moment.
 
Thank you for your attendance.
Of couse the pool was unlocked (if you mean the geli attach /dev/gpt/daX-vol0) I use the same procedure under both OS levels. But you are right: I need to manually import the pool! That took it online automatically.
Thank you very much for the hint!
Regards
 
Yes, on 12.x those pools were automatically imported but on 13.0 this doesn't appear to be happening when the pool has been encrypted with geli(8). Other, non-encrypted, pools do get automatically imported.
 
Thank you for your attendance.
Of couse the pool was unlocked (if you mean the geli attach /dev/gpt/daX-vol0) I use the same procedure under both OS levels. But you are right: I need to manually import the pool! That took it online automatically.
Thank you very much for the hint!
Regards
You can always try to scan for pool devices (in your case) zpool import -d /dev/gpt then (as you probably have done) zpool import <poolname>
 
Back
Top