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

Daniel P. Berrange berrange at redhat.com
Thu Jul 9 15:48:51 UTC 2009


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
-- 
|: 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