Hi Shashank,
I think you should use "rados -p <pool_name> ls" to list all objects in
<pool_name>,
if there is a image in <pool_name> , like this :
root@ceph0:~# rados -p testpool ls
rb.0.1017.6b8b4567.000000001806
rb.0.1017.6b8b4567.000000000f32
rb.0.1017.6b8b4567.000000001b5b
rb.0.1017.6b8b4567.00000000181f
rb.0.1017.6b8b4567.00000000121f
rb.0.1017.6b8b4567.000000000278
......
rb.0.1017.6b8b4567 is image prefix
000000001806 is object id
so the output likes this:
<image_prefix>.<object_id>
I wish this will be help !
best regards
min chen
------------------ Original ------------------
From: "Shashank Puntamkar";<[email protected]>;
Date: Mon, May 26, 2014 02:24 PM
To: "ceph-users"<[email protected]>;
Subject: [ceph-users] How to get Unique object ID of object in ceph
I am trying to explore the possibility to use ceph object based
storage in software development and client side deployment.I
configured Rados gateway.I am able to access data with filename
reference using S3 API and various other s3 clients.I wish to use
Object ID to access the data rather then file name.Hence I want to
know about the Objet ID assignment of files/object in Ceph.Can anyone
tell l how to get ObjectID of object in Ceph? Is Ceph provides unique
object ID of objects?
Thanks in advance
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com