Hey everyone,
I have an encrypted dataset named "media" on one of my ZFS pools called "data." Perhaps the issue I'm experiencing comes from a misunderstanding, but I would expect the "folder" to be inaccessible when the dataset is locked, which doesn't seem to be the case.
Instead, it appears that there are separate files visible when the dataset is in a locked versus unlocked state.
When the dataset is unlocked:
- SSH into the console and navigate to /mnt/data/media.
- Create a file named test.txt and write something into it.
- Lock the dataset.
When the dataset is locked:
- Running 'ls' on /mnt/data/media shows no files.
- Create a file named test-2.txt and write something else into it.
Now, when I unlock and lock the dataset, I find either test.txt or test-2.txt present.
This is also an issue because the dataset is mounted into Docker containers, which will write files to the "locked dataset" that are not available after I unlock the dataset (and vice versa).
Any hints on what I might be doing wrong?