Quantcast
Channel: Proxmox Support Forum
Viewing all articles
Browse latest Browse all 170561

Mount a folder from host to a kvm guest (without samba or nfs)

$
0
0
Hi, I need to mount a folder from kvm host to guest, without use network (samba or nfs)
I saw in some howtos something about putting an xml code like this on the host, but not where it must to be:
Code:

<filesystem type='mount' accessmode='mapped'>
    <source dir='/tmp/shared'/>
    <target dir='mytag'/>
</ filesystem>

And then mount the folder on guest:

Code:

mount-t 9p-o tRNAs = virtio, version = 9p2000.L mytag / mnt
The point is that I could'n find the configuration file where I must insert the xml code.

I don't know neither if is posible to do it with "qm" command. I was looking for about on man page and google but I couldent find anything.

I would be very grateful if you can guide me a little about it.

Thank you very much.

J.:.

Viewing all articles
Browse latest Browse all 170561

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>