How to use an attached SSD storage?
-
Hi, I'm running an instance at Scaleway and I need to use an extra storage for Nextcloud.
The extra SSD is mounted under /mnt/data but I don't know how to use it in Cloudron / Netxcloud.
Is there is a way to do that? -
Hi, this is a common request we get and as @girish mentioned in https://forum.cloudron.io/topic/1631/what-s-coming-in-3-5/2 we will start introducing some features around storage/volume management with the next release. Until that, we cannot really recommend tinkering with the used volumes besides what is documented here.
-
Ok, thanks for the clarification @nebulon
I'll have a look on this -
@tadeas Hi, could this be something useful? https://cloudron.io/documentation/storage/#move-the-data-directory-to-another-location
-
@doomilation As pointed out in the previous comment, currently you can just create a symlink the app's data directory to an external storage -https://cloudron.io/documentation/storage/#move-the-data-directory-to-another-location
In 4.1, we are hoping to provide this functionality in the UI.
-
@girish Hi. Just to be sure: I want to move the mail folder to an ext storage.
Can I just move the boxdata like this:systemctl stop cloudron.target systemctl stop docker DATA_DIR="/mnt/data" # this is the external disk location mkdir -p "${DATA_DIR}" move out box data to the external disk mv /home/yellowtent/boxdata "${DATA_DIR}" ln -s "${DATA_DIR}/boxdata " /home/yellowtent/boxdata systemctl start docker systemctl start cloudron.target
Or do I need to move appsdata + platformdata to the same location?