- I have two servers FTPa and FTPb
- Each server is running PHP web file transfer app that sits in
/var/www/html/files/ - On both servers some of the app subfolders are mounted with folders inside /sftp/ E.g.
mount --bind /var/www/html/files/data/client1/ /sftp/client1/
The purpose of the FTPb is to be the exact replica of FTPa (failover site, essentially). I used sshfs on FTPa to mount remote directory /var/www/html/files/ of FTPb. As soon as I do that the local mounting between /var/www/html/files/data/client1 and /sftp/client1/ gets disabled.
Is there a way to keep /var/www/html/files/data/client1 mounted to /sftp/client1 and at the same time have /var/www/html/files/ mounted to remote /var/www/html/files ?