Pool not found - disk is listed but pool can't be imported

Hi all,

I am new to TrueNAS (any NAS for that matter) and before storing all my precious data on the system I wanted to run it with disposable/non critical data for a few weeks before “committing”. So if this doesn’t work it’s not a problem since there’s no relevant data in that pool, but I wanted to use this as an opportunity to debug a real problem without any risks.

The hardware:
-Terramaster F2 424 in stock 8GB config.
-Bootdrive is a 128GB SSD connected over a USB-Sata bridge to the internal USB2.0 port of the Terramaster
-The currently only other drive is a 1TB Samsung 980 NVME in one of the M.2 slots

I had the boot drive connected to the rear USB 3.0 port for the first week until I got a low profile adapter for the internal USB port to mount the boot drive. When I installed said adapter and booted the NAS, the pool on the NVME didn’t show up anymore. I had this once before, which could be solved by manually exporting the pool and importing it via the GUI. SO I tried the same this time, but now the pool doesn’t show up at all and can’t be imported. The drive itself shows up.

Heres the output of lsblk

truenas_admin@truenas[~]$ lsblk
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda           8:0    0 119.2G  0 disk 
├─sda1        8:1    0     1M  0 part 
├─sda2        8:2    0   512M  0 part 
└─sda3        8:3    0 118.7G  0 part 
nvme0n1     259:0    0 931.5G  0 disk 
└─nvme0n1p4 259:1    0    37G  0 part 

zpool list

truenas_admin@truenas[~]$ sudo zpool list
NAME        SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP    HEALTH  ALTROOT
boot-pool   118G  2.96G   115G        -         -     0%     2%  1.00x    ONLINE  -

zpool status

truenas_admin@truenas[~]$ sudo zpool status
  pool: boot-pool
 state: ONLINE
config:

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

errors: No known data errors

What steps can I further take to try and import the pool on the NVME? Thanks!

I would suggest running:
zpool import
from the CLI. This command will output the pools that are available to import. The output from the command might give you some clues as to what’s causing the import to fail.

It could be something as simple as the name of the pool is conflicting with the running boot-pool. If this is the case, you can try:

zpool import boot-pool new-pool

This will import and rename the pool at the same time, if my memory is correct.

zpool import

gives “no pools available”. that’s the whole issue here.

truenas_admin@truenas[~]$ sudo zpool import
no pools available to import
truenas_admin@truenas[~]$ sudo zpool import -d /dev/disk/by-id/
no pools available to import
truenas_admin@truenas[~]$ sudo fdisk -l
Disk /dev/nvme0n1: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: Samsung SSD 980 1TB                     
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 16384 bytes / 131072 bytes


Disk /dev/sda: 119.24 GiB, 128035676160 bytes, 250069680 sectors
Disk model: -U3             
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: AAB9C328-0652-4A94-84B3-703590146BC9

Device       Start       End   Sectors   Size Type
/dev/sda1     4096      6143      2048     1M BIOS boot
/dev/sda2     6144   1054719   1048576   512M EFI System
/dev/sda3  1054720 250069646 249014927 118.7G Solaris /usr & Apple ZFS

Try:

sudo zpool import -d /dev/disk/by-id/AAB9C328-0652-4A94-84B3-703590146BC9

That is one line.

/dev/sda is the boot disk - AAB9C328-0652-4A94-84B3-703590146BC9 is the partition-uuid for the boot pool which is already imported and mounted, but if it was some other disk, then you would need to do zpool import /dev/disk/by-partuuid/AAB9C328-0652-4A94-84B3-703590146BC9.

lsblk says the nvme disk has a partition, but fdisk says no partitions and so no pool.

Try running this:

  • lsblk -bo NAME,MODEL,ROTA,PTTYPE,TYPE,START,SIZE,PARTTYPENAME,PARTUUID

and then do zpool import -d /dev/disk/by-partuuid/X where X is the partuuid for the partition /dev/nvme0n1p4.

1 Like

Thanks for the suggestions, but I fear we might have a problem here

truenas_admin@truenas[~]$ 
    lsblk -bo NAME,MODEL,ROTA,PTTYPE,TYPE,START,SIZE,PARTTYPENAME,PARTUUID


NAME        MODEL               ROTA PTTYPE TYPE      START          SIZE PARTTYPENAME             PARTUUID
sda         -U3                    1 gpt    disk             128035676160                          
├─sda1                             1 gpt    part       4096       1048576 BIOS boot                da39b7c3-87bb-4538-90b3-14ea8e6c01c5
├─sda2                             1 gpt    part       6144     536870912 EFI System               5ba6bea9-e064-4d36-847c-ee382cce487a
└─sda3                             1 gpt    part    1054720  127495642624 Solaris /usr & Apple ZFS 2727c905-d1b9-4b03-b634-5932e1eecc8a
nvme0n1     Samsung SSD 980 1TB    0        disk            1000204886016                          
└─nvme0n1p4                        0        part 1382079942   39726268928                          

Doesn’t look like there is a ZFS pool on the NVMe.

There definitely is. Or was. Wherever it went…

Since there are only two drives in this NAS and I had some data on the SMB share and installed some apps and containers there must be a pool. I wonder why it doesn’t show up.