Hi, You need to specify pool name.
rbd -p testpool info testvol11 On Thu, Jul 14, 2016 at 8:55 AM, EP Komarla <ep.koma...@flextronics.com> wrote: > Hi, > > > > I am seeing an issue. I created 5 images testvol11-15 and I mapped them > to /dev/rbd0-4. When I execute the command ‘rbd showmapped’, it shows > correctly the image and the mappings as shown below: > > > > [root@ep-compute-2-16 run1]# rbd showmapped > > id pool image snap device > > 0 testpool testvol11 - /dev/rbd0 > > 1 testpool testvol12 - /dev/rbd1 > > 2 testpool testvol13 - /dev/rbd2 > > 3 testpool testvol14 - /dev/rbd3 > > 4 testpool testvol15 - /dev/rbd4 > > > > I created image by this command: > > rbd create testvol11 -p testpool --size 5120000 -m ep-compute-2-15 > > > > mapping was done using this command: > > rbd map testvol11 -p testpool --name client.admin -m ep-compute-2-15 > > > > However, when I try to find details about each image it is failing > > > > [root@ep-compute-2-16 run1]# rbd info testvol11 > > 2016-07-13 17:50:23.093293 7f3372c1a7c0 -1 librbd::ImageCtx: error finding > header: (2) No such file or directory > > rbd: error opening image testvol11: (2) No such file or directory > > > > Even the image list fails: > > [root@ep-compute-2-16 run1]# rbd ls > > [root@ep-compute-2-16 run1]# > > > > Unable to understand why I am seeing this anomaly. Any clues or pointers > are appreciated. > > > > Thanks, > > > > - epk > > Legal Disclaimer: > The information contained in this message may be privileged and > confidential. It is intended to be read only by the individual or entity to > whom it is addressed or by their designee. If the reader of this message is > not the intended recipient, you are on notice that any distribution of this > message, in any form, is strictly prohibited. If you have received this > message in error, please immediately notify the sender and delete or > destroy any copy of this message! > > _______________________________________________ > ceph-users mailing list > ceph-users@lists.ceph.com > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > >
_______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com