We use "sshfs" to mount your StatNet home directory securely.
For your convenient, we created a sshfs script in "/usr/local/bin/statfiles".
For usage, type 'statfiles' at the command line terminal.
Notes: If you are running batch jobs, you should mount and unmount statfiles manually.
A) To manually Mount:
$statfiles mount
$cd statfiles
B) To manually unmount
$cd
$statfiles unmount
Howto Use "sshfs" to mount your StatNet home storage automatically
1) Edit .bash_profile and remove these hashes, using vim or emacs.
$ emacs .bash_profile
...
statfiles mount
sync
cd statfiles
...
2) To unmount statfiles after logout
Edit .bash_login and remove these hashes
$ emacs .bash_logout
...
cd ~
sync
/usr/local/bin/statfiles unmount
...
3)Logout and Login your VM again.
You need to supply your StatNet passwd twice. One for your VM and one for your StatNet Home directory to mount.
4) Confirm your StatNet location
$ pwd
$ ls
5) Now you can start running your code.
$ program your_code here.
Do not save anything important on your local VM disk since it has limited snapshot and backup.
Your local VM files is saved for 7 days and every hours.
How to mount/unmount StatNet home directory using sshfs?
IT
How to mount/unmount StatNet home directory using sshfs?