Re: Actual size of rbd vm images

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

 



On Sun, 30 Nov 2014 11:37:06 AM Haomai Wang wrote:
> Yeah, we still have no way to inspect the actual usage of image.
> 
> But we already have existing bp to impl it.
> https://wiki.ceph.com/Planning/Blueprints/Hammer/librbd%3A_shared_flag%2C_ob
> ject_map

Thanks, good to know.

I did find this:

  http://permalink.gmane.org/gmane.comp.file-systems.ceph.user/3684

rbd diff {POOL}/{IMAGE} | awk '{ SUM += $2 } END { print SUM/1024/1024/1024 " 
GB" }'

Which does the trick nicely in the meantime.

-- 
Lindsay

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux