KVM filesystem sharing
Edward Tomasz Napierała
trasz at FreeBSD.org
Thu Apr 3 19:14:10 UTC 2014
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?
More information about the freebsd-virtualization