Attaching virtual disk with 'virsh attach-disk fails with error "Duplicate ID 'drive-scsi0-0-1-0' for drive"

Solution In Progress - Updated -

Issue

  • Attaching a virtual disk to a VM using virsh attach-disk fails with error Duplicate ID 'drive-scsi0-0-1-0' for drive.

Environment

  • Red Hat Enterprise Linux 7.6
  • libvirt-4.5.0-10.el7_6.3.x86_64

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content