Hi,

When using librbd, one usually just gets a simple error code from RBD methods 
if something goes wrong, and those sometime have me guessing exactly what they 
could mean in a specific situation.

While perusing librbd/internal.cc, I noticed that many of the methods in the 
background will produce more detailed error messages, like this line from 
snap_protect():

lderr(ictx->cct) << "snap_protect: image must support layering"
       << dendl;

How do I access those more detailed error messages?

        Guido
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to