How does disk locking work in RHEL Virtualization?

Updated -
  • How does libvirt locks the disks to prevent simultaneous access?
  • What happens if a disk is setup as shared?
  • Red Hat Enterprise Linux 7

To illustrate this, please read the following example:

Let's say we created a disk called shared.qcow2. At this time it is just a disk and is not attached to any VM.

Then we attach this disk to vm 'rhel7', and...

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