Disk seems to have detached from pool spontaneously... what to do?

I just had to reboot my TrueNAS server. Upon reboot, I successfully decrypted my main dataset, but I couldn’t decrypt my GELI-encrypted SSD dataset – it threw an error despite me using a password manager.

Upon further inspection on the “Pools” page of TrueNAS, the SSD is assigned to pool “N/A”, and zpool status -v doesn’t list the pool at all. The SSD has, however, just passed a short SMART test, and the pool continues to appear in TrueNAS’s “Pools” page.

There are no alerts from TrueNAS about this.

So it would appear that the SSD became detached from its pool somehow, that ZFS knows this, but that TrueNAS partly does and partly doesn’t.

My only option in the pool’s pop-up menu in “Pools” is “Export/Disconnect”, so it seems that this is the only option I have, barring something in the terminal. But before I pull the trigger, I wanted to ask if this is indeed the way to go, and what else I should do to get this pool back online.

Thanks in advance!

Well, more information is needed. Please post hardware details, TrueNAS version and ZFS configuration from the output of these 2 commands;

zpool status
zpool import

I think their is another command to list the block devices in TrueNAS Core, but I don’t recall it off hand. If you know, please list it’s output too.

camcontrol devlist
And the sanity check: Is this bare metal TrueNAS?

Sure. Here’s the info you requested. My hardware and TrueNAS details are in my sig.

$ zpool status
  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:02:12 with 0 errors on Thu Oct  3 03:47:12 2024
config:

NAME        STATE     READ WRITE CKSUM
boot-pool   ONLINE       0     0     0
 mirror-0  ONLINE       0     0     0
   ada4p2  ONLINE       0     0     0
   ada0p2  ONLINE       0     0     0

errors: No known data errors

  pool: tank
 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 18:29:04 with 0 errors on Sun Sep 29 18:29:06 2024
config:

NAME                                            STATE     READ WRITE CKSUM
tank                                            ONLINE       0     0     0
 raidz3-0                                      ONLINE       0     0     0
   gptid/762911e4-cf54-11eb-99b1-6805cac2af59  ONLINE       0     0     0
   gptid/18918227-d02e-11eb-8116-6805cac2af59  ONLINE       0     0     0
   gptid/75327973-d177-11eb-b3ea-6805cac2af59  ONLINE       0     0     0
   gptid/4e7ac0fa-d02e-11eb-8116-6805cac2af59  ONLINE       0     0     0
   gptid/a80ef512-0112-11eb-85ef-244bfe964b84  ONLINE       0     0     0
   gptid/a892dff0-0112-11eb-85ef-244bfe964b84  ONLINE       0     0     0
   gptid/a8c81491-0112-11eb-85ef-244bfe964b84  ONLINE       0     0     0
   gptid/a8c45c3f-0112-11eb-85ef-244bfe964b84  ONLINE       0     0     0
   gptid/a90173ee-0112-11eb-85ef-244bfe964b84  ONLINE       0     0     0
   gptid/a94bfc5b-0112-11eb-85ef-244bfe964b84  ONLINE       0     0     0

errors: No known data errors

As you can see, I only have my boot and storage (tank) pools. The pool that disappeared was named “SSD2”, and it’s not here.

$ zpool import
no pools available to import

Note that both my boot and tank pools are already mounted.

<ATA WDC WD101KRYZ-01 1H02>        at scbus0 target 0 lun 0 (pass0,da0)
<ATA ST10000VE0008-2K EV01>        at scbus0 target 1 lun 0 (pass1,da1)
<ATA WDC WD101KRYZ-01 1H02>        at scbus0 target 2 lun 0 (pass2,da2)
<ATA ST10000VN0004-1Z SC61>        at scbus0 target 3 lun 0 (pass3,da3)
<ATA WDC WD101KRYZ-01 1H02>        at scbus0 target 4 lun 0 (pass4,da4)
<ATA WDC WD101KRYZ-01 1H02>        at scbus0 target 5 lun 0 (pass5,da5)
<ATA WDC WD101KRYZ-01 1H02>        at scbus0 target 6 lun 0 (pass6,da6)
<ATA WDC WD101KRYZ-01 1H02>        at scbus0 target 7 lun 0 (pass7,da7)
<WDC WDS120G2G0B-00EPW0 UI510000>  at scbus1 target 0 lun 0 (ada0,pass8)
<CT2000MX500SSD1 M3CR046>          at scbus2 target 0 lun 0 (ada1,pass9)
<ST10000VE0008-2KX101 EV01>        at scbus3 target 0 lun 0 (ada2,pass10)
<Crucial CT2050MX300SSD1 M0CR060>  at scbus4 target 0 lun 0 (ada3,pass11)
<TS128GMTS830S 22Z2V3PD>           at scbus5 target 0 lun 0 (ada4,pass12)
<ST10000VE0008-2KX101 EV01>        at scbus6 target 0 lun 0 (ada5,pass13)
<AHCI SGPIO Enclosure 2.00 0001>   at scbus7 target 0 lun 0 (ses0,pass14)

The SSD that belonged to the disappeared pool is CT2000MX500SSD1 M3CR046.

Thanks for mentioning that command.

And yes, this is bare metal.

Single drive pool?
Let’s check smartctl -a /dev/ada1, and possibly initiate a long test with smartctl -t long /dev/ada1

Out of curiosity, what’s ada3 used for?

Yes, it’s a single-drive pool. Used for a VM and some jails.

Here’s the SMART info:

$ smartctl -a /dev/ada1
smartctl 7.2 2021-09-14 r5236 [FreeBSD 13.1-RELEASE-p9 amd64] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Crucial/Micron Client SSDs
Device Model:     CT2000MX500SSD1
Serial Number:    2422E8B54A8A
LU WWN Device Id: 5 00a075 1e8b54a8a
Firmware Version: M3CR046
User Capacity:    2,000,398,934,016 bytes [2.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    Solid State Device
Form Factor:      2.5 inches
TRIM Command:     Available
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-3 T13/2161-D revision 5
SATA Version is:  SATA 3.3, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Fri Oct  4 04:07:44 2024 -03
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x82) Offline data collection activity
was completed without error.
Auto Offline Data Collection: Enabled.
Self-test execution status:      (   0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: (    0) seconds.
Offline data collection
capabilities: (0x7b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities:            (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability:        (0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time: (   2) minutes.
Extended self-test routine
recommended polling time: (  30) minutes.
Conveyance self-test routine
recommended polling time: (   2) minutes.
SCT capabilities:       (0x0031) SCT Status supported.
SCT Feature Control supported.
SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x002f   100   100   000    Pre-fail  Always       -       0
  5 Reallocate_NAND_Blk_Cnt 0x0032   100   100   010    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       874
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       3
171 Program_Fail_Count      0x0032   100   100   000    Old_age   Always       -       0
172 Erase_Fail_Count        0x0032   100   100   000    Old_age   Always       -       0
173 Ave_Block-Erase_Count   0x0032   100   100   000    Old_age   Always       -       0
174 Unexpect_Power_Loss_Ct  0x0032   100   100   000    Old_age   Always       -       1
180 Unused_Reserve_NAND_Blk 0x0033   000   000   000    Pre-fail  Always       -       139
183 SATA_Interfac_Downshift 0x0032   100   100   000    Old_age   Always       -       0
184 Error_Correction_Count  0x0032   100   100   000    Old_age   Always       -       0
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
194 Temperature_Celsius     0x0022   073   068   000    Old_age   Always       -       27 (Min/Max 0/32)
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_ECC_Cnt 0x0032   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   100   100   000    Old_age   Always       -       0
202 Percent_Lifetime_Remain 0x0030   100   100   001    Old_age   Offline      -       0
206 Write_Error_Rate        0x000e   100   100   000    Old_age   Always       -       0
210 Success_RAIN_Recov_Cnt  0x0032   100   100   000    Old_age   Always       -       0
246 Total_LBAs_Written      0x0032   100   100   000    Old_age   Always       -       458627170
247 Host_Program_Page_Count 0x0032   100   100   000    Old_age   Always       -       9205430
248 FTL_Program_Page_Count  0x0032   100   100   000    Old_age   Always       -       4421333

SMART Error Log Version: 1
Invalid Error Log index = 0x10 (T13/1321D rev 1c Section 8.41.6.8.2.2 gives valid range from 1 to 5)

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%       870         -
# 2  Short offline       Completed without error       00%       869         -
# 3  Short offline       Completed without error       00%       846         -
# 4  Short offline       Completed without error       00%       822         -
# 5  Short offline       Completed without error       00%       798         -
# 6  Extended offline    Completed without error       00%       774         -
# 7  Short offline       Completed without error       00%       750         -
# 8  Short offline       Completed without error       00%       726         -
# 9  Short offline       Completed without error       00%       702         -
#10  Short offline       Completed without error       00%       678         -
#11  Short offline       Completed without error       00%       653         -
#12  Short offline       Completed without error       00%       629         -
#13  Extended offline    Completed without error       00%       605         -
#14  Short offline       Completed without error       00%       581         -
#15  Short offline       Completed without error       00%       557         -
#16  Short offline       Completed without error       00%       533         -
#17  Short offline       Completed without error       00%       508         -
#18  Short offline       Completed without error       00%       484         -
#19  Short offline       Completed without error       00%       460         -
#20  Extended offline    Completed without error       00%       436         -
#21  Short offline       Completed without error       00%       412         -

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

I’m running the long SMART test right now.

The story here is that this pool was single-disk for a long time, and, realizing the error of my ways, I bought another 2TB SSD to make it into a mirror. But it turned out that the new SSD was like 400 MB smaller than the old one, and so TrueNAS wouldn’t let me use it to make a mirror. So I repeated the process with a different 2TB SSD and… same story!

ada3 is the third SSD I’ve bought in an attempt to turn this pool into a mirrored one. It’s actually big enough to do this, but TrueNAS failed twice when trying to add this disk to the pool. The first time the error was [EFAULT] Failed to wipe disk ada1: [Errno 1] Operation not permitted: '/dev/ada3', and the second it was [EFAULT] Unable to GPT format the disk "ada3": gpart: geom 'ada1': File exists.

That debacle is documented here in case you’re interested. I still haven’t been able to solve it, and have just left the disk in in the meantime. (If you do read it, ada3 appears as ada1 there; the disk was on a different SATA port at the time).

1 Like

Here’s the SMART info after a long test.

$ smartctl -a /dev/ada1
smartctl 7.2 2021-09-14 r5236 [FreeBSD 13.1-RELEASE-p9 amd64] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Crucial/Micron Client SSDs
Device Model:     CT2000MX500SSD1
Serial Number:    2422E8B54A8A
LU WWN Device Id: 5 00a075 1e8b54a8a
Firmware Version: M3CR046
User Capacity:    2,000,398,934,016 bytes [2.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    Solid State Device
Form Factor:      2.5 inches
TRIM Command:     Available
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-3 T13/2161-D revision 5
SATA Version is:  SATA 3.3, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Fri Oct  4 10:18:13 2024 -03
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x82) Offline data collection activity
was completed without error.
Auto Offline Data Collection: Enabled.
Self-test execution status:      (   0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: (    0) seconds.
Offline data collection
capabilities: (0x7b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities:            (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability:        (0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time: (   2) minutes.
Extended self-test routine
recommended polling time: (  30) minutes.
Conveyance self-test routine
recommended polling time: (   2) minutes.
SCT capabilities:       (0x0031) SCT Status supported.
SCT Feature Control supported.
SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x002f   100   100   000    Pre-fail  Always       -       0
  5 Reallocate_NAND_Blk_Cnt 0x0032   100   100   010    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       880
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       3
171 Program_Fail_Count      0x0032   100   100   000    Old_age   Always       -       0
172 Erase_Fail_Count        0x0032   100   100   000    Old_age   Always       -       0
173 Ave_Block-Erase_Count   0x0032   100   100   000    Old_age   Always       -       0
174 Unexpect_Power_Loss_Ct  0x0032   100   100   000    Old_age   Always       -       1
180 Unused_Reserve_NAND_Blk 0x0033   000   000   000    Pre-fail  Always       -       139
183 SATA_Interfac_Downshift 0x0032   100   100   000    Old_age   Always       -       0
184 Error_Correction_Count  0x0032   100   100   000    Old_age   Always       -       0
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
194 Temperature_Celsius     0x0022   074   068   000    Old_age   Always       -       26 (Min/Max 0/32)
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_ECC_Cnt 0x0032   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   100   100   000    Old_age   Always       -       0
202 Percent_Lifetime_Remain 0x0030   100   100   001    Old_age   Offline      -       0
206 Write_Error_Rate        0x000e   100   100   000    Old_age   Always       -       0
210 Success_RAIN_Recov_Cnt  0x0032   100   100   000    Old_age   Always       -       0
246 Total_LBAs_Written      0x0032   100   100   000    Old_age   Always       -       458627170
247 Host_Program_Page_Count 0x0032   100   100   000    Old_age   Always       -       9205430
248 FTL_Program_Page_Count  0x0032   100   100   000    Old_age   Always       -       4421540

SMART Error Log Version: 1
Invalid Error Log index = 0x11 (T13/1321D rev 1c Section 8.41.6.8.2.2 gives valid range from 1 to 5)

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Extended offline    Completed without error       00%       875         -
# 2  Short offline       Completed without error       00%       870         -
# 3  Short offline       Completed without error       00%       869         -
# 4  Short offline       Completed without error       00%       846         -
# 5  Short offline       Completed without error       00%       822         -
# 6  Short offline       Completed without error       00%       798         -
# 7  Extended offline    Completed without error       00%       774         -
# 8  Short offline       Completed without error       00%       750         -
# 9  Short offline       Completed without error       00%       726         -
#10  Short offline       Completed without error       00%       702         -
#11  Short offline       Completed without error       00%       678         -
#12  Short offline       Completed without error       00%       653         -
#13  Short offline       Completed without error       00%       629         -
#14  Extended offline    Completed without error       00%       605         -
#15  Short offline       Completed without error       00%       581         -
#16  Short offline       Completed without error       00%       557         -
#17  Short offline       Completed without error       00%       533         -
#18  Short offline       Completed without error       00%       508         -
#19  Short offline       Completed without error       00%       484         -
#20  Short offline       Completed without error       00%       460         -
#21  Extended offline    Completed without error       00%       436         -

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

The drive is healthy, and I have no clue why it is not even presented as an importable pool.
Mayebe someone having experience with GELI encryption would have an idea?

So should I go ahead and use the “Export/Disconnect” on this pool and then re-import the drive?

Maybe worth running a gpart show to see if something unexpected has happened to the partitions?

Here’s the gpart output. I don’t really know how to interpret it myself.

Also, is ““Export/Disconnect” the way to go?

$ gpart show
=>       40  234454960  ada0  GPT  (112G)
         40     532480     1  efi  (260M)
     532520   33554432     3  freebsd-swap  (16G)
   34086952  200368048     2  freebsd-zfs  (96G)

=>         40  19532873648  ada2  GPT  (9.1T)
           40           88        - free -  (44K)
          128      4194304     1  freebsd-swap  (2.0G)
      4194432  19528679256     2  freebsd-zfs  (9.1T)

=>         40  19532873648  ada5  GPT  (9.1T)
           40           88        - free -  (44K)
          128      4194304     1  freebsd-swap  (2.0G)
      4194432  19528679256     2  freebsd-zfs  (9.1T)

=>        40  4004704288  ada3  GPT  (1.9T)
          40          88        - free -  (44K)
         128     4194304     1  freebsd-swap  (2.0G)
     4194432  4000509888     2  freebsd-zfs  (1.9T)
  4004704320           8        - free -  (4.0K)

=>       40  250069600  ada4  GPT  (119G)
         40     532480     1  efi  (260M)
     532520    4194304     3  freebsd-swap  (2.0G)
    4726824  245342816     2  freebsd-zfs  (117G)

=>         40  19532873648  da2  GPT  (9.1T)
           40           88       - free -  (44K)
          128      4194304    1  freebsd-swap  (2.0G)
      4194432  19528679256    2  freebsd-zfs  (9.1T)

=>         40  19532873648  da4  GPT  (9.1T)
           40           88       - free -  (44K)
          128      4194304    1  freebsd-swap  (2.0G)
      4194432  19528679256    2  freebsd-zfs  (9.1T)

=>         40  19532873648  da0  GPT  (9.1T)
           40           88       - free -  (44K)
          128      4194304    1  freebsd-swap  (2.0G)
      4194432  19528679256    2  freebsd-zfs  (9.1T)

=>         40  19532873648  da7  GPT  (9.1T)
           40           88       - free -  (44K)
          128      4194304    1  freebsd-swap  (2.0G)
      4194432  19528679256    2  freebsd-zfs  (9.1T)

=>         40  19532873648  da5  GPT  (9.1T)
           40           88       - free -  (44K)
          128      4194304    1  freebsd-swap  (2.0G)
      4194432  19528679256    2  freebsd-zfs  (9.1T)

=>         40  19532873648  da6  GPT  (9.1T)
           40           88       - free -  (44K)
          128      4194304    1  freebsd-swap  (2.0G)
      4194432  19528679256    2  freebsd-zfs  (9.1T)

=>         40  19532873648  da3  GPT  (9.1T)
           40           88       - free -  (44K)
          128      4194304    1  freebsd-swap  (2.0G)
      4194432  19528679256    2  freebsd-zfs  (9.1T)

=>         40  19532873648  da1  GPT  (9.1T)
           40           88       - free -  (44K)
          128      4194304    1  freebsd-swap  (2.0G)
      4194432  19528679256    2  freebsd-zfs  (9.1T)

This just shows partitions and their limits. The main teaching is that… ada1 is NOT there although it is listed by camcontrol and should have partitions.
Do you see an “Export” button in the GUI for a pool which is not in zpool status and not available to import? :face_with_spiral_eyes: I suppose that you may try (don’t tick the box to wipe the pool!).

Yeah, should being the operative word there, but doesn’t appear to have them anymore. Those attempts to mirror the drive appear to have nuked the partitions.

In theory one can restore a partition table, but that’s black magic to me and I don’t know how to go about it or if it even applies to this case (it might just be when it’s “corrupt” as opposed to gone) Plus it’s an SSD, so I am not sure how well that jives with scanning for the lost partition table.

It may well be too late at this point.

Does specifying the device with gpart /dev/ada1 show anything?
Is testdisk available in CORE?

Partitions were purposefully nuked during the attempts to mirror the drive, but that was one month ago so I suppose that @StrandedCamel targeted the right drive…
Or not?

Wow. This is really confusing. I can’t imagine how some tools would show ada1 to be there and others wouldn’t. Bizarre!

I do have an “Export/Disconnect” option for the “SSD2” pool in the TrueNAS Storage | Pools GUI. That and “Unlock” are the only options there.

However (and this is RED ALERT level stuff, I think) when I go to Storage | Import Disk I get a pop-up window that says “Error getting disk data”.

What the heck is going on here? I feel like my TrueNAS system is just falling apart.

I’ve been using this SSD for three or four weeks, hitting it quite hard as it has some jails and a VM running on it, and I’ve had no issues. Also, a scrub was successfully run on it two days ago. The problem appeared just last night after I rebooted. So I strongly suspect I tried to nuke the right drive.

gpart show /dev/ada1 returns No such geom.

I’m still not sure how to proceed, and would appreciate some guidance. When I go to Storage | Import Disk in the TrueNAS management GUI, I get an error: Error getting disk data. I’m at a loss. What the heck do I do now?

Well, I’ve just tried to Export/Disconnect my pool, and TrueNAS fails at even that! Here’s the error:

Error: Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/middlewared/job.py", line 355, in run
    await self.future
  File "/usr/local/lib/python3.9/site-packages/middlewared/job.py", line 391, in __run_body
    rv = await self.method(*([self] + args))
  File "/usr/local/lib/python3.9/site-packages/middlewared/schema.py", line 981, in nf
    return await f(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/pool.py", line 1608, in export
    disks = [i async for i in await self.middleware.call('pool.get_disks', oid)]
  File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/pool.py", line 1608, in <listcomp>
    disks = [i async for i in await self.middleware.call('pool.get_disks', oid)]
  File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/pool.py", line 1059, in get_disks
    disk_path = os.path.join('/dev', d['devname'])
KeyError: 'devname'

What the heck is going on here? Everything related to this pool and disk is broken. Nothing works, and nothing has been able to solve the problems.

I should add that these problems all persist across reboots.

So my situation is that I can do nothing with the SSD in question and nothing with the pool. The SSD pool shows up in TrueNAS but not in zpool list. The SSD shows up as belonging to pool “N/A” in storage. I can’t, however, export/disconnect the pool, though I can download its encryption key. I can’t reimport it. And I can’t even try and create a new pool-- I get Key Error: devname when I try.