Re: Rbd cp empty block

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

 



On Mon, 16 Sep 2013, Chris Dunlop wrote:
> On Mon, Sep 16, 2013 at 09:20:29AM +0800, ??? wrote:
> > Hi all:
> > 
> > I have a 30G rbd block device as virtual machine disk, Aleady installed
> > ubuntu 12.04. About 1G space used.
> > 
> > When I want to deploy vm, I made a "rbd cp". Then problem came, it copy 30G
> > data instead of 1G. And this action take lots of time.
> > 
> > Any ideal? I just want make it faster to deploy vm.
> 
> It's a bug:
> 
> http://tracker.ceph.com/issues/6257

Instead of cp, you can use rbd clone; this is copy-on-write and will 
always be faster than rbd cp.

sage
_______________________________________________
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