Cache drive missing after upgrade to scale from core

zeos386sx

Cadet
Joined
Nov 11, 2023
Messages
5
I just upgraded from core to scale and everything seems to be fine, except for the disk I was using for cache is not in the pool anymore. I have tried to add it back, but I get the error in the screenshot. What am I doing wrong?
cache.png
 

Arwen

MVP
Joined
May 17, 2014
Messages
3,611
Always check from the command line to make sure it truly is missing. GUIs are software too, and can have bugs. So, what does this command say?
zpool status
 

zeos386sx

Cadet
Joined
Nov 11, 2023
Messages
5
Sorry for the slow reply here is the output.

zeos@infosphere:~$ sudo zpool status
[sudo] password for zeos:
pool: Infosphere
state: ONLINE
scan: scrub repaired 0B in 00:23:30 with 0 errors on Sun Nov 12 00:23:32 2023
config:

NAME STATE READ WRITE CKSUM
Infosphere ONLINE 0 0 0
raidz2-0 ONLINE 0 0 0
sdc2 ONLINE 0 0 0
sdb2 ONLINE 0 0 0
sde2 ONLINE 0 0 0
sdd2 ONLINE 0 0 0

errors: No known data errors

pool: boot-pool
state: ONLINE
status: Some supported and requested 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(7) for details.
scan: scrub repaired 0B in 00:00:34 with 0 errors on Mon Nov 13 03:45:35 2023
config:

NAME STATE READ WRITE CKSUM
boot-pool ONLINE 0 0 0
sda2 ONLINE 0 0 0

errors: No known data errors
 

Arwen

MVP
Joined
May 17, 2014
Messages
3,611
The GUI error appears to be unrelated to your missing Cache drive. Ignore it for the moment.

Yes, your data pool is lacking a Cache drive.

If you used the proper procedure to re-add it to your data pool, what does the GUI say?
 

Arwen

MVP
Joined
May 17, 2014
Messages
3,611
Yes and no. In general, you want to do things that the GUI / Middleware knows about.

Many things can be done from the command line. But, changing pool devices is not one of them. If you change the pool device list, the GUI won't know about it. Maybe a reboot would fix that problem.

What I meant was that the screen snapshot you've shown does not appear to be the proper GUI way to add a Cache / L2ARC device.
 

zeos386sx

Cadet
Joined
Nov 11, 2023
Messages
5
It seems there are two ways to do it through the webui. One through the main storage page which had a notice for unused disks with a manage button and another add vdevs button under manage devices in topology. Both go the same page, and both give the same error. I have tried the basic option and the manual disk selection option. Is there another way I have missed?
 

Arwen

MVP
Joined
May 17, 2014
Messages
3,611
It does appear you have found a bug. If you are on the most current version of SCALE, you might want to "Report a Bug", at the top of the forum.

I would hesitate to add the Cache drive via the command line, because it is helpful to have it partitioned as normal. That said, if it was a Cache drive before, it may still have the proper partitioning already.
 

zeos386sx

Cadet
Joined
Nov 11, 2023
Messages
5
One thing I noticed is that in the webui it always says that the drive is 0 B, so I tried the wiping it from the manage disk page. That didn't help, so I threw caution to the wind and added it with the zpool command. The command I used was $ sudo zpool add Infosphere cache nvme0n1. That seemed to work and everything shows up in the webui. Thank you for your help.

Here is the status output now.
zeos@infosphere:~$ sudo zpool status
[sudo] password for zeos:
pool: Infosphere
state: ONLINE
scan: scrub repaired 0B in 00:23:30 with 0 errors on Sun Nov 12 00:23:32 2023
config:

NAME STATE READ WRITE CKSUM
Infosphere ONLINE 0 0 0
raidz2-0 ONLINE 0 0 0
sdc2 ONLINE 0 0 0
sdb2 ONLINE 0 0 0
sde2 ONLINE 0 0 0
sdd2 ONLINE 0 0 0
cache
nvme0n1 ONLINE 0 0 0

errors: No known data errors

pool: boot-pool
state: ONLINE
status: Some supported and requested 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(7) for details.
scan: scrub repaired 0B in 00:00:35 with 0 errors on Mon Nov 20 03:45:36 2023
config:

NAME STATE READ WRITE CKSUM
boot-pool ONLINE 0 0 0
sda2 ONLINE 0 0 0

errors: No known data errors

storage.png
 
Top