Answer the question
In order to leave comments, you need to log in
How to recover an encrypted ZFS pool?
Good afternoon.
There is FreeNAS on Proxmox VE, there is an encrypted pool on FreeNAS. There was no more space, increased the disk in the hypervisor, did gpart commit da1
(that is, expanded the physical disk of the FreeNAS pool), tried to expand the zpool with the autoexpand property - did not expand. I tried to expand the partition where the pool was located, it was possible, but the pool itself did not increase. After the reboot, it is not decrypted by any key, when trying to decrypt through the web console, it throws a message in the text console that there is no such pool; command geli attach -k
and so on returns cannot read metadata (tried all options). Returned the volume as it was, it's useless. zpool import
shows empty output.
There are no backups. There are primary and backup encryption keys, as well as a passphrase. Can anything be done about it?
UPD.
We sent the disks to a specialized company, we are waiting for the results of the diagnostics. In theory, the data itself is intact, and, given the presence of all keys and passwords, there is a chance to recover them.
Answer the question
In order to leave comments, you need to log in
Disable and carry to the data recovery guys. Prepare a tidy sum for services.
ZFS works best directly with disks. Such virtualization does not lead to good things.
The pool is expanded by adding block devices, not by changing their size.
Judging by the fact that you resized one disk and everything broke, you have Stripe. So you have to try to put everything back down to the block so that ZFS understands that the disk is part of a pool that can be imported.
So you do not need to decrypt the pool, but return everything to normal. This is where experts can help.
In theory, you have a typical problem with section expansion and problems with the markup table, when the last block is not where it needs to be. You can do it yourself, but experience is needed.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question