[ceph-users] get virtual size and used

2014-02-03 Thread zorg

hi,
We use rbd pool for
and I wonder how can i have
the real size use by my drb image

I can have the virtual size rbd info
but  how can i have the real size use by my drbd image


--
probeSys - spécialiste GNU/Linux
site web : http://www.probesys.com

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


Re: [ceph-users] get virtual size and used

2014-02-03 Thread Sebastien Han
Hi,

$ rbd diff rbd/toto | awk '{ SUM += $2 } END { print SUM/1024/1024  MB }’

 
Sébastien Han 
Cloud Engineer 

Always give 100%. Unless you're giving blood.” 

Phone: +33 (0)1 49 70 99 72 
Mail: sebastien@enovance.com 
Address : 10, rue de la Victoire - 75009 Paris 
Web : www.enovance.com - Twitter : @enovance 

On 03 Feb 2014, at 17:10, zorg z...@probesys.com wrote:

 hi,
 We use rbd pool for
 and I wonder how can i have
 the real size use by my drb image
 
 I can have the virtual size rbd info
 but  how can i have the real size use by my drbd image
 
 
 -- 
 probeSys - spécialiste GNU/Linux
 site web : http://www.probesys.com
 
 ___
 ceph-users mailing list
 ceph-users@lists.ceph.com
 http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com