Need Help. Can't get HDDs pool to import

Please forgive me as my skills and knowledge is limited here. I am using HEX os is what i used to install truenas scale i believe. About 2 weeks ago i got a email noting there was an ZFS error on one drive. I did what i could and with chatgpt came to the conclusion i need to run a scrub to see if the error would resolve. Woke up the next day with several email from Hex os with the system errors and the system would not boot. After a lot of troubleshooting and not alot of help from chat i was able to get the system to boot after exporting the drive pool with none of the drives connected. Now i can view the drive pool in read only mode but it does show an error in one of the β€œdata sets” (i think that is the term). I am not confident that chat can walk me through properly recovering the drive pool and I have not got much help on the Hex forums as of yet. Hoping to find help here. Below is the Zpool status i have from putty.

XXXXXXXXXXXXXXXX# zpool status HDDs
  pool: HDDs
 state: ONLINE
status: One or more devices has experienced an error resulting in data
corruption.  Applications may be affected.
action: Restore the file in question if possible.  Otherwise restore the
entire pool from backup.
   see: [https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-8A](https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-8A)
  scan: scrub repaired 252K in 08:33:06 with 17 errors on Mon Jan 12 17:28:14 2026
expand: expanded raidz1-0 copied 4.65T in 12:39:26, on Fri Dec 13 05:59:05 2024
config:

NAME                                  STATE     READ WRITE CKSUM
HDDs                                  ONLINE       0     0     0
raidz1-0                              ONLINE       0     0     0
6a2f9722-779d-4ad9-a174-66d6856dff9b  ONLINE       0     0     0
b610e5ec-7716-4689-9f8c-e4d25b40959b  ONLINE       0     0     0
5c46ab8b-82b6-436d-bcc6-e85461f55589  ONLINE       0     0     0
0a46c882-dcb8-457e-8733-fd2a13e37e14  ONLINE       0     0     0

errors: 17 data errors, use '-v' for a list

Earlier information in the process.

Update:

I exported the pool from true nas and i can get it to boot with all 4 drives connect. However it crashed immediately when trying to import.

invalid or corrupt cache file contents: invalid or missing cache file
cannot import β€˜HDDs’: no such pool available

XXXXXXXXXXXXXXXX\[\~\]# zpool import
  pool: HDDs
id: 14370529907006270995
 state: ONLINE
action: The pool can be imported using its name or numeric identifier.
config:

HDDs                                  ONLINE
raidz1-0                              ONLINE
6a2f9722-779d-4ad9-a174-66d6856dff9b  ONLINE
b610e5ec-7716-4689-9f8c-e4d25b40959b  ONLINE
5c46ab8b-82b6-436d-bcc6-e85461f55589  ONLINE
0a46c882-dcb8-457e-8733-fd2a13e37e14  ONLINE
xxxxxxxxxxxxxxxxxxxx \[\~\]# zpool import -f -c /dev/null HDDs
invalid or corrupt cache file contents: invalid or missing cache file
cannot import 'HDDs': no such pool available
xxxxxxxxxxxxxxxxxx# zpool import -f -c /dev/null 14370529907006270995

invalid or corrupt cache file contents: invalid or missing cache file
cannot import '14370529907006270995': no such pool available

Please post command line results back using Preformatted Text mode (</>) or Ctrl+e on the reply toolbar.
A detailed listing of your hardware and OS version may help.
The following will give us some data on your system and pool status. Run each and post back in a separate Preformatted Text box for each. It makes it easier to read.

cat /etc/version
sudo zpool status -v
sudo zpool import
lsblk -bo NAME,LABEL,MAJ:MIN,TRAN,ROTA,ZONED,VENDOR,MODEL,SERIAL,PARTUUID,START,SIZE,PARTTYPENAME
2 Likes

Thank you ill get some more info asap.

cat /etc/version

24.10.2.4#

sudo zpool status -v
pool: HDDs Recovery
state: ONLINE
config:


    NAME                                    STATE     READ WRITE CKSUM
    HDDs Recovery                           ONLINE       0     0     0
      c99fcc23-b2fa-483d-95f7-0ce8186db1fc  ONLINE       0     0     0

errors: No known data errors
pool: boot-pool
state: ONLINE
scan: scrub repaired 0B in 00:01:35 with 0 errors on Tue Jan 13 03:46:37 2026
config:


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


