diff --git a/HowtoCeph.md b/HowtoCeph.md index 13184b83..c2b9844b 100644 --- a/HowtoCeph.md +++ b/HowtoCeph.md @@ -862,4 +862,17 @@ id=client.libvirt ceph auth get "$id" | grep -e "$id" -e key > /etc/ceph/ceph."$id".keyring ~~~ -Les infos seront dans `/etc/ceph/ceph.client.libvirt.keyring`. \ No newline at end of file +Les infos seront dans `/etc/ceph/ceph.client.libvirt.keyring`. + +## Quel client utilise ce RBD ? + +Depuis un nœud de cluster, on peut savoir quel client utilise un RBD avec la commande `rbd status`. + +``` +root@ceph-admin-node:~# rbdname=mypool/myrbd +root@ceph-admin-node:~# rbd status vm-root "${rbdname}" +Watchers: + watcher=x.y.z.t:0/2718281828 client.2718281 cookie=271828182845904 +``` + +L’IP du client est `x.y.z.t`. \ No newline at end of file