You don't
That is going to be painful and not beneficial
You don't
That is going to be painful and not beneficial
Maybe NFS share the drive from guest to host?
What would be the performance implications? Isn't virtiofs
theoretically faster?
Not an expert.
Assuming it's internal I'd assume it's probably as fast as the guest nic allows?
This, had the same idea for other purposes, sharing a folder from vm to host through network share is the easiest way. Every other solution looks more elegant on paper but has lots of pitfalls.
Every other solution looks more elegant on paper but has lots of pitfalls
A very sane and fair comment.
I can try but I might end up in the same situation as with virtiofs
. The cloud drive will get unmounted and I will end up with an empty folder when I try to access it from the host.
Absolutely not, NFS is a shared mount. Virtiofs is more complicated because it is emulating a block device.
Then I will try NFS and get back to you. Thanks :)
Maybe see if 'rclone mount' solves the problem for ya. Rclone can often be a super handy swiss army knife for stuff like this.
The cloud binary is proprietary and it's not supported by rclone
unless I find out how the binary works but I doubt it uses something standardized like WebDAV underneath.
You say it is mounted. Then you can share it in all the same ways as you would share any other of the VM's folders.
I am using SMB shares for that (but that is not always the best way ofc).
The cloud drive is mounted on the guest, yes, but once I mount it with virtiofs
in order to share it with the host it gets unmounted and I end up with an empty folder. bind
doesn't work either.
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
No spam posting.
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
No trolling.
Resources:
Any issues on the community? Report it using the report flag.
Questions? DM the mods!