librbd: image snap context is invalid!(5) Input/output error

Solution Verified - Updated -

Issue

  • After successfully resizing an RBD image, the following error is observed when trying to do anything with the image:
root@mon:/home/# rbd info test-data/test.cdata
rbd: error opening image test.cdata: 2015-10-26 11:29:19.153030 7f65b7931780 -1 librbd: image snap context is invalid!(5) Input/output error

Environment

  • Red Hat Ceph Storage 1.2.3
  • Ubuntu 12.04

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