errors: No known data errors
sudo zpool import
pool: HDDs
id: 14370529907006270995
state: ONLINE
action: The pool can be imported using its name or numeric identifier.
config:

    HDDs                                      ONLINE
      raidz1-0                                ONLINE
        6a2f9722-779d-4ad9-a174-66d6856dff9b  ONLINE
        b610e5ec-7716-4689-9f8c-e4d25b40959b  ONLINE
        5c46ab8b-82b6-436d-bcc6-e85461f55589  ONLINE
        0a46c882-dcb8-457e-8733-fd2a13e37e14  ONLINE

Command:

lsblk -bo NAME,LABEL,MAJ:MIN,TRAN,ROTA,ZONED,VENDOR,MODEL,SERIAL,PARTUUID,START,SIZE,PARTTYPENAME

Output:

loop1
MAJ:MIN 7:1
SIZE    382869504

sda (ATA WDC W WD-WXJ) 4TB
MAJ:MIN 8:0  TRAN sata  ROTA 1  ZONED none
SIZE    4000787030016
└─ sda1  LABEL HDDs
MAJ:MIN 8:1
PARTUUID 5c46ab8b-82b6-436d-bcc6-e85461f55589
START 2048
SIZE  4000785104896
PARTTYPE Solaris /usr & Apple ZFS

sdb (ATA Samsung S3PTNF) 500GB
MAJ:MIN 8:16  TRAN sata  ROTA 0  ZONED none
SIZE    500107862016
β”œβ”€ sdb1
β”‚  MAJ:MIN 8:17
β”‚  PARTUUID e25fd0db-2938-4230-8ee3-aa871799106a
β”‚  START 34
β”‚  SIZE  134217728
β”‚  PARTTYPE Microsoft reserved
└─ sdb2  LABEL Control4
MAJ:MIN 8:18
PARTUUID f43c85ac-c2a9-44b4-8b5b-978873228608
START 264192
SIZE  499971522560
PARTTYPE Microsoft basic data

sdc (ATA WDC W WD-WXJ) 4TB
MAJ:MIN 8:32  TRAN sata  ROTA 1  ZONED none
SIZE    4000787030016
└─ sdc1  LABEL HDDs
MAJ:MIN 8:33
PARTUUID b610e5ec-7716-4689-9f8c-e4d25b40959b
START 2048
SIZE  4000785104896
PARTTYPE Solaris /usr & Apple ZFS

sdd (ATA WDC W WD-WXJ) 4TB
MAJ:MIN 8:48  TRAN sata  ROTA 1  ZONED none
SIZE    4000787030016
└─ sdd1  LABEL HDDs
MAJ:MIN 8:49
PARTUUID 6a2f9722-779d-4ad9-a174-66d6856dff9b
START 2048
SIZE  4000785104896
PARTTYPE Solaris /usr & Apple ZFS

sde (ATA Seagate ST800 ZA1BVD) 8TB
MAJ:MIN 8:64  TRAN sata  ROTA 1  ZONED none
SIZE    8001563222016
└─ sde1  LABEL HDDs Recovery
MAJ:MIN 8:65
PARTUUID c99fcc23-b2fa-483d-95f7-0ce8186db1fc
START 2048
SIZE  8001561821184
PARTTYPE Solaris /usr & Apple ZFS

sdf (ATA WDC W WD-WXK) 4TB
MAJ:MIN 8:80  TRAN sata  ROTA 1  ZONED none
SIZE    4000787030016
└─ sdf1  LABEL HDDs
MAJ:MIN 8:81
PARTUUID 0a46c882-dcb8-457e-8733-fd2a13e37e14
START 2048
SIZE  4000785104896
PARTTYPE Solaris /usr & Apple ZFS

