Re: CephFS: Questions regarding Namespaces, Subvolumes and Mirroring

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

 



On 12.01.23 17:13, Jonas Schwab wrote:

rbd namespace ls <cephfs_data_pool> --format=json
      But the latter command just returns an empty list. Are the
namespaces used for rdb and CephFS different ones?

RBD and CephFS are different interfaces. You would need to use rados to list all objects and their namespaces. I have not found a way to only list namespaces of a pool.

root@cephtest20:~# rados -p .nfs --all ls
nfs01	rec-0000000000000049:nfs.nfs01.0
nfs01	export-1
nfs01	rec-000000000000002a:nfs.nfs01.1
nfs01	conf-nfs.nfs01
nfs01	rec-0000000000000049:nfs.nfs01.1
nfs01	rec-0000000000000013:nfs.nfs01.1
nfs01	grace
nfs01	rec-0000000000000008:nfs.nfs01.1
nfs01	rec-0000000000000049:nfs.nfs01.2
nfs01	rec-0000000000000029:nfs.nfs01.2
nfs01	rec-0000000000000010:nfs.nfs01.1
nfs01	rec-0000000000000011:nfs.nfs01.2
nfs01	rec-0000000000000009:nfs.nfs01.0
root@cephtest20:~# rbd namespace ls .nfs
root@cephtest20:~#

Where "nfs01" is a namespace in the pool .nfs

Regards
--
Robert Sander
Heinlein Consulting GmbH
Schwedter Str. 8/9b, 10119 Berlin

https://www.heinlein-support.de

Tel: 030 / 405051-43
Fax: 030 / 405051-19

Amtsgericht Berlin-Charlottenburg - HRB 220009 B
Geschäftsführer: Peer Heinlein - Sitz: Berlin
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx




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


  Powered by Linux