Pool doesn't exist - drives not allocated

spyder

Dabbler
Joined
Apr 22, 2018
Messages
26
I am running Truenas-12-0-u6,1

I noticed disks were disappearing off the list of drives under storage, so I replaced the power cable (powering 4 3.5 WD red)

The pool shows as offline with a red button to export/disconnect. none of the disks on the list are assigned to a pool.

Background: We recently moved and then suddenly most of the drives showed as 'degraded' so I've been slowly replacing them. I have two devs, both showing as degraded, mostly due to occasional read errors. Disks were also not showing at ALL under the disks tab, so I started replacing cables. The last one did the trick and now they are all there, but I somehow killed something.

I was sure I did a snapshot, but nothing shows there. Am I screwed?
disks2.PNG
 

Davvo

MVP
Joined
Jul 12, 2022
Messages
3,222
How did you replace them?
Please post the output of zpool status between [CODE] and [/CODE].
Please list your hardware.
 

spyder

Dabbler
Joined
Apr 22, 2018
Messages
26
AMD FX-4100 16GB ram
e configuration database and will be reset on reboot.

root@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:05:43 with 0 errors on Wed Nov 30 03:50:43 2022
config:
 

spyder

Dabbler
Joined
Apr 22, 2018
Messages
26
I turned it off, I replaced the cable. Now the new disks (4gb) are there, and the pool is...gone?
 

Davvo

MVP
Joined
Jul 12, 2022
Messages
3,222
Please read this.
 

spyder

Dabbler
Joined
Apr 22, 2018
Messages
26
yes, I know all that. The issue is the new disks were not showing up for to replace said degraded drive. I changed ONLY the power cable. Now the drives all show and the pool is gone. How can the pool be 'gone'
 

Davvo

MVP
Joined
Jul 12, 2022
Messages
3,222
You have to do the procedure in the link I posted one device by one, or even without offlining the "old" disks during replacement if you can.
From the output of the zpool status it looks like you don't have any pool other than the boot pool.
 

spyder

Dabbler
Joined
Apr 22, 2018
Messages
26
All drives are connected - some to the motherboard and the rest on the SAS card. If the drives were not connected, they would not show on the disks screen as allocated to "NA" as per the first picture I posted? The pool was there this morning. Now there is no pool. Hence my confusion.
 

Davvo

MVP
Joined
Jul 12, 2022
Messages
3,222
What was the pool name?
Try zpool import and zpool online.

Both probably won't work since to me it looks like you did not correctly replace the drives, but it's something worth trying in case I misunderstood your situation.

If it's not you skipping the resilver I don't know what could be going on. Pools shouldn't disappear by themselves. Try rebooting?
 
Last edited:

spyder

Dabbler
Joined
Apr 22, 2018
Messages
26
ok thanks it is trying a recovery. Yeah - I HAD replaced some drives days before without incident. Then 3-4 disappeared from the disk list, so I replaced that particular SAS/SATA cable which did nothing, which led me to suspect the power. so we'll see what happens lol. Thanks so much for taking the time to help me out.
 

spyder

Dabbler
Joined
Apr 22, 2018
Messages
26
It worked! The pool is restored. But what's odd is there are still physical disks missing from the disk list. I have ordered a new SAS card as I suspect it is the problem
 

Davvo

MVP
Joined
Jul 12, 2022
Messages
3,222

spyder

Dabbler
Joined
Apr 22, 2018
Messages
26
I did the zpool import, and it said it could restore all but 4s of data. So I let it go, rebooted and scrubbed. However, now I cannot access the server from anywhere as windows says I do not have permissions. So far I have deleted and recreated my user and am currently rebooting the client computer and will see if that works.
 
Top