Re: Remove ... something

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

 



Le 17/03/2025 à 13:46:58+0000, Eugen Block a écrit
Hi, 

> 
> that's because the rbd metadata is stored in a replicated pool. You need to
> look into your replicated pool to delete the test image. If you don't find
> it with:

Ok. I know that. But I didn't know I should remove the image metadata from
the replica pool. So I already deleted the replicated pool....;-)

> 
> rbd list --pool <replicated_pool>
> 
> you can inspect the rbd_data prefix of the EC chunks and then find the
> corresponding rbd image:
> 
> # retrieve the rbd_data prefix:
> rados -p openstack-ec ls | head -1
> rbd_data.2.c142ac217af172.0000000000000120
> 
> # myrbdprefix="c142ac217af172"; for i in $(rbd -p images ls); do if [ $(rbd
> info --format json images/$i | jq -r '.block_name_prefix' | grep -c
> "$myrbdprefix") -eq 1 ]; then echo "your image is: " $(rbd info --format
> json images/$i | jq -r '.name'); break; fi; done
> your image is:  volume-6cc34ae0-910f-475e-a097-7f374f4a8d57
> 
> To remove the image, you would need to issue that command for the replicated
> pool, not the EC pool:
> 
> rbd rm <replicated_pool>/<image>

Ok big thanks. I would (try to)  keep that in my little brain

Now I will just remove the erasure pool also ;-)

Regards.

JAS
-- 
Albert SHIH 🦫 🐸
Observatoire de Paris
France
Heure locale/Local time:
lun. 17 mars 2025 16:11:41 CET
_______________________________________________
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