Bug 1751665

Summary: Disk partition of hosted engine doesn't fill whole disk
Product: Red Hat Enterprise Virtualization Manager Reporter: Juan Orti <jortialc>
Component: ovirt-hosted-engine-setupAssignee: Simone Tiraboschi <stirabos>
Status: CLOSED DUPLICATE QA Contact: Elad <ebenahar>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.3.5CC: frolland, lsurette
Target Milestone: ---Flags: lsvaty: testing_plan_complete-
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-09-16 14:36:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Integration RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Juan Orti 2019-09-12 11:12:45 UTC
Description of problem:

When deploying a HostedEngine with a bigger disk, e.g. 180 GB, the partition and PV created are only of 57 GB.

I want to know if this is an intended feature (to have the space available for future use), or a bug.

Version-Release number of selected component (if applicable):
ovirt-hosted-engine-setup-2.3.9-1.el7ev.noarch

How reproducible:
Always

Steps to Reproduce:
1. Deploy HE with OVEHOSTED_STORAGE/imgSizeGB=str:'180'

Actual results:
The disk is of the intended size but the LVM partition is only of 57 GB


[root@rhvm ~]# fdisk -l /dev/vda

Disk /dev/vda: 193.3 GB, 193273528320 bytes, 377487360 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x0003d8ca

   Device Boot      Start         End      Blocks   Id  System
/dev/vda1   *        2048     2099199     1048576   83  Linux
/dev/vda2         2099200   121634815    59767808   8e  Linux LVM

Comment 1 Simone Tiraboschi 2019-09-16 14:36:08 UTC
(In reply to Juan Orti Alcaine from comment #0)
> Description of problem:
> 
> When deploying a HostedEngine with a bigger disk, e.g. 180 GB, the partition
> and PV created are only of 57 GB.
> 
> I want to know if this is an intended feature (to have the space available
> for future use), or a bug.

A feature: please see https://bugzilla.redhat.com/1654555

*** This bug has been marked as a duplicate of bug 1654555 ***