Pool offline Troubleshooting

Morikaen

Dabbler
Joined
Nov 21, 2021
Messages
23
See what it tells you with zpool import -F -f -n TransientPool. Depending on where the bad data is, it's possible it will allow you to import the pool with the loss of whatever data had been most recently stored there, and this command will tell you if the system can do that. It won't actually import the pool (you'd run the same command without the -n to do that), but it should let you know if it's possible.
result
Code:
root@truenas[/var/log]# zpool import -F -f  TrasientPool
internal error: cannot import 'TrasientPool': Integrity check failed
zsh: abort (core dumped)  zpool import -F -f TrasientPool
 

Morikaen

Dabbler
Joined
Nov 21, 2021
Messages
23
next step would be to restore your backups but I guess you do not have any...
Luckily I have a backup in an external disk, but nor as updated as I would like.
Nest time, ensure that
1-You have redundancy
2-You have backups because no single server, TrueNAS or other, can be more than a single point of failure
I'll do. Disk is coming tomorrow.

Thanks for your support @Heracles
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,457
Code:
internal error: cannot import 'TrasientPool': Integrity check failed 
zsh: abort (core dumped)
That looks pretty bad. See if you can import it as read-only: zpool import -f -o readonly=on TransientPool. If so, that would at least let you copy the data off of the disk.
 

Morikaen

Dabbler
Joined
Nov 21, 2021
Messages
23
That looks pretty bad. See if you can import it as read-only: zpool import -f -o readonly=on TransientPool. If so, that would at least let you copy the data off of the disk.

Same error, no luck.
Thanks again @danb35

I'll close the thread here.
 
Top