sparse copy between pools

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

 



On 05/14/2014 02:13 PM, Erwin Lubbers wrote:
> Hi,
> 
> I'm trying to copy a sparse provisioned rbd image from pool A to pool B (both are replicated three times). The image has a disksize of 8 GB and contains around 1.4 GB of data. I do use:
> 
> rbd cp PoolA/Image PoolB/Image
> 
> After copying "ceph -s" tells me that 24 GB diskspace extra is in use. Then I delete the original pool A image and only 8 GB of space is freed.
> 
> Does Ceph not sparse copy the image using cp? Is there another way to do so?
> 
> I'm using 0.67.7 dumpling on this cluster.

I believe that the
http://tracker.ceph.com/projects/ceph/repository/revisions/824da2029613a6f4b380b6b2f16a0bd0903f7e3c/diff/src/librbd/internal.cc
had to went to the dumpling as backport; github shows that it was not.

Josh, would you mind to add your fix there too?
> 
> Regards,
> Erwin
> 
> _______________________________________________
> ceph-users mailing list
> ceph-users at lists.ceph.com
> 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