Unable to import pool

My pool is offline and I am unable to import:

oot@freenas01[~]# zpool import
pool: nasarray00
id: 1981442860368889558
state: DEGRADED
status: Some supported features are not enabled on the pool.
(Note that they may be intentionally disabled if the
‘compatibility’ property is set.)
action: The pool can be imported despite missing or damaged devices. The
fault tolerance of the pool may be compromised if imported.
config:

nasarray00                                        DEGRADED
  raidz3-0                                        DEGRADED
    gptid/7e29d2d0-b824-11e6-acfe-bc5ff4c767fa    ONLINE
    gptid/811d534b-b824-11e6-acfe-bc5ff4c767fa    ONLINE
    gptid/b6eef362-36eb-11ee-a05f-bc5ff4c767fa    ONLINE
    gptid/84bbc70b-b824-11e6-acfe-bc5ff4c767fa    ONLINE
    replacing-4                                   UNAVAIL  insufficient replicas
      17961261589815167105                        UNAVAIL  cannot open
      gptid/98963e67-a553-11ef-9cd6-bc5ff4c767fa  UNAVAIL  cannot open
    gptid/392af564-36ec-11ee-a05f-bc5ff4c767fa    ONLINE
    gptid/882923e8-b824-11e6-acfe-bc5ff4c767fa    ONLINE
    gptid/8a638b43-b824-11e6-acfe-bc5ff4c767fa    ONLINE

root@freenas01[~]# zpool import -R /mnt -N -o cachefile=/data/zfs/zpool.cache nasarray00
cannot import ‘nasarray00’: insufficient replicas
Destroy and re-create the pool from
a backup source.
root@freenas01[~]#

You need to provide a lot more information. Full hardware listing, how drives are attached, version of TrueNAS? Anything lead up to this issue?

Is this bare metal or virtualized ?

Also before you use ZFS CLI commands found on this forum or elsewhere, have them double checked by the ZFS savvy ppl here (not me).

1 Like

ZFS does not like importing a pool with failed members. ZFS somewhat wants you to fix disk problems first. You can overcome this by using;

zpool import -R /mnt -f -o cachefile=/data/zfs/zpool.cache nasarray00

Note that the GUI will not recognize the pool. But that is okay for the moment.

Whence the pool is imported, you can deal with the failed disk replacement. Since you have a RAID-Z3, their should not be any loss of data. Then export the pool via command line, and use the GUI to import the pool.

root@freenas01[~]# zpool import
pool: nasarray00
id: 1981442860368889558
state: DEGRADED
status: Some supported features are not enabled on the pool.
(Note that they may be intentionally disabled if the
‘compatibility’ property is set.)
action: The pool can be imported despite missing or damaged devices. The
fault tolerance of the pool may be compromised if imported.
config:

nasarray00                                        DEGRADED
  raidz3-0                                        DEGRADED
    gptid/7e29d2d0-b824-11e6-acfe-bc5ff4c767fa    ONLINE
    gptid/811d534b-b824-11e6-acfe-bc5ff4c767fa    ONLINE
    gptid/b6eef362-36eb-11ee-a05f-bc5ff4c767fa    ONLINE
    gptid/84bbc70b-b824-11e6-acfe-bc5ff4c767fa    ONLINE
    replacing-4                                   UNAVAIL  insufficient replicas
      17961261589815167105                        UNAVAIL  cannot open
      gptid/98963e67-a553-11ef-9cd6-bc5ff4c767fa  UNAVAIL  cannot open
    gptid/392af564-36ec-11ee-a05f-bc5ff4c767fa    ONLINE
    gptid/882923e8-b824-11e6-acfe-bc5ff4c767fa    ONLINE
    gptid/8a638b43-b824-11e6-acfe-bc5ff4c767fa    ONLINE

root@freenas01[~]# zpool import -R /mnt -f -o cachefile=/data/zfs/zpool.cache nasarray00
cannot import ‘nasarray00’: insufficient replicas
Destroy and re-create the pool from
a backup source.
root@freenas01[~]#

Can you provide the contents of /proc/spl/kstat/zfs/dbgmsg between code blocks (triple backticks " ``` ") or use the “preformatted text” option </> ?

root@freenas01[/]# ls
.cshrc boot data lib net sbin var
.profile compat dev libexec proc storcli.log
.rnd conf entropy media rescue tmp
bin COPYRIGHT etc mnt root usr
root@freenas01[/]# cd /proc
root@freenas01[/proc]# ls
root@freenas01[/proc]#

You’ll have to provide the actual contents of that file, so cat /proc/spl/kstat/zfs/dbgmsg and paste the entire results here.

Please put a triple-backtick ``` at the top and bottom of the output when you paste it so that it shows up

as a block
of preformatted
fixed-width text

like the above