Closed elsalanzo closed 5 years ago
Do you need encryption on that disk?
Just curious why do you need it? Is it not safe where device is located?
The disk is already encrypted and yes it's not safe since it's located in a share house. I just don't want someone unplug the driver and access my datas.
I see. At the moment we do not support activating anything other than ext* filesystems as we depend on linux filesystem features like permissions. Probably we can add disk encryption at some point as Syncloud feature.
Move contents of /opt/disk/internal to /opt/disk/internal_backup
mv /opt/disk/internal /opt/disk/internal_backup
Mount you disk under /opt/disk/internal
Copy contents /opt/disk/internal_backup to /opt/disk/internal
cp -R /opt/disk/internal_backup/. /opt/disk/internal
It should look like this in the end:
root@helios4:~# ls -la /opt/disk/internal/
total 16
drwxr-xr-x 4 root root 4096 Jan 14 19:11 .
drwxr-xr-x 3 root root 4096 Nov 14 22:12 ..
drwxrwx--- 6 nextcloud nextcloud 4096 Jan 9 16:05 nextcloud
drwxr-xr-x 3 root root 4096 Jan 14 19:11 platform
That's cool! I did it. It seems okay no problem. Thanks for the workaround!
I'm looking forward to see the support for encrypted disk feature.
Happy coding!
I'd like to use my encrypted and mounted SATA disk but I get this error.