Hi Leroy,

On Fri, 2016-01-15 at 13:34 -0600, Leroy Tennison wrote:
> On gary I have to load the 9p modules for some reason but, after I
> do, I get: 
> 
>         gary:/mnt # lsmod | grep 9p 
>         9pnet_virtio 17529 0 
>         9p 57012 0 
>         9pnet 80300 2 9p,9pnet_virtio 
>         virtio_ring 21225 4
> virtio_pci,virtio_rng,virtio_balloon,9pnet_virtio 
>         virtio 14474 4
> virtio_pci,virtio_rng,virtio_balloon,9pnet_virtio 

Weird that you have to manually load them. Did you check the
/var/log/messages or dmesg for errors?

> However, 
> 
>         gary:/mnt # mount -t 9p -o trans=virtio,version=9p2000.L ABC
> tmp 
>         mount: special device ABC does not exist 
> 
> I've used ABC on another hypervisor, that name isn't a problem.  Any
> ideas or anything else I should check? 
> 
> Other questions: 
> 
>         Is there a way to list the 9p "target dir" names on either
> the hypervisor or, more importantly, the VM? 

You can see them in the pci devices. Something like this can show you
the tag:
    cat /sys/devices/pci0000\:00/0000\:00\:06.0/virtio1/mount_tag

Note that you can get the PCI device address either using lspci in the
guest or using within the guest XML definition (libvirt adds them for
you)

>         Can duplicate "target dir" entries be used on the same
> hypervisor if they are for different VMs (i.e, a target dir of ABC on
> different VMs)? Is so, can they have different paths?

You can have the same mount tag in several guests with different paths
both in the guest and in the host.

--
Cedric
-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]

Reply via email to