2.6. 检索镜像信息
要从特定镜像检索信息,请执行以下操作,但将 {image-name} 替换为镜像的名称:
[root@rbd-client ~]# rbd --image {image-name} info
例如:
[root@rbd-client ~]# rbd --image foo info
要从池中的镜像检索信息,请执行以下操作,但将 {image-name} 替换为镜像名称,并将 {pool-name} 替换为池的名称:
[root@rbd-client ~]# rbd --image {image-name} -p {pool-name} info
例如:
[root@rbd-client ~]# rbd --image bar -p swimmingpool info