Alternative(faster) to sshfs to connect to a local vm

0

I am currently using sshfs to connect to a local vm running in virt manager.

However when using this mounted filesystem with webstorm (it gives a warning external file changes may be slow) things run quite slow. Is there a better way to run this mount to get the performance I need?

I heard there is a way run some sort of ntfs server in the vm but not sure about how to do that.

FutuToad

Posted 2014-01-21T14:46:40.460

Reputation: 131

Answers

1

I believe you mean "NFS"... not NTFS.

First, yes NFS is faster... but also has some drawbacks. It is much more difficult to securely manage NFS shares than using sshfs. Additionally, NFS has no encryption by-default which puts much less load on your CPU. You can tunnel NFS traffic through ssh and you'll still see performance improvements over sshfs. NFS is also implemented in the kernel-space, whereas sshfs is in user-space. (fuse)

TheCompWiz

Posted 2014-01-21T14:46:40.460

Reputation: 9 161

thanks, but how is it more difficult for secruity? – FutuToad – 2014-01-21T15:20:18.473

You would need to wrap NFS traffic into a ssh tunnel. That always makes things more difficult. :) Other than that, it relies on file-system level permissions. (make sure user and group IDs match on both sides) – TheCompWiz – 2014-01-21T15:42:22.407

thanks, do you know what yum repo I need for the nfs-utils package?http://www.techrepublic.com/blog/linux-and-open-source/set-up-easy-file-sharing-with-nfs-on-linux/#.

– FutuToad – 2014-01-21T16:18:55.347