Re: Listing out the available namespace in the Ceph Cluster

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hi Janmejay,

Sorry I just found you e-mail in my inbox.

There is no list namespaces, but rather you can list all objects in all namespaces using the --all option and filter the results.

I created 10 namespaces (ns1 - ns10) in addition to the default one.

rados -p testpool --all ls --format=json | jq '.[].namespace' | sort -u

""
"ns1"
"ns10"
"ns2"
"ns3"
"ns4"
"ns5"
"ns6"
"ns7"
"ns8"
"ns9"

David


On 11/15/16 12:28 AM, Janmejay Baral wrote:
*Dear Mr. David,*

I have been using Ceph since 1.5 yrs. Now recently we have upgraded our
Ceph cluster to Jewel from Hammer. Now for the testing purpose I need to
check with all the available Namespaces.  Can you please help me with the
query to find out the the Namespaces we have created ?





*Thanks & Regards,Janmejay Baral*


*(Actiance India Pvt. Ltd.)Sr. Software Engineer+91-9739741384*


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



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux