Project

Profile

Help

SSHFS setup for linking repo and LOGS dir » History » Sprint/Milestone 4

« Previous - Sprint/Milestone 4/5 (diff) - Next » - Current version
Mark Zaslavskiy, 21.12.2016 14:54


SSHFS setup for linking repo and LOGS dir

h2.

On the slave perform following commands (for getting instant but temporary (till first reboot) solution):

sudo apt-get install sshfs
cd $HOME
mkdir LOGS/ repo/ repository/
sudo sshfs -o allow_other,reconnect vagrant@max-tst-01.mariadb.com:/home/vagrant/LOGS /home/vagrant/LOGS
sudo sshfs -o allow_other,reconnect vagrant@max-tst-01.mariadb.com:/home/vagrant/repo /home/vagrant/repo
sudo sshfs -o allow_other,reconnect vagrant@max-tst-01.mariadb.com:/home/vagrant/repository /home/vagrant/repository

For getting reboot-resistant solution add following lines to /etc/fstab:

sshfs#vagrant@max-tst-01.mariadb.com:/home/vagrant/LOGS /home/vagrant/LOGS
sshfs#vagrant@max-tst-01.mariadb.com:/home/vagrant/repo /home/vagrant/repo
sshfs#vagrant@max-tst-01.mariadb.com:/home/vagrant/repository /home/vagrant/repository

Links