KVM filesystem sharing
andre at drenet.net
Thu Apr 3 19:36:42 UTC 2014
On 04/03/2014 3:14 pm, Edward Tomasz Napierała wrote:
> Wiadomość napisana przez Andre Goree w dniu 3 kwi 2014, o godz. 20:50:
>> Hello list. I wanted to ask if anyone has been able to make
>> filesystem mounting work under a FreeBSD guest? For example, I've
>> added the following to the guest's xml config using 'virsh edit':
>> <filesystem type='mount' accessmode='mapped'>
>> <source dir='/tmp/shared'/>
>> <target dir='tag'/>
>> However, I don't know how to mount the above from within the FreeBSD
>> guest. That which is instructed to do so on Linux guests does not
>> work on the FreeBSD guest:
>> root at freebsd9-test:~ # mount -t 9p -o trans=virtio,version=9p2000.L
>> tag /mnt/shared/
>> mount: tag: Operation not supported by device
> The 9P protocol is not supported under FreeBSD. Perhaps you could try
> to use NFS instead?
> Generally speaking, why do Linux folks use 9P?
Thanks! I'm thinking I may use guestfish instead to accomplish what it
is I was wanting to do. I've never personally used 9P, but thought it
might be a way I could use to get around a problem I've run into.
Thanks again for the info.
Email - andre at drenet.net
Website - http://www.drenet.net
PGP key - http://www.drenet.net/pubkey.txt
More information about the freebsd-virtualization