Pestaninha
Dabbler
- Joined
- Nov 15, 2016
- Messages
- 18
Hi,
I've recently bought a new disk and I intended to turn the existing setup into a mirror data pool. I currently have a stripe pool with one disk and I was looking to add redundancy to it.
My pool is encrypted and this adds a new layer of complexity to the whole problem. I quickly learned that this was impossible to do on the GUI, so I've been googling around and experimenting on a VM, but can't seem to be able to achieve my goal
The closest I came was following this tutorial. I was able to partition the disk, encrypt it and add it to the pool successfully, however, the GUI doesn't seem to know the path of the geli key of the new disk (which I had assigned as the same as the old disk), so when I remove the pool and import it back the GUI outputs an error explaining that it could not decrypt one of the disks (always the new one). This also happens when I lock/unlock the pool.
Everything works fine if I do the geli attach on the command line and I have no more issues (at least on the VM, have not tried in production), but this is not practical.
Any ideas on how to accomplish this? Is this viable? Has anyone have any idea where the mapping disks<->geli keys is stored and how to edit it?
Thank you
I've recently bought a new disk and I intended to turn the existing setup into a mirror data pool. I currently have a stripe pool with one disk and I was looking to add redundancy to it.
My pool is encrypted and this adds a new layer of complexity to the whole problem. I quickly learned that this was impossible to do on the GUI, so I've been googling around and experimenting on a VM, but can't seem to be able to achieve my goal
The closest I came was following this tutorial. I was able to partition the disk, encrypt it and add it to the pool successfully, however, the GUI doesn't seem to know the path of the geli key of the new disk (which I had assigned as the same as the old disk), so when I remove the pool and import it back the GUI outputs an error explaining that it could not decrypt one of the disks (always the new one). This also happens when I lock/unlock the pool.
Everything works fine if I do the geli attach on the command line and I have no more issues (at least on the VM, have not tried in production), but this is not practical.
Any ideas on how to accomplish this? Is this viable? Has anyone have any idea where the mapping disks<->geli keys is stored and how to edit it?
Thank you