Hi, I have a Dell Power Edge running Version: TrueNAS-13.0-U1.1
We had a power outage and after booting up our pool is showing as offline in the GUI.
When I run zpool Import via CLI it says it’s online (see zpool status response below too)
root@truenas[~]# zpool import
pool: Photoshoots
id: 13697090546972977673
state: ONLINE
action: The pool can be imported using its name or numeric identifier.
config:
Photoshoots ONLINE
gptid/7ffff484-23d3-11ed-aede-90b11c08801f ONLINE
root@truenas[~]# zpool status
pool: boot-pool
state: ONLINE
scan: scrub repaired 0B in 00:00:02 with 0 errors on Thu Nov 21 03:45:02 2024
errors: No know data errors
When I go through the steps to import the pool the dropdown does not show any pools import.
I’ve searched around on the forums and found a thread on the old forum called reboot-and-pools-offline (102791) which was the closest thing to the problem I’m facing but OP had more of an idea than I do and I don’t want to go around doing stuff without understanding what I’m doing.
I’ve very limited experience with managing servers, I helped set this up 2 years ago with an IT tech (they’re currently unavailable) and after calling a handful of business this afternoon I’ve not had any joy finding anyone comfortable enough with TrueNAS to help.
Any help would be greatly appreciated.
Also, there is about 30-40TB of data on there, if I were to run an import that worked roughly how long would it take (so I can plan for staff)?
Hi, thanks for the reply. Here is the full status response.
root@truenas[~]# zpool status -v
pool: boot-pool
state: ONLINE
scan: scrub repaired 0B in 00:00:02 with 0 errors on Thu Nov 21 03:45:02 2024
config:
NAME STATE READ WRITE CKSUM
boot-pool ONLINE 0 0 0
da0p2 ONLINE 0 0 0
errors: No known data errors
There are 7x 8GB drives in there set up raid 5 (potentially RAID6).
Intel(R) Xeon(R) CPU E5-2660 v2 @ 2.20GHz
64GiB Ram
If there is anything else specifically needed I can provide when I’m back in the office in the morning or with instruction I can pull from CLI as I have remote access from home via GUI by connecting to a system on the same network)
Dell perc h710p 3.13
(taken from CLI dump response to cat /var/run/dmesg.boot)
We don’t have a direct back-up as such due to the nature of the files and the size of what is an ever moving target, the files aren’t quite ‘business critical’ in that sense but it would set us back a few weeks at best so really would like to ‘recover’ this.
Not sure if you want to risk it (there shouldn’t be issues, but we’re already past that point).
I’m wondering what would happen if you export the pool with CLI & then if it’ll show up in GUI to import & then after importing it using GUI life is good again.
zpool export Photoshoots
Wondering if GUI is just behind & doing this would get things back into sync.
Edit: I tested in proxmox where I care a lot less about my VM data & it seems to have worked fine, but hard to say since I didn’t have the initial issues you are experiencing.
From the post on the old forum (see below) that seems to be what fixed the issue in that case, it seems like the pool was imported into the wrong directory somehow and an export/import corrected it but I don’t know if that’s definitely the case here.
This will need to be checked as it may be providing RAID services and not allowing ZFS direct access to the disks. Someone with more familiarity with that card, I hope, will post. I don’t know how to check it with commands.
Uhh - I’m guessing you don’t have a single ~36TB disk that makes up your pool.
I’m guessing that SmallBarky is right (also given the output of the sas2flash command you provided earlier).
I think something went a bit wrong during your power outage & that you HBA is acting in IR (raid controller) instead of IT mode currently. Instead of passing through the HDDs to TrueNAS to control, it is presenting them as a single device.
If I’m looking at the right thing from Dell, you should be able to set disks for straight passthrough (Converting Physical Disk To Non-RAID For PERC H310) to the system as per:
…Otherwise you might have to flash the thing into IT mode. After that, hope that disks are detected again individually & can be properly important by TrueNAS; otherwise smarter people than me will need to help.
Thanks again for the help with this. Really appreciate it.
So rather than them showing as individual discs it’s showing as 1 single disc.
Is there a way to check if it was like this before too? I feel like (for what it’s worth) it has always been like that, as in I don’t ever remember seeing a list of discs there… Is there a way to tell?
What would happen if we changed it and it was like this from the start, can we change it back?
Also if we were to try the export/import of the pool as it is, would it fail and fail in a way that causes fatal issues?