Issues while setting NPIV | vHBA on KVM hypervisor

Solution Verified - Updated -

Issue

When you are trying to implement NPIV/vHBA, you experience following issues:
- "error invalid capability type" - command: nodedev-list --cap vports
- "error: Failed to define pool from ${filename}" - command: virsh pool-define
- "error: XML error: missing storage pool source adapter name" - command: virsh pool-define
- "error: Failed to attach device from ${filename}" - command: virsh attach-device
- "error: internal error unknown disk type 'volume'" - command : virsh attach-device
- "error: Failed to attach device from ${filename}" - command: virsh attach-device
- "error: invalid argument: target sd${n} already exists." - command: virsh attach-device

Environment

RHEL 6.x
RHEL 7.x

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