Hi,
I have a (big?) problem right now with my TrueNAS ZFS Pool and i want to recover my data on it.
The problem is that right now it is in a UNAVAIL state:
So here's how it started:
I received some errors on one of my drives in the raidz2-2 VDEV so i removed the drive and send it in for warrenty.
I'm still waiting on the replacement disk right now.
After reboot it tried to 'resilver' but 2 other drives in the raidz2-2 got errors so now my pool was DEGRADED.
I checked the drives left in the raidz2-2 and only 1 was still in ONLINE state.
Problem was that the resilver process stopped after about 1-2% and i received a 'pool I/O is currently suspended' message and couldn't access my pool anymore.
Besides that i also received continues errors after boot caused by the collectd process.
To stop this i killed the collectd process from shell which fixed the flow of errors (until the next reboot).
So i decided to install a fresh new install of TrueNAS on my USB stick and try to import my pool again.
Problem now is that when i try to import the pool (ZFS_POOL01) it doesn't work anymore :(
When i try to import the pool it now says UNAVAIL.
I tried to use the zpool import -f ZFS_POOL01 command as suggested and a few variations (-fFX, -fF, -FX, etc).
Is there any way to recover from this?
Unfortunately i don't have backups, i was in process of setting up a project to create a second TrueNAS server
to replicate the most important data but it is not finished yet so no backup :(
Note: I used the Seagate SeaTools bootable disk to check my 3 SAS disks for errors (long test) but it didn't found
any errors. Kinda weird because TrueNAS marked them as DEGRADED (to many errors).
My setup:
TrueNAS-12.0-RELEASE -> installed on 16GB Bootable USB stick
5x WD SATA 4TB disks (red disks) -> connected on Sata connections on ASRock B75 Pro3-M motherboard.
LSI 9300-8i SAS Controller -> with 4x Seagate Exos 7e8 6TB
1x SSD 128GB used as LOG disk (ZIL)
ZFS_POOL01 setup:
1x VDEV RAIDZ-2 -> 5x 4TB WD Red disks
1x VDEV RAIDZ-2 -> 4x 6TB Seagate Exos 7e8 disks (added later)
I have a (big?) problem right now with my TrueNAS ZFS Pool and i want to recover my data on it.
The problem is that right now it is in a UNAVAIL state:
Code:
root@freenas:/ # zpool import pool: ZFS_POOL01 id: 5460348760061402288 state: UNAVAIL status: The pool was last accessed by another system. action: The pool cannot be imported due to damaged devices or data. see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-EY config: ZFS_POOL01 UNAVAIL insufficient replicas raidz2-0 ONLINE gptid/6ce0a688-ad42-11e8-9918-bc5ff4b16f83 ONLINE gptid/6de01fb9-ad42-11e8-9918-bc5ff4b16f83 ONLINE gptid/6ee80ae3-ad42-11e8-9918-bc5ff4b16f83 ONLINE gptid/6ff80af2-ad42-11e8-9918-bc5ff4b16f83 ONLINE gptid/71c378f0-ad42-11e8-9918-bc5ff4b16f83 ONLINE raidz2-2 UNAVAIL insufficient replicas gptid/84cf1654-1ddf-11ea-8ccd-000e0cd95d8e UNAVAIL cannot open gptid/84e6d4e6-1ddf-11ea-8ccd-000e0cd95d8e UNAVAIL cannot open 15889172290366759367 UNAVAIL cannot open gptid/84fe4a22-1ddf-11ea-8ccd-000e0cd95d8e UNAVAIL cannot open logs gptid/cb2ce328-a906-11ea-9169-000e0cd95d8e ONLINE
So here's how it started:
I received some errors on one of my drives in the raidz2-2 VDEV so i removed the drive and send it in for warrenty.
I'm still waiting on the replacement disk right now.
After reboot it tried to 'resilver' but 2 other drives in the raidz2-2 got errors so now my pool was DEGRADED.
I checked the drives left in the raidz2-2 and only 1 was still in ONLINE state.
Problem was that the resilver process stopped after about 1-2% and i received a 'pool I/O is currently suspended' message and couldn't access my pool anymore.
Besides that i also received continues errors after boot caused by the collectd process.
To stop this i killed the collectd process from shell which fixed the flow of errors (until the next reboot).
So i decided to install a fresh new install of TrueNAS on my USB stick and try to import my pool again.
Problem now is that when i try to import the pool (ZFS_POOL01) it doesn't work anymore :(
When i try to import the pool it now says UNAVAIL.
I tried to use the zpool import -f ZFS_POOL01 command as suggested and a few variations (-fFX, -fF, -FX, etc).
Is there any way to recover from this?
Unfortunately i don't have backups, i was in process of setting up a project to create a second TrueNAS server
to replicate the most important data but it is not finished yet so no backup :(
Note: I used the Seagate SeaTools bootable disk to check my 3 SAS disks for errors (long test) but it didn't found
any errors. Kinda weird because TrueNAS marked them as DEGRADED (to many errors).
My setup:
TrueNAS-12.0-RELEASE -> installed on 16GB Bootable USB stick
5x WD SATA 4TB disks (red disks) -> connected on Sata connections on ASRock B75 Pro3-M motherboard.
LSI 9300-8i SAS Controller -> with 4x Seagate Exos 7e8 6TB
1x SSD 128GB used as LOG disk (ZIL)
ZFS_POOL01 setup:
1x VDEV RAIDZ-2 -> 5x 4TB WD Red disks
1x VDEV RAIDZ-2 -> 4x 6TB Seagate Exos 7e8 disks (added later)