Re: [ceph-users] During copy new rbd image is totally thick

2014-02-03 Thread Sebastien Han
I have the same behaviour here.
I believe this is somehow expected since you’re calling “copy”, clone will do 
the cow.

 
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 08:43, Igor Laskovy igor.lask...@gmail.com wrote:

 Anybody? ;)
 
 
 On Thu, Jan 30, 2014 at 9:10 PM, Igor Laskovy igor.lask...@gmail.com wrote:
 Hello list,
 
 Is it correct behavior during copy to thicking rbd image?
 
 igor@hv03:~$ rbd create rbd/test -s 1024
 igor@hv03:~$ rbd diff rbd/test | awk '{ SUM += $2 } END { print SUM/1024/1024 
  MB }'
 0 MB
 igor@hv03:~$ rbd copy rbd/test rbd/cloneoftest
 Image copy: 100% complete...done.
 igor@hv03:~$ rbd diff rbd/cloneoftest | awk '{ SUM += $2 } END { print 
 SUM/1024/1024  MB }'
 1024 MB
 
 -- 
 Igor Laskovy
 facebook.com/igor.laskovy
 studiogrizzly.com
 
 
 
 -- 
 Igor Laskovy
 facebook.com/igor.laskovy
 studiogrizzly.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


Re: [ceph-users] During copy new rbd image is totally thick

2014-02-02 Thread Igor Laskovy
Anybody? ;)


On Thu, Jan 30, 2014 at 9:10 PM, Igor Laskovy igor.lask...@gmail.comwrote:

 Hello list,

 Is it correct behavior during copy to thicking rbd image?

 igor@hv03:~$ rbd create rbd/test -s 1024
 igor@hv03:~$ rbd diff rbd/test | awk '{ SUM += $2 } END { print
 SUM/1024/1024  MB }'
 0 MB
 igor@hv03:~$ rbd copy rbd/test rbd/cloneoftest
 Image copy: 100% complete...done.
 igor@hv03:~$ rbd diff rbd/cloneoftest | awk '{ SUM += $2 } END { print
 SUM/1024/1024  MB }'
 1024 MB

 --
 Igor Laskovy
 facebook.com/igor.laskovy
 studiogrizzly.com




-- 
Igor Laskovy
facebook.com/igor.laskovy
studiogrizzly.com
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


[ceph-users] During copy new rbd image is totally thick

2014-01-30 Thread Igor Laskovy
Hello list,

Is it correct behavior during copy to thicking rbd image?

igor@hv03:~$ rbd create rbd/test -s 1024
igor@hv03:~$ rbd diff rbd/test | awk '{ SUM += $2 } END { print
SUM/1024/1024  MB }'
0 MB
igor@hv03:~$ rbd copy rbd/test rbd/cloneoftest
Image copy: 100% complete...done.
igor@hv03:~$ rbd diff rbd/cloneoftest | awk '{ SUM += $2 } END { print
SUM/1024/1024  MB }'
1024 MB

-- 
Igor Laskovy
facebook.com/igor.laskovy
studiogrizzly.com
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com