I moved an external drive internally as an internal drive appears to be failing. Normally, I run:
I expect I should be able to run:
But, in this case, I'm getting:
If I move it back to the external enclosure and repeat the process for da0, it works.
What am I missing here?
I'm working with the raw device, ZFS is setup on the encrypted volume.
I didn't setup a partition as I wanted the entire drive to be encrypted and within that, I could manage that through ZFS tools. It appears that if I try to run geli attach on an internal drive externally, it doesn't work, and if I do the converse, an external drive mounted internally, that also does not work. It only works in the original configuration.
Is there some setting or default that changes behavior such as blocksize for internal versus external drives?
geli attach -p -k <file> da0
I expect I should be able to run:
geli attach -p -k <file> ada1
But, in this case, I'm getting:
geli: Cannot read metadata from ada1: Invalid argument.
geli: There was an error with at least one provider.
If I move it back to the external enclosure and repeat the process for da0, it works.
What am I missing here?
I'm working with the raw device, ZFS is setup on the encrypted volume.
I didn't setup a partition as I wanted the entire drive to be encrypted and within that, I could manage that through ZFS tools. It appears that if I try to run geli attach on an internal drive externally, it doesn't work, and if I do the converse, an external drive mounted internally, that also does not work. It only works in the original configuration.
Is there some setting or default that changes behavior such as blocksize for internal versus external drives?