[libvirt] attach-disk to freebsd based guest

Daniel P. Berrange berrange at redhat.com
Mon Nov 30 09:51:58 UTC 2009

On Thu, Nov 26, 2009 at 10:35:41PM +0100, Sebastian Greatful wrote:
> I can easily attach a disk using the following command in virsh to a
> linux guest: attach-disk mydomain /dev/vg0/somethnig vdb
> Hwoever when I try the same to a freebsd based guest it doesnt show up
> under /dev. I hvae tried to substitude vdb with vda1 and all sorts of
> other things to no avail.

AFAIK, FreeBSD  does not implement VirtIO, so using vda will not work.
You cannot hotplug IDE, so the only remaining option is to try SCSI
by specifying a device name like sda

|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

More information about the libvir-list mailing list