sdg (ATA OCZ V HH4U9P) 60GB
MAJ:MIN 8:96  TRAN sata  ROTA 0  ZONED none
SIZE    60022480896
β”œβ”€ sdg1
β”‚  MAJ:MIN 8:97
β”‚  PARTUUID a3aa73be-91d9-474c-9dd4-aa50f8740d77
β”‚  START 4096
β”‚  SIZE  1048576
β”‚  PARTTYPE BIOS boot
β”œβ”€ sdg2  LABEL EFI
β”‚  MAJ:MIN 8:98
β”‚  PARTUUID 9ef2f053-380f-4520-ae0e-187842c87c3f
β”‚  START 6144
β”‚  SIZE  536870912
β”‚  PARTTYPE EFI System
└─ sdg3  LABEL boot-pool
MAJ:MIN 8:99
PARTUUID ef646244-345d-4d9f-b121-4cc989b8b048
START 1054720
SIZE  59482447360
PARTTYPE Solaris /usr & Apple ZFS

nvme0n1 (Samsung S2GLNC) 256GB
MAJ:MIN 259:0  TRAN nvme  ROTA 0  ZONED none
SIZE    256060514304
β”œβ”€ nvme0n1p1  LABEL Recovery
β”‚  MAJ:MIN 259:1
β”‚  PARTUUID cc860059-7bf3-4965-b636-9968bd27154a
β”‚  START 2048
β”‚  SIZE  471859200
β”‚  PARTTYPE Windows recovery environment
β”œβ”€ nvme0n1p2
β”‚  MAJ:MIN 259:2
β”‚  PARTUUID 0e5b34d8-ec2c-11e6-9c6b-f832e4bc6b18
β”‚  START 923648
β”‚  SIZE  103809024
β”‚  PARTTYPE EFI System
β”œβ”€ nvme0n1p3
β”‚  MAJ:MIN 259:3
β”‚  PARTUUID 20291b47-2b72-4548-9ba2-0bd74b16d9cc
β”‚  START 1126400
β”‚  SIZE  16777216
β”‚  PARTTYPE Microsoft reserved
└─ nvme0n1p4  LABEL Games M.2
MAJ:MIN 259:4
PARTUUID 4382e008-7763-4ca9-bade-73552633e78b
START 1159168
SIZE  255467003392
PARTTYPE Microsoft basic data

The above was cleaned up with chat. Heres the output from putty but i find it hard to read.

lsblk -bo NAME,LABEL,MAJ:MIN,TRAN,ROTA,ZONED,VENDOR,MODEL,SERIAL,PARTUUID,START,SIZE,PARTTYPENAME
NAME LABEL MAJ:MIN TRAN   ROTA ZONED VENDOR MODEL SERIAL PARTUUID                               START          SIZE PARTTYPENAME
loop1
7:1             0 none                                                                       382869504
sda          8:0   sata      1 none  ATA    WDC W WD-WXJ                                              4000787030016
└─sda1
HDDs    8:1             1 none                      5c46ab8b-82b6-436d-bcc6-e85461f55589    2048 4000785104896 Solaris /usr & Apple ZFS
sdb          8:16  sata      0 none  ATA    Samsu S3PTNF                                               500107862016
β”œβ”€sdb1
β”‚            8:17            0 none                      e25fd0db-2938-4230-8ee3-aa871799106a      34     134217728 Microsoft reserved
└─sdb2
Control4
8:18            0 none                      f43c85ac-c2a9-44b4-8b5b-978873228608  264192  499971522560 Microsoft basic data
sdc          8:32  sata      1 none  ATA    WDC W WD-WXJ                                              4000787030016
└─sdc1
HDDs    8:33            1 none                      b610e5ec-7716-4689-9f8c-e4d25b40959b    2048 4000785104896 Solaris /usr & Apple ZFS
sdd          8:48  sata      1 none  ATA    WDC W WD-WXJ                                              4000787030016
└─sdd1
HDDs    8:49            1 none                      6a2f9722-779d-4ad9-a174-66d6856dff9b    2048 4000785104896 Solaris /usr & Apple ZFS
sde          8:64  sata      1 none  ATA    ST800 ZA1BVD                                              8001563222016
└─sde1
HDDs Recovery
8:65            1 none                      c99fcc23-b2fa-483d-95f7-0ce8186db1fc    2048 8001561821184 Solaris /usr & Apple ZFS
sdf          8:80  sata      1 none  ATA    WDC W WD-WXK                                              4000787030016
└─sdf1
HDDs    8:81            1 none                      0a46c882-dcb8-457e-8733-fd2a13e37e14    2048 4000785104896 Solaris /usr & Apple ZFS
sdg          8:96  sata      0 none  ATA    OCZ V HH4U9P                                                60022480896
β”œβ”€sdg1
β”‚            8:97            0 none                      a3aa73be-91d9-474c-9dd4-aa50f8740d77    4096       1048576 BIOS boot
β”œβ”€sdg2
β”‚    EFI     8:98            0 none                      9ef2f053-380f-4520-ae0e-187842c87c3f    6144     536870912 EFI System
└─sdg3
boot-pool
8:99            0 none                      ef646244-345d-4d9f-b121-4cc989b8b048 1054720   59482447360 Solaris /usr & Apple ZFS
nvme0n1
259:0   nvme      0 none         Samsu S2GLNC                                               256060514304
β”œβ”€nvme0n1p1
β”‚    Recovery
β”‚          259:1   nvme      0 none                      cc860059-7bf3-4965-b636-9968bd27154a    2048     471859200 Windows recovery environment
β”œβ”€nvme0n1p2
β”‚          259:2   nvme      0 none                      0e5b34d8-ec2c-11e6-9c6b-f832e4bc6b18  923648     103809024 EFI System
β”œβ”€nvme0n1p3
β”‚          259:3   nvme      0 none                      20291b47-2b72-4548-9ba2-0bd74b16d9cc 1126400      16777216 Microsoft reserved
└─nvme0n1p4
Games M.2
259:4   nvme      0 none                      4382e008-7763-4ca9-bade-73552633e78b 1159168  255467003392 Microsoft basic data

