It is to create a new pool, or add them to an existing one, so I don’t know if maybe adding them would work, because the first time when I connected the failed disk it let me import the pool from import pools, but now it doesn’t, I understand that the pool is already imported, it just doesn’t detect the disks, I still await your response before doing anything
There are all commands, and the outputs, but someone they give an error
root@truenas:~# 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
sda data 8:0 sata 1 none ATA ST2000DM008-2UB102 WFL8RZ7L 2000398934016
sdb 8:16 sata 0 none ATA EMTEC X250 256GB A2205CW03290 256060514304
├─sdb1 8:17 0 none 3bcb9985-ce6f-11ee-b719-d45d64208664 40 272629760 EFI System
├─sdb2 boot-pool 8:18 0 none 3bd3eff9-ce6f-11ee-b719-d45d64208664 34086952 238605565952 FreeBSD ZFS
└─sdb3 8:19 0 none 3bd0a529-ce6f-11ee-b719-d45d64208664 532520 17179869184 FreeBSD swap
└─sdb3 253:0 0 none 17179869184
sdc 8:32 sata 1 none ATA Hitachi HDS721050CLA362 JPB530HA06UJ1B 500107862016
├─sdc1 8:33 1 none b2112368-ce76-11ee-9fb8-d45d64208664 128 2147483648 FreeBSD swap
└─sdc2 data 8:34 1 none b24ce596-ce76-11ee-9fb8-d45d64208664 4194432 497960292352 FreeBSD ZFS
sdd 8:48 sata 1 none ATA WDC WD5000AAKX-22ERMA0 WD-WCC2E0LH1EET 500107862016
├─sdd1 8:49 1 none b226e7fc-ce76-11ee-9fb8-d45d64208664 128 2147483648 FreeBSD swap
└─sdd2 data 8:50 1 none b25df2bc-ce76-11ee-9fb8-d45d64208664 4194432 497960292352 FreeBSD ZFS
root@truenas:~# sudo zpool status -vsc upath,media,lsblk,serial,smartx,smart
Can't run -c with root privileges unless ZPOOL_SCRIPTS_AS_ROOT is set.
root@truenas:~# sudo zpool import
pool: data
id: 15103091714514370022
state: FAULTED
status: The pool metadata is corrupted.
action: The pool cannot be imported due to damaged devices or data.
The pool may be active on another system, but can be imported using
the '-f' flag.
see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-72
config:
data FAULTED corrupted data
sda ONLINE
b25df2bc-ce76-11ee-9fb8-d45d64208664 ONLINE
b24ce596-ce76-11ee-9fb8-d45d64208664 ONLINE
root@truenas:~# lspci
00:00.0 Host bridge: Intel Corporation 8th Gen Core Processor Host Bridge/DRAM Registers (rev 0d)
00:01.0 PCI bridge: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) (rev 0d)
00:14.0 USB controller: Intel Corporation 200 Series/Z370 Chipset Family USB 3.0 xHCI Controller
00:16.0 Communication controller: Intel Corporation 200 Series PCH CSME HECI #1
00:17.0 SATA controller: Intel Corporation 200 Series PCH SATA controller [AHCI mode]
00:1c.0 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #5 (rev f0)
00:1c.7 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #8 (rev f0)
00:1d.0 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #11 (rev f0)
00:1f.0 ISA bridge: Intel Corporation Device a2ca
00:1f.2 Memory controller: Intel Corporation 200 Series/Z370 Chipset Family Power Management Controller
00:1f.3 Audio device: Intel Corporation 200 Series PCH HD Audio
00:1f.4 SMBus: Intel Corporation 200 Series/Z370 Chipset Family SMBus Controller
01:00.0 VGA compatible controller: NVIDIA Corporation GP108 [GeForce GT 1030] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GP108 High Definition Audio Controller (rev a1)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
root@truenas:~# sudo sas2flash -list
LSI Corporation SAS2 Flash Utility
Version 20.00.00.00 (2014.09.18)
Copyright (c) 2008-2014 LSI Corporation. All rights reserved
No LSI SAS adapters found! Limited Command Set Available!
ERROR: Command Not allowed without an adapter!
ERROR: Couldn't Create Command -list
Exiting Program
root@truenas:~# sudo sas3flash -list
Avago Technologies SAS3 Flash Utility
Version 16.00.00.00 (2017.05.02)
Copyright 2008-2017 Avago Technologies. All rights reserved.
No Avago SAS adapters found! Limited Command Set Available!
ERROR: Command Not allowed without an adapter!
ERROR: Couldn't Create Command -list
Exiting Program.
root@truenas:~# sudo storcli show all
CLI Version = 007.1504.0000.0000 June 22, 2020
Operating system = Linux 6.1.74-production+truenas
Status Code = 0
Status = Success
Description = None
Number of Controllers = 0
Host Name = truenas
Operating System = Linux 6.1.74-production+truenas
root@truenas:~# for disk in /dev/sd?1; do; sudo zdb -l $disk; done
-bash: syntax error near unexpected token `;'
root@truenas:~# for disk in /dev/sd?; do; sudo smartctl -x $disk; done
-bash: syntax error near unexpected token `;'