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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.