Sparse Files and Heal

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

 



I have a VM image which is a sparse file - 512GB allocated, but only 32GB used.

 

 

root@vnb:~# ls -lh /mnt/gluster-brick1/datastore/images/100

total 31G

-rw------- 2 root root 513G Nov 18 19:57 vm-100-disk-1.qcow2

 

 

I switched to full sync and rebooted.

 

heal was started on the image and it seemed to be just transfering the full file from node vnb to vng. iftop showed bandwidth at 500 Mb/s

 

Eventually the cumulative transfer got to 140GB which seemed odd as the real file size was 31G. I logged onto the second node (vng) and the *real* file size size was up to 191Gb.

 

It looks like the heal is not handling sparse files, rather it is transferring empty bytes to make up the allocated size. Thats a serious problem for the common habit of over committing your disk space with vm images. Not to mention the inefficiency.

 

thanks,

 

--

Lindsay

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-users

[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux