I have a library which is served to several clients (which synchronize it locally). The library is not encrypted.
It resides on a server I manage.
As its size is growing, I need to move it somewhere else. It is currently in the default location as decided by the server (somewhere¤ in /root/seafile-data/) and I would like it to be located somewhere¤ in /mnt/ext/thislibrary (at least the actual data which take the space).
I have not seen in the administrative panel a way to set the data location - is there a way to do that?
Please note that I do not want to move all of the data there (I believe that linking the current /root/seafile-data directory to the larger disk would be enough) but do that on a library-by-library basis
¤ I am using the word “somewhere” as the actual data is not a typical tree structure but is driven by a DB. By this I want to convey that I do not care how the data will ultimately be organized, just that the voluminous part is on another drive /mnt/ext/thislibrary/...
Open the library in your browser and copy the library id. Shutdown seafile. Navigate to seafile-data/storage/blocks. Move the folder with the library id and create a symlink to the new location. Start seafile.
You can also move commits and fs of the library but those don’t take much storage.
Edit: Googling this it looks like you can just put everything on one device. (Still asking myself for which file a hardlink / cross-device link is being created)