Is this unrecoverable ?

BeelzebubUK

Dabbler
Joined
Jul 12, 2012
Messages
12
System in signature.

So I moved the system to a new case yesterday and swapped out one of the 6TB disks for a new 10TB disk ready to resilver after booting up.

First issue was none of the 10TB drives were seen. Eventually figured out that it was due to the 3.3v issue with new drives but got that fixed and it booted up and could see all the drives. In the GUI replaced the old 6TB drive in the pool with the 10TB drive and it started resilvering. All looked good until about 10 minutes in and the NAS stopped responding completely. I forced a reset and it booted up. Started the resilver again and I left it running overnight.

Next day noticed that the mapped drive I had to it instead of showing up as a 36TB it was now showing as a 4MB empty share ? The pool info still shows the right amount of used/free space but on the command line it looks like bad news :

1624289369696.png


freenas# zpool status -v
pool: Storage1
state: ONLINE
status: One or more devices has experienced an error resulting in data
corruption. Applications may be affected.
action: Restore the file in question if possible. Otherwise restore the
entire pool from backup.
see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-8A
scan: resilvered 2.08T in 05:29:57 with 8 errors on Mon Jun 21 02:10:34 2021
config:

NAME STATE READ WRITE CKSUM
Storage1 ONLINE 0 0 0
raidz2-0 ONLINE 0 0 0
gptid/8fdafc58-6029-11eb-8964-002590af10d9 ONLINE 0 0 2
gptid/5e17176d-8e51-11e9-a484-002590af10d9 ONLINE 0 0 2
gptid/acdea1d6-9934-11eb-a78e-002590af10d9 ONLINE 0 0 2
gptid/7a6f6fd7-8e51-11e9-a484-002590af10d9 ONLINE 0 0 2
gptid/877f0acf-8e51-11e9-a484-002590af10d9 ONLINE 0 0 2
gptid/96a6e85d-8e51-11e9-a484-002590af10d9 ONLINE 0 0 2
gptid/199db036-4546-11eb-a662-002590af10d9 ONLINE 0 0 2
gptid/b3b71ed3-8e51-11e9-a484-002590af10d9 ONLINE 0 0 2
gptid/62a6cfb0-d1ff-11eb-8e03-002590af10d9 ONLINE 0 0 2

errors: Permanent errors have been detected in the following files:

Storage1:<0x0>




So I'm guessing that something went really FUBAR during the resilver and I've lost all the data ? Anything important is already backed up but any suggestions for recovering anything as it will save me a lot of time ?
 

Attachments

  • 1624289335890.png
    1624289335890.png
    66.9 KB · Views: 139

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
That looks like a pool root metadata corruption, so you're not in great shape.

Depending on what shapshots you have, you may be able to see some contents in the .zfs directory...
 

BeelzebubUK

Dabbler
Joined
Jul 12, 2012
Messages
12
That looks like a pool root metadata corruption, so you're not in great shape.

Depending on what shapshots you have, you may be able to see some contents in the .zfs directory...

Thanks. No snapshots unfortunately. So I think my question has been answered....Is it recoverable...No :frown:
 

BeelzebubUK

Dabbler
Joined
Jul 12, 2012
Messages
12
I might try using a recovery method to try to get it back as most of the data should be intact. Nothing to lose anyway :smile:

Has anyone tried this : Klennet ZFS Recovery
 
Last edited:

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
Has anyone tried this : Klennet ZFS Recovery
I have seen it recommended before and I understand that it's possible to test it( i.e. see what could be recovered) for free... however, you need to get your data over to a Windows machine and usually you want to have it working with copies of the disks as raw/img files (use dd to make those). Also to be clear, it won't fix the pool that you have, just make it available as a source to copy files out of.

There's also an "open source" option, which may or may not provide some options to recover: https://github.com/Stefan311/ZfsSpy with similar constraints.
 

BeelzebubUK

Dabbler
Joined
Jul 12, 2012
Messages
12
I'll just attach another drive to the system with Windows on it to try it. I've already written off the data on there as it's not important but would just save me a lot of time/effort if I can recover most it (it's mostly movie rips)

Didn't realise it cost so much though for the full version so not going to bother with that one but will have a look at ZfsSpy you recommended. Thanks
 
Top