Answer the question
In order to leave comments, you need to log in
Binding directories of one drive to a directory of another drive, is it possible?
Good afternoon! I have a server with SSD + HDD drives on it.
SSD mounted to /
HDD mounted to /mnt/
/home/user/domain1.com/ to SSD
/home/user/domain1.com/wp-content/uploads/ to HDD
/home/user/domain1.com/wp-content/uploads/ points to /mnt/domain1.com/
/home/user/domain20.com/wp-content/uploads/ points to /mnt/domain20.com/
Answer the question
In order to leave comments, you need to log in
/home/user/domainN.com/ > SSD /home/user/domainN.com/wp-content/uploads/ > HDD
bind/mount/fstab ?
mount --bind /mnt/domainN.com /home/user/domainN.com/wp-content/uploads
/mnt/domainN.com /home/user/domainN.com/wp-content/uploads none bind 0 0
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question