Do you have two different pools? HDDs and β€œHDDs Recovery”

1 Like

Why are you trying to import the pool in the command-line?

Why aren’t you using the HexOS GUI to do it?

Why are you specifying /dev/null as your zpool cache file?

Why are you even specifying a cache file at all?

1 Like

I created a new pool in preparation to copy data from the corrupted pool. HDDs is the current pool that i cannot import with out crashing the system. HDDs Recovery is the pool I created to be ready to copy data.

When I import HDDs pool it crashes the system.

True nas Gui crashes the system.

HexOS, is bugging out and is a messing trying to import the pool and im afraid it might delete the data.

The zpool cache file was Chatgpt suggestion. My skills here are limited and I am doing my best to find a way to resolve the issue.

What is the output to these 4 commands:

sudo zdb -l /dev/disk/by-partuuid/6a2f9722-779d-4ad9-a174-66d6856dff9b | grep -i '^    name\|^    txg'
sudo zdb -l /dev/disk/by-partuuid/b610e5ec-7716-4689-9f8c-e4d25b40959b | grep -i '^    name\|^    txg'
sudo zdb -l /dev/disk/by-partuuid/5c46ab8b-82b6-436d-bcc6-e85461f55589 | grep -i '^    name\|^    txg'
sudo zdb -l /dev/disk/by-partuuid/0a46c882-dcb8-457e-8733-fd2a13e37e14 | grep -i '^    name\|^    txg'
1 Like

sudo zdb -l /dev/disk/by-partuuid/6a2f9722-779d-4ad9-a174-66d6856dff9b | grep -i '^ name|^ tx
zsh: substitution failed

Did you copy the line? Your post looks different.

EDIT: My last tick cut off.

sudo zdb -l /dev/disk/by-partuuid/6a2f9722-779d-4ad9-a174-66d6856dff9b | grep -i '^    name\|^    txg'
sudo zdb -l /dev/disk/by-partuuid/b610e5ec-7716-4689-9f8c-e4d25b40959b | grep -i '^    name\|^    txg'
sudo zdb -l /dev/disk/by-partuuid/5c46ab8b-82b6-436d-bcc6-e85461f55589 | grep -i '^    name\|^    txg'
sudo zdb -l /dev/disk/by-partuuid/0a46c882-dcb8-457e-8733-fd2a13e37e14 | grep -i '^    name\|^    txg'
1 Like

something does not seem to be right.

name: 'HDDs'
txg: 6928889
1 Like

Do it for all 4.

1 Like
name: 'HDDs'
txg: 6928889
name: 'HDDs'
txg: 6928889
name: 'HDDs'
txg: 6928889

Try importing the pool normally. Hopefully this doesn’t crash the server.

sudo zpool import -d /dev/disk/by-partuuid -R /mnt HDDs
1 Like