Re: [libvirt] adding scsi disk failed (code=9)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
first of all, thanks for replying with a patch.
I'm running libvirt on fedora 11 64bit with kvm and I do not have the qemu_driver.c for that patch.

I've installed libvirt and libvirt-devel packages. Where is contained this file?

Moreover, How can I debug this error:

ibvirt: operation failed: adding scsi disk failed (code=9)

in order to have more information concerning the origin of this error?


M

Daniel P. Berrange wrote:
On Thu, Jul 09, 2009 at 04:06:13PM +0200, Massimo Canonico wrote:
Hi,
I'm newbie and sorry if this question was already post in this ML (is there any search engine for the ML archive?).

Google.  Use  site:redhat.com inurl:libvir-list

I'm trying to attach a volume in my instance. The instance is running and the volume is available, but i got this error:

----
libvirt: operation failed: adding scsi disk failed (code=9)
virDomainAttachDevice() failed (err=-1) XML=<disk type='block'><driver name='phy'/><source dev='/dev/etherd/e0.8'/><target dev='sdb'/></disk>
doAttachVolume() failed error=1
----

Depending on your KVM/QEMU version that's probably this error

http://www.redhat.com/archives/libvir-list/2009-July/msg00115.html


Daniel

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]