Bug 1311117

Summary: disk size error, after snapshot preallocated disk
Product: [oVirt] ovirt-engine Reporter: boruvka.michal
Component: BLL.StorageAssignee: Ala Hino <ahino>
Status: CLOSED CURRENTRELEASE QA Contact: Aharon Canan <acanan>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.6.2.6CC: acanan, ahino, alitke, amureini, bugs, ratamir, tnisan
Target Milestone: ovirt-3.6.3Flags: rule-engine: ovirt-3.6.z+
rule-engine: planning_ack+
rule-engine: devel_ack+
rule-engine: testing_ack+
Target Release: 3.6.3   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-10 12:48:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description boruvka.michal 2016-02-23 12:31:21 UTC
Description of problem:

1. I have VM with preallocated disk 20G.
2. Now I create snapshot. (in VM I see 20GB disk)
3. Now I Copy some data (5GB) to VM. 
4. Delete snapshot. 
5. Now Actual disk size is 24G and virtual size is 20G
6. stop/start VM
7. In VM I see 24GB disk, but I should si 20GB disk !!!

Version-Release number of selected component (if applicable):
ovirt-engine 3.6.2.6
vdsm 4.17.18-1.el7

How reproducible:
always

Steps to Reproduce:
1. viz. Description

Actual results:


Expected results:


Additional info:

Comment 1 Allon Mureinik 2016-02-23 12:40:00 UTC
Ala/Adam, this looks like the same issue as bug 1301709. Please either confirm (and reset the target milestone to 3.6.3 and move the bug to MODIFIED) or issue a fix for 3.6.5.

Comment 2 Allon Mureinik 2016-02-28 13:17:29 UTC
(In reply to Allon Mureinik from comment #1)
> Ala/Adam, this looks like the same issue as bug 1301709. Please either
> confirm (and reset the target milestone to 3.6.3 and move the bug to
> MODIFIED) or issue a fix for 3.6.5.
Moving to ON_QA.
QA - up to you to either verify this scenario with vdsm-4.17.23 or newer (as per the fix for bug 1301709), or close as a duplicate.

Comment 3 Raz Tamir 2016-03-01 15:04:03 UTC
Verified using the steps in bug 1301709:
1. Create VM (preallocated disk over ISCSI SD)
2. Create 2 snapshots
3. Live merge one of the snapshots
4. Clone a VM from the snapshot left

rhevm-3.6.3.4-0.1.el6.noarch
vdsm-4.17.23-0.el7ev.noarch