root@con-17-4:~# rbd info volumes/volume-7576186c-7cf8-4f8d-b66f-8a75689efa32
rbd image 'volume-7576186c-7cf8-4f8d-b66f-8a75689efa32':
size 100 GiB in 25600 objects
order 22 (4 MiB objects)
snapshot_count: 0
id: 55f1194f3f09d8
block_name_prefix: rbd_data.55f1194f3f09d8
format: 2
features: layering, exclusive-lock, object-map, fast-diff, deep-flatten
op_features:
flags:
create_timestamp: Fri May 7 10:45:24 2021
access_timestamp: Mon May 24 11:10:31 2021
modify_timestamp: Fri May 7 10:45:24 2021
root@con-17-4:~# rados -p volumes ls |grep 55f1194f3f09d8
rbd_data.55f1194f3f09d8.000000000000003b
rbd_data.55f1194f3f09d8.0000000000003a04
rbd_data.55f1194f3f09d8.0000000000003026
rbd_data.55f1194f3f09d8.0000000000005a05
rbd_data.55f1194f3f09d8.0000000000004e02
rbd_data.55f1194f3f09d8.0000000000000e01
rbd_data.55f1194f3f09d8.0000000000003097
rbd_data.55f1194f3f09d8.0000000000006004
rbd_data.55f1194f3f09d8.00000000000000a0
rbd_data.55f1194f3f09d8.000000000000002d
rbd_data.55f1194f3f09d8.0000000000001c05
rbd_data.55f1194f3f09d8.0000000000003808
rbd_data.55f1194f3f09d8.0000000000000067
rbd_data.55f1194f3f09d8.0000000000001808
rbd_data.55f1194f3f09d8.0000000000003043
rbd_data.55f1194f3f09d8.000000000000002b
................................
root@con-17-4:~# rbd object-map check volumes/volume-7576186c-7cf8-4f8d-b66f-8a75689efa32
Object Map Check: 100% complete...done.
root@con-17-4:~# rbd info volumes/volume-7576186c-7cf8-4f8d-b66f-8a75689efa32
rbd image 'volume-7576186c-7cf8-4f8d-b66f-8a75689efa32':
size 100 GiB in 25600 objects
order 22 (4 MiB objects)
snapshot_count: 0
id: 55f1194f3f09d8
block_name_prefix: rbd_data.55f1194f3f09d8
format: 2
features: layering, exclusive-lock, object-map, fast-diff, deep-flatten
op_features:
flags:
create_timestamp: Fri May 7 10:45:24 2021
access_timestamp: Mon May 24 11:10:31 2021
modify_timestamp: Fri May 7 10:45:24 2021
--image-feature feature-name
Specifies which RBD format 2 feature should be enabled when creating an image.
Multiple features can be enabled by repeating this option multiple times. The following features are supported:
¡¤ layering: layering support
¡¤ striping: striping v2 support
¡¤ exclusive-lock: exclusive locking support
¡¤ object-map: object map support (requires exclusive-lock)
¡¤ fast-diff: fast diff calculations (requires object-map)
¡¤ deep-flatten: snapshot flatten support
¡¤ journaling: journaled IO support (requires exclusive-lock)
¡¤ data-pool: erasure coded pool support
object-map check image-spec | snap-spec
Verify the object map is correct. ¿ÀºêÁ§Æ®¸ÊÀÇ ¿Ã¹Ù¸¥Áö È®ÀÎ
object-map rebuild image-spec | snap-spec
Rebuild an invalid object map for the specified image. An image snapshot can be specified to rebuild an invalid object map for a snapshot.