Hi Community!
I really hope you can help me today. I am in the process of moving from TrueNAS Core to TrueNAS Scale. TrueNAS Core was previously running on ESXi as a virtual machine. Everything was working fine, I just decided to run TrueNAS Scale on bare metal. Unfortunately, my main NAS pool had cache and log devices attached to it and I didn’t keep the data on the drives… they have been wiped. I only kept the 10 SSD’s where my data resides.
When I perform zpool import, I receive a degraded status due to missing devices (logs & cache). I use the -Ffm to force it in with missing devices. It states it cannot create mount, due to read only. Then it says the import is successful. I see the entire structure of the pool, but I cannot seem to get to any of the data.
Does any one have some commands I can try to mount this (even if read only) so I can harvest some of the data off… or is it a complete loss?
SSD is the pool name-- info pasted below.
I have tried the following commands:
sudo zpool import -m -o readonly=on SSD
sudo zpool import -Ffm SSD -o readonly=off
output below:
truenas_admin@truenas[/proc]$ sudo zpool import
pool: SSD
id: 538354488965494353
state: DEGRADED
status: One or more devices contains corrupted data.
action: The pool can be imported despite missing or damaged devices. The
fault tolerance of the pool may be compromised if imported.
see: Message ID: ZFS-8000-4J — OpenZFS documentation
config:
SSD DEGRADED
raidz3-0 ONLINE
sdl2 ONLINE
sdg2 ONLINE
sdm2 ONLINE
sdi2 ONLINE
sdj2 ONLINE
sda2 ONLINE
sdd2 ONLINE
sdk2 ONLINE
sdf2 ONLINE
sdn2 ONLINE
cache
gptid/5969a7c2-d561-11ed-9072-98b785002de8
logs
4823051775776779444 UNAVAIL
truenas_admin@truenas[/proc]$ sudo zpool import -Ffm 538354488965494353
cannot mount ‘/SSD’: failed to create mountpoint: Read-only file system
Import was successful, but unable to mount some datasets
truenas_admin@truenas[/proc]$ sudo zpool list
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
SSD 17.4T 3.96T 13.5T - 16G 15% 22% 1.00x DEGRADED -
Test 472G 6.68G 465G - - 0% 1% 1.00x SUSPENDED /mnt
boot-pool 28G 2.77G 25.2G - - 0% 9% 1.00x ONLINE -