Truenas Scale importing pool failed

no12358

Cadet
Joined
Dec 12, 2021
Messages
7
Hello, today I was "smart" and I wanted to test out Truenas Scale, so I installed it on a separate SSD while leaving the original Core install alone. Installed scale, booted, and imported the settings from Core and all I got was pool offline. Then I shut down the server, ran it again, the pool showed up and had 4 of 6 disks working, 2 seem to have corrupted GPT table. I restarted again, and pool was offline again. Tried going back to Core but of course it doesn't work here either now.

Motherboard: Gigabyte GA-990FXA-UD3 rev 4.0
CPU: AMD FX 8350
16 GB RAM

Disk configuration:
6 HDDs in Z2, one vdev (connected directly to motherboard)
1 boot SSD (boot drive connected via cheap 2 port PCIe board)

Found this in /var/log/messages :
truenas ada2: <WDC WD40EFAX-68JH4N1 83.00A83> ACS-3 ATA SATA 3.>
truenas ada2: Serial Number WD-WX22DA04C3EH
truenas ada3: <WDC WD40EFAX-68JH4N1 83.00A83> ACS-3 ATA SATA 3.>
truenas ada3: Serial Number WD-WX12D110ZLYZ
....
truenas GEOM: ada2: the primary GPT table is corrupt or invalid.
truenas GEOM: ada2: using the secondary instead -- recovery str>
truenas GEOM: ada3: the primary GPT table is corrupt or invalid.
truenas GEOM: ada3: using the secondary instead -- recovery str>
truenas intsmb0: <AMD SB600/7xx/8xx/9xx SMBus Controller> at de>
truenas smbus0: <System Management Bus> on intsmb0
truenas kernel: lo0: link state changed to UP
truenas kernel: re0: link state changed to UP
truenas (ada5:ata0:0:0:0): READ_DMA48. ACB: 25 00 87 be c0 40 d>
truenas (ada5:ata0:0:0:0): CAM status: Command timeout
truenas (ada5:ata0:0:0:0): Retrying command, 3 more tries remain
truenas (ada5:ata0:0:0:0): READ_DMA48. ACB: 25 00 87 be c0 40 d>
truenas (ada5:ata0:0:0:0): CAM status: Command tim

zpool import
oot@truenas[~]# zpool import
pool: tank
id: 1482594721782283518
state: FAULTED
status: The pool was last accessed by another system.
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-EY
config:

tank FAULTED corr
upted data
raidz2-0 DEGRADED
disk/by-partuuid/c43b21c4-0805-11ec-8d17-74d4350b5e08 UNAVAIL cannot open
gptid/c4c0c266-0805-11ec-8d17-74d4350b5e08 ONLINE
gptid/c4f2ee7f-0805-11ec-8d17-74d4350b5e08 ONLINE
gptid/c4ce501d-0805-11ec-8d17-74d4350b5e08 ONLINE
disk/by-partuuid/c4fc1ca1-0805-11ec-8d17-74d4350b5e08 UNAVAIL cannot open
gptid/c50fa01f-0805-11ec-8d17-74d4350b5e08 ONLINE
root@truenas[~]#

I didn't expect such a failure just trying if the import works properly.

Is there any way to solve this situation? Do I stay on Core or just try to fix it on Scale?

Hopefully the 7 TB of data can be saved...
 

no12358

Cadet
Joined
Dec 12, 2021
Messages
7
if I start with Truenas Core SSD I see

disk/by-partuuid/c43b21c4-0805-11ec-8d17-74d4350b5e08 UNAVAIL cannot open
gptid/c4c0c266-0805-11ec-8d17-74d4350b5e08 ONLINE
gptid/c4f2ee7f-0805-11ec-8d17-74d4350b5e08 ONLINE
gptid/c4ce501d-0805-11ec-8d17-74d4350b5e08 ONLINE
disk/by-partuuid/c4fc1ca1-0805-11ec-8d17-74d4350b5e08 UNAVAIL cannot open
gptid/c50fa01f-0805-11ec-8d17-74d4350b5e08 ONLINE
if I start with Scale i see the two disks "unavailable cannot open" in CORE as ONLINE, so they appear to be working, but others are unavailable in scale.

Is there some way to bring the two disks online in CORE?

--------------
zpool import -f
Doesn't work, just outputs the same as zpool import

zpool import -f tank
tank is the zpool name outputs: cannot import "tank" I/O error
 

LarsR

Guru
Joined
Oct 23, 2020
Messages
719
you cant import core configs in scale... you can only import the pool
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
and yet it set up the pool, root pass, samba etc.

You thought it was going to leave you an unconfigured and unusable system? I doubt that's the goal. Just don't expect a magic conversion between Core and Scale at this point.
 

no12358

Cadet
Joined
Dec 12, 2021
Messages
7
You thought it was going to leave you an unconfigured and unusable system? I doubt that's the goal. Just don't expect a magic conversion between Core and Scale at this point.
yes I noticed it broke my whole NAS, and no I didn't see any warnings that it doesn't work.

It was my stupidity as usual.
 
Top