RGW: How to restore the index and metadata of a bucket

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

 



There is a test bucket, I have removed its index and metadata:

radosgw-admin bi purge --bucket abccc --yes-i-really-mean-it
radosgw-admin metadata rm bucket.instance:abccc:17a4ce99-009e-40f2-a2d2-2afc218ebd9b.425824299.4

Now the index and metadata is gone, but how to clean its data? Or is there any way to restore the index and metadata?

I have tried to fix the index, but it doesn't work:
radosgw-admin bucket check --check-objects --fix --bucket abccc
2023-05-24 16:46:41.896 7f32d5890a80 -1 ERROR: get_bucket_instance_from_oid failed: -2
2023-05-24 16:46:41.896 7f32d5890a80  0 could not get bucket info for bucket=abccc

Same result with bucket rm:
radosgw-admin bucket rm --bucket abccc --purge-objects
2023-05-24 16:47:49.439 7fafb7939a80 -1 ERROR: get_bucket_instance_from_oid failed: -2
2023-05-24 16:47:49.439 7fafb7939a80  0 could not get bucket info for bucket=abccc
_______________________________________________
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