Hello,
we have finally unmount /opt/data and have access to the file. But they are encrypted. How to decrypt them? We also noticed that when we do an after-reboot command the /opt/data folder is mounted again and all the file inside disappear.
Thanks
Let's try and get some more info on the disk setup. It looks like you are using LVM so perhaps there is something going on with that. Please can you run the following and send us the output:
I can see from the output of mount that the /opt/data directory is currently mounted twice (both by ecryptfs):
This likely explains the issues you are having. I suggest you copy the current files to a new location, unmount /opt/data/ and see what is left under the current encryption.
Hello Simon,
We have followed your process.
1- we copy the data from /opt/data
2 - We unmount /opt/data. an ls /opt/data show all encryted files like you can see on the sceenshot below
3 - we run the "mount" command and we saw that /opt/data is not mounted (see the screenshot)
4 - we run unmount /opt/data again and it said that "/opt/data is not mounted (see the screenshot)
One of things you can try is to manually decrypt those files using ecrypt-recover-private (man-page) and see if you are able to decrypt those. We have never had to do this, so you might need to go through those docs to find out the right commands to do that.