TrueNAS12.0-U6.1 Pool offline

misterpele

Dabbler
Joined
Dec 4, 2014
Messages
36
I have a TrueNAS server I use at home and was working fine until last night. I got an error my Pool went offline.

I have 32 GIG RAM. 8 Hard drives ZFS Pool.
MY CPU is a Ryzen 7 2700X

When I look at pools it says offline and gives me a chance to export/disconnect.

Zpool status just gives me boot-ool and da0p2 both online
When I do a smartctl -a on them there seems to be no errors.

I will provide anything else that is needed.

My big question is, is everything in that pool lost?
 

NugentS

MVP
Joined
Apr 16, 2020
Messages
2,947
What hardware are you using - all of it. Also Scale or Core. How are the disks connected to the motherboard, onboard SATA, USB, HBA what. Basically complete details please.

Output of zpool status -v in code tags
Output of glabel status (if core) in code tags
smartctl --scan in code tags

Do you have backups?
 

misterpele

Dabbler
Joined
Dec 4, 2014
Messages
36
I am using Core. The Disks are connected to the Motherboard SATA.

Here is the zpool and the glabel.
for smartctl do you want the smartctl /a /dev/ada1, etc ? If so I will do that next, if it needs to be different please advise.

Backups were supposed to be on but none are there.
 

Attachments

  • 20220412_172811.jpg
    20220412_172811.jpg
    177.9 KB · Views: 144
  • 20220412_172830.jpg
    20220412_172830.jpg
    314 KB · Views: 130

NugentS

MVP
Joined
Apr 16, 2020
Messages
2,947
In code tags please - use Putty to log into the server and copy and paste from there
smartctl --scan is what I asked for please, in code tags

I will also repeat "What hardware are you using - all of it."
 

misterpele

Dabbler
Joined
Dec 4, 2014
Messages
36
In code tags please - use Putty to log into the server and copy and paste from there
smartctl --scan is what I asked for please, in code tags

I will also repeat "What hardware are you using - all of it."
The hardware I am using is
8 12TB SATA harddives 5 Toshiba, 3 Seagate connected to motherboard
1 256 NVMe for Boot drive
2700 AMD Ryzen
TUF Motherboard x570-plus
600w cool master power supply
some cheap graphics card
TrueNAS CORE 12.0-u6.1
32 GB RAM
 
Last edited:

misterpele

Dabbler
Joined
Dec 4, 2014
Messages
36
I am in via putty. I didn't have the admin login clicked.
Not sure what you want typed after smartctl with what I have shown.
 

misterpele

Dabbler
Joined
Dec 4, 2014
Messages
36
Not sure this makes a difference, but I still see The name and path I gave it in Sharing-WindowShares.
 

NugentS

MVP
Joined
Apr 16, 2020
Messages
2,947
I am in via putty. I didn't have the admin login clicked.
Not sure what you want typed after smartctl with what I have shown.
"smartctl --scan" is what I am looking for

And with putty you can copy and paste a lot easier and then insert into code tags in this forum so its easy to read - no photos please

Whilst in putty type "ls /mnt". Can you see the pool name there or not. If you can cd further into the folder structure and check if your data is there or not.
---------------------
Your boot drive is da0
Your other drives seem to be listed as ada implying that they are on something different to the da0 of the boot pool - that they are connected differently. Also the motherboard has 8 SATA Ports to which you appear to have attached 9 disks plus an nvme drive
Also you have nvd0 which you haven't mentioned in your spec - whats that used for? Is that the boot disk?
You also don't mention how you disks are organised. 12 * Individual pools? RAIDZ1, Z2, Mirrors, stripes

Look at the spec in my signature and produce something similar
 
Last edited:

misterpele

Dabbler
Joined
Dec 4, 2014
Messages
36
Running smartctl --scan

Code:
 root@truenas[~]# smartl --scan
zsh: command not found: smartl
root@truenas[~]# smartctl --scan
/dev/ada0 -d atacam # /dev/ada0, ATA device
/dev/ada1 -d atacam # /dev/ada1, ATA device
/dev/ada2 -d atacam # /dev/ada2, ATA device
/dev/ada3 -d atacam # /dev/ada3, ATA device
/dev/ada4 -d atacam # /dev/ada4, ATA device
/dev/ada5 -d atacam # /dev/ada5, ATA device
/dev/ada6 -d atacam # /dev/ada6, ATA device
/dev/ada7 -d atacam # /dev/ada7, ATA device
/dev/nvme0 -d nvme # /dev/nvme0, NVMe device
root@truenas[~]# smartctl --scan
 



When running ls /mnt
Code:
root@truenas[~]# ls /mnt
md_size
root@truenas[~]#




I was using RaidZ2 for my pool.
I boot from NVME
 
Last edited:

NugentS

MVP
Joined
Apr 16, 2020
Messages
2,947
Well you could try answering the previous questions
 

NugentS

MVP
Joined
Apr 16, 2020
Messages
2,947
Oh and what happens if you type "zpool import" at the command line?
 

misterpele

Dabbler
Joined
Dec 4, 2014
Messages
36
Oh and what happens if you type "zpool import" at the command line?
Code:
root@truenas[~]# zpool import
   pool: boot-pool
     id: 13527221736826440511
  state: ONLINE
 action: The pool can be imported using its name or numeric identifier.
 config:

        boot-pool   ONLINE
          nvd0p2    ONLINE

   pool: MainNAS
     id: 3498190718808128795
  state: ONLINE
 action: The pool can be imported using its name or numeric identifier.
 config:

        MainNAS                                         ONLINE
          raidz2-0                                      ONLINE
            gptid/156864e2-832a-11ec-8e9c-a85e4550970d  ONLINE
            gptid/15d02660-832a-11ec-8e9c-a85e4550970d  ONLINE
            gptid/15bb2646-832a-11ec-8e9c-a85e4550970d  ONLINE
            gptid/15e4ae7c-832a-11ec-8e9c-a85e4550970d  ONLINE
            gptid/15f8f663-832a-11ec-8e9c-a85e4550970d  ONLINE
            gptid/16430264-832a-11ec-8e9c-a85e4550970d  ONLINE
            gptid/162834a9-832a-11ec-8e9c-a85e4550970d  ONLINE
            gptid/16837624-832a-11ec-8e9c-a85e4550970d  ONLINE
root@truenas[~]#
 
Last edited:

NugentS

MVP
Joined
Apr 16, 2020
Messages
2,947
Looks to me like you can type zpool import MainNAS which should just import the pool

@HoneyBadger - you just got in front of me
 

misterpele

Dabbler
Joined
Dec 4, 2014
Messages
36
I ran that and it seemed to run well. I hit esc by accident so can't copy and paste what it said. but in the GUI in snapshots it now shows MainNAS.

Sorry to be such a nag. What would be the next step with this?

FYI i tried to re-run the zpool import MainNAS and it says pool exists with that name (so I think that is good)

Code:
zpool import gave me this:
root@truenas[~]# zpool import
   pool: boot-pool
     id: 13527221736826440511
  state: ONLINE
 action: The pool can be imported using its name or numeric identifier.
 config:

        boot-pool   ONLINE
          nvd0p2    ONLINE
root@truenas[~]#
 
Last edited:

NugentS

MVP
Joined
Apr 16, 2020
Messages
2,947
If its imported the pool, then you are finished.
Does the pool exist?
 
Top