[Bugs] [Bug 1179563] self-heal-algorithm with option "full" doesn't heal sparse files correctly

bugzilla at redhat.com bugzilla at redhat.com
Tue Mar 3 18:23:40 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1179563

SATHEESARAN <sasundar at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ON_QA                       |VERIFIED



--- Comment #3 from SATHEESARAN <sasundar at redhat.com> ---
Tested with glusterfs-3.6.0.47-1.el6rhs with the following test :

1. Created a 3 node trusted storage pool ( gluster cluster )
2. Created a replica 2 volume
3. Optimized the volume for virt store usecase
(i.e) gluster volume set <vol-name> group virt
      gluster volume set <vol-name> storage.owner-uid 36
      gluster volume set <vol-name> storage.owner-gid 36
4. set the self-heal-algorithm to 'full'
(i.e) gluster volume set <vol-name> data-self-heal-algorithm full
5. Started the gluster volume
6. Used this volume as a "Data Domain" in RHEVM
7. Created the 80G VM Image on this "Data Domain" backed by 'gluster volume'
8. Powered off the second NODE
9. Installed OS in the VM, which populated the image file and the 'disk size'
of the image file grew to 3.4G
10. Powered on the second NODE
11. Triggered self-heal
(ie) gluster volume heal <vol-name> 
12. After heal is complete, the 'disk size' of the image file at the sink is
less than the 'disk size' of the source

Repeated the testing with "Virt RHS Integration" as well. The results looked
the same

Size of the image file as seen in the source
---------------------------------------------
[root at dhcp37-123 ~]# qemu-img info /rhs/brick4/vb11/vm2.img 
image: /rhs/brick4/vb11/vm2.img
file format: raw
virtual size: 80G (85899345920 bytes)
disk size: 3.4G

Size of the image file as seen in the sink
-------------------------------------------
[root at dhcp37-182 ~]# qemu-img info /rhs/brick4/vb11/vm2.img 
image: /rhs/brick4/vb11/vm2.img
file format: raw
virtual size: 80G (85899345920 bytes)
disk size: 2.1G

based on the above mentioned results, marking this bug as VERIFIED

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=rQ9Z7E3jS6&a=cc_unsubscribe


More information about the Bugs mailing list