Hi, A different error msg after your suggestion -- root@~# rbd -p mypool --image odm-kvm-img info rbd: error opening image odm-kvm-img: (95) Operation not supported 2013-04-24 11:32:47.757778 7f49949f7780 -1 librbd: Error listing snapshots: (95) Operation not supported I create the "odm-kvm-img" with this command: root@~# rbd create odm-kvm-img --size 10240 --pool mypool BRs, Dennis On 04/24/2013 11:28 AM, Chris Hoy Poy wrote:
Hi, try # rbd -p mypool --image odm-kvm-img info cheers //Chris ----- Original Message ----- From: "Dennis Chen" <xschen@xxxxxxxxxxxxx> To: ceph-users@xxxxxxxx, "Dennis Chen" <xschen@xxxxxxxxxxxxx> Sent: Wednesday, 24 April, 2013 11:24:30 AM Subject: rbd command error "librbd::ImageCtx: error finding header" Hi list, I am using a ceph cluster (version 0.56.4) with all nodes (mon, mds, osd...) deployed in the RHEL 6 distro, the client is based on Ubuntu 12.10. Now I am confused by a strange issue, seems the issue has been asked before by google but no a clear answer for it. The specific details as below-- in the client side, I want to create a rbd image, so I run the commands: root@~# ceph osd pool create mypool 100 100 pool 'mypool' created root@~# rbd ls -p mypool odm-kvm-img root@~# rbd --image odm-kvm-img info rbd: error opening image 2013-04-24 10:43:42.800917 7fdb47d76780 -1 librbd::ImageCtx: error finding header: (2) No such file or directoryodm-kvm-img: (2) No such file or directory So I tried those steps followed according the goolged: root@~# rados ls -p mypool odm-kvm-img.rbd rbd_directory root@~# rbd info odm-kvm-img.rbd rbd: error opening image 2013-04-24 10:54:19.468770 7f8332dea780 -1 librbd::ImageCtx: error finding header: (2) No such file or directory odm-kvm-img.rbd: (2) No such file or directory odm-kvm-img.rbd is showed by 'rados ls' command and it's there, but why I get an error when run the 'rbd info' command upon odm-kvm-img.rbd? does anybody can be help about this? BRs, Dennis _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com