I knew this is a quite simple question, but I'm new in using a quite big server with two 4TB HDDs and I want to learn a lot about it.
I've got a php script that runs as a cron. The script calls a shell command (aria2c) that downloads a file from a ftp-server and put the file into a specific folder on my server. This works fine since months. The files on the server have to be downloadable for users.
But now we mounted a second hdd to get more space for files. As I can see, the mounting was successful.
Two days ago the quota of HDD1 was reached and the script threw errors. Up to this time, I believed that the upload will automatically switch to hdd2. But this was wrong! Here my question arises. How can I upload files to HDD2 and make it downloadable for users.?
My upload command for aria2c is:
aria2c --ftp-user $username --ftp-passwd $password -c -p -t 100 -s 2 --max-connection-per-server 1 --max-download-limit $speedLimit --allow-overwrite=true --file-allocation none --summary-interval 0 ftp://$server/$remfile -o files/$remfile