I have SSD and HDD hard drives on server.
SSD mounted to /
HDD mounted to /mnt/
I have 20 (planning more) sites with 5-20 GB content each.
I want to store
/home/user/domain1.com/ to SSD
/home/user/domain1.com/wp-content/uploads/ to HDD
And same for other domains
/home/user/domainN.com/ > SSD /home/user/domainN.com/wp-content/uploads/ > HDD
How to do it ?
I founded How do I mount sub-directory to a hard drive in Linux? , but its only for 1 drive/dir. Is there way to make some symlinks or something like this, which points to direct dir on other hard drive?
For example,
/home/user/domain1.com/wp-content/uploads/ points to /mnt/domain1.com/ /home/user/domain20.com/wp-content/uploads/ points to /mnt/domain20.com/
Thanks in advance!