How to unmap rbd image associated with lvm in a Ceph Storage cluster ?

Solution Verified - Updated -

Issue

  • While unmapping rbd image which has active lvm on top of it gives resource busy error.
  • When you try to unmap rbd image associated with active lvm, getting resource busy error as shown below.
[root@vm249-25 home]# rbd unmap /dev/rbd0
rbd: sysfs write failed
rbd: unmap failed: (16) Device or resource busy

Environment

  • Red Hat Ceph Storage 3.*

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