Score:0

How to get Virt-manager Guest to share Host Drive?

ma flag

Ubuntu+MATE-22.04, Host+Guest and virt-manager

I have an Internal SATA-3 backup SSD on the Host computer with 3 Folders, "week-01," "week-02" and "week-03." The backup software figures out which one to use based on the Calendar week-number so I always have 3-weeks of files in their original folder-structures. e.g.

/week-01/home/userbill/email/data
/week-01/home/userbill/letters/data

It works fine on the Host and I'd like the Guest to be able to use it too, but I cannot get the Guest to see the Host SSD. I have done a lot of searching and found plenty of articles for windows either guest or host sharing folders. But I have found nothing instructional alluding to drives, Linux to Linux.

I have tried adding a Filesystem and using "virtio-p9" but cannot get it to use the drive and let the backup software define the "From" and "To" folder structure. It seems to want specific Guest Folders for specific Host Paths. The backup group of folders can be changed at any time so I cannot define specific paths other than the preset "week-01" etc.

How do I do this?

Thank you.

Christian Ehrhardt avatar
sl flag
Could you try section "Sharing files between Host<->Guest" in https://ubuntu.com/server/docs/virtualization-libvirt - that should give you what you ask for.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.