Hey Folks,
So, I mistakenly detached a drive from a geli encrypted mirror vdev... which, of course, turned that vdev into a single drive. There doesn't seem to be any way via the TrueNAS UI to attach a drive to a single-disk vdev to turn it back into a mirror... so, I'm trying to do this all via the cli... which is no problem... I can create the disk layout... attach the drive... but, what doesn't happen is the geli encryption. So.. I end up with a mirror vdev with an encrypted drive... and an unencrypted drive.
I'm trying to reason out how to do that via the cli ... I detached the disk again and did this:
geli init -s 4096 -K /path/to/key /dev/gptid/<disk-uuid>
That gives what I expect is a normal response about metadata backup file... but what DOESN'T happen... is it doesn't create the /dev/gptid/<disk-uuid>.eli file that I was expecting.
What this is telling me is that my understanding of how this works is probably askew...
Could someone clue me in on how this is supposed to work? I'm on TrueNAS 12.2.x...
Thanks!
So, I mistakenly detached a drive from a geli encrypted mirror vdev... which, of course, turned that vdev into a single drive. There doesn't seem to be any way via the TrueNAS UI to attach a drive to a single-disk vdev to turn it back into a mirror... so, I'm trying to do this all via the cli... which is no problem... I can create the disk layout... attach the drive... but, what doesn't happen is the geli encryption. So.. I end up with a mirror vdev with an encrypted drive... and an unencrypted drive.
I'm trying to reason out how to do that via the cli ... I detached the disk again and did this:
geli init -s 4096 -K /path/to/key /dev/gptid/<disk-uuid>
That gives what I expect is a normal response about metadata backup file... but what DOESN'T happen... is it doesn't create the /dev/gptid/<disk-uuid>.eli file that I was expecting.
What this is telling me is that my understanding of how this works is probably askew...
Could someone clue me in on how this is supposed to work? I'm on TrueNAS 12.2.x...
Thanks!