Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Apr 2014 15:35:58 -0400
From:      Andre Goree <andre@drenet.net>
To:        =?UTF-8?Q?Edward_Tomasz_Napiera=C5=82a?= <trasz@freebsd.org>
Cc:        =?UTF-8?Q?Edward_Tomasz_Napiera?= =?UTF-8?Q?=C5=82a?= <etnapierala@gmail.com>, freebsd-virtualization@freebsd.org
Subject:   Re: KVM filesystem sharing
Message-ID:  <26931f62daacb23daff55f1fb8c8a34a@drenet.net>
In-Reply-To: <7D9BADB3-3A53-4C8C-B86B-12F3C18F9235@FreeBSD.org>
References:  <f4942bd34804e1260b7565e6e25bf0f4@drenet.net> <7D9BADB3-3A53-4C8C-B86B-12F3C18F9235@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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'/>
>> </filesystem>
>> 
>> 
>> 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@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.

-- 
Andre Goree
-=-=-=-=-=-
Email     - andre at drenet.net
Website   - http://www.drenet.net
PGP key   - http://www.drenet.net/pubkey.txt
-=-=-=-=-=-



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?26931f62daacb23daff55f1fb8c8a34a>