Shobo Posted May 5, 2020 Posted May 5, 2020 I have an Ubuntu VM I want to use for development but I need the files to also be accessible outside of the VM. I have an Unraid user share set up with all of the project files and want to mount it within the VM. My first attempt was with the default 9p mount from the webui. This was painfully slow. Just awful. I then tried mounting manually with cifs. Was a bit tricky to get this working because some npm packages I'm using requires symlinks but was able to work around this by using mfsymlinks. This was faster, but still slower than I'd like for developing on every single day. I just can't seem to find an efficient way to have data that can be accessed from clients on the network (like user shares) but also accessed within a VM running on Unraid. Would appreciate any help. Quote
lusitopp Posted May 5, 2020 Posted May 5, 2020 can't help you, but im searching for the same. unfortunately im new to the linux world but I started to read about virtio-vsock, not sure is this is just communication between host and guest or if it can be used instead of 9p Quote
dodgypast Posted May 5, 2020 Posted May 5, 2020 How does NFS perform? I'm interested as well because been finding the same problems. Quote
dodgypast Posted May 6, 2020 Posted May 6, 2020 Just bumping this to say that sharing and mounting as NFS is so much quicker. 1 Quote
Shobo Posted May 6, 2020 Author Posted May 6, 2020 (edited) 7 hours ago, dodgypast said: Just bumping this to say that sharing and mounting as NFS is so much quicker. I haven't given NFS a try yet. Will play around with it, thanks for the tip! Edited May 6, 2020 by Shobo Quote
Shobo Posted May 6, 2020 Author Posted May 6, 2020 (edited) Just set it up with NFS and first impressions are very positive. I think this is exactly what I needed. Thanks a bunch dodgypast. Edit: wasn't as great as I had originally thought. Getting stale file errors like crazy and constantly need to remount/reboot. Edited June 29, 2020 by Shobo Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.