Hi,
to get the real usage of an image I can run:
rbd diff image1 | awk '{ SUM += $2 } END { print SUM/1024/1024 " MB" }'
To get the cow usage of a snapshot:
rbd diff image1 --from-snap snap1 | awk '{ SUM += $2 } END { print
SUM/1024/1024 " MB" }'
But I wonder how I can get the cow usage of a clone? I tried passing an
absolute snapshot name "image1@snap1" but that
doesn't work.
rbd diff clone1 --from-snap image1@snap1 | awk '{ SUM += $2 } END { print
SUM/1024/1024 " MB" }'
rbd: diff error: (2) No such file or directory
Thanks for any help.
Corin
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com