Bug 1325706 - kickstart logvol --grow does not use all available space
Summary: kickstart logvol --grow does not use all available space
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: python-blivet
Version: 7.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Blivet Maintenance Team
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-10 20:17 UTC by Eugene Kanter
Modified: 2021-09-03 14:09 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-12-15 07:40:54 UTC
Target Upstream Version:


Attachments (Terms of Use)
anaconda.log (15.48 KB, text/plain)
2016-04-11 08:25 UTC, Jan Stodola
no flags Details
program.log (37.61 KB, text/plain)
2016-04-11 08:25 UTC, Jan Stodola
no flags Details
storage.log (123.41 KB, text/plain)
2016-04-11 08:25 UTC, Jan Stodola
no flags Details

Description Eugene Kanter 2016-04-10 20:17:05 UTC
How reproducible:
always

Steps to Reproduce:

On a KVM virtual machine with two 8G virtual disks.

kickstart file fragment:

part raid.11 --size 500 --asprimary --ondrive=vda
part raid.21 --size 500 --asprimary --ondrive=vdb
raid /boot   --fstype xfs --device boot --level=RAID1 raid.11 raid.21

part raid.12 --size 1000 --grow --asprimary --ondrive=vda
part raid.22 --size 1000 --grow --asprimary --ondrive=vdb
raid pv.1   --fstype xfs --device pv.1 --level=RAID1 raid.12 raid.22
volgroup vg_system --pesize=131072 pv.1
logvol / --fstype=xfs --name=lv_root --vgname=vg_system --size 1000 --grow

Actual results:
# vgdisplay vg_cobbler-test | grep Size
  VG Size               7.50 GiB
  PE Size               128.00 MiB
  Alloc PE / Size       40 / 5.00 GiB
  Free  PE / Size       20 / 2.50 GiB


Expected results:

based on --grow option description in
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Installation_Guide/sect-kickstart-syntax.html logvol section:

--grow - Tells the logical volume to grow to fill available space (if any)

logical volume should allocate all available space in volume group

Additional info:

using --size with value more then allocated by --grow causes installer out of space on volume group error.

Comment 2 Jan Stodola 2016-04-11 08:23:35 UTC
Reproduced on RHEL-7.2 GA, although "only" 1.25 GiB were not used:

[root@localhost ~]# vgdisplay vg_system | grep -i size
  VG Size               7.50 GiB
  PE Size               128.00 MiB
  Alloc PE / Size       50 / 6.25 GiB
  Free  PE / Size       10 / 1.25 GiB
[root@localhost ~]#

Installation logs will be attached

Comment 3 Jan Stodola 2016-04-11 08:25:22 UTC
Created attachment 1145858 [details]
anaconda.log

Comment 4 Jan Stodola 2016-04-11 08:25:39 UTC
Created attachment 1145859 [details]
program.log

Comment 5 Jan Stodola 2016-04-11 08:25:55 UTC
Created attachment 1145860 [details]
storage.log

Comment 8 RHEL Program Management 2020-12-15 07:40:54 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.


Note You need to log in before you can comment on or make changes to this bug.