Bug 1461457

Summary: [RFE] autopart should have a flag to specify which disks are used
Product: Red Hat Enterprise Linux 7 Reporter: Ryan Barry <rbarry>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED WORKSFORME QA Contact: Release Test Team <release-test-team-automation>
Severity: urgent Docs Contact:
Priority: high    
Version: 7.4CC: cshao, dguo, dougsland, huzhao, jiawu, mkolman, qiyuan, sbonazzo, sbueno, yaniwang, ycui, yturgema, yzhao
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-30 17:21:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ryan Barry 2017-06-14 13:28:49 UTC
Description of problem:
If "autopart" is used as a kickstart parameter, the LVM volume group is spread across all disks.

On a system which has LUNs presented from shared storage, this means that the VG may be spread across 20+ disks, rather than just local disks.

Version-Release number of selected component (if applicable):
All

How reproducible:
100%

Steps to Reproduce:
1. Use 'autopart' in kickstart on a system with a large number of LUNs/disks presented
2.
3.

Actual results:
The VG is spread across all disks

Expected results:
'autopart' should have a flag which specifies that only some disks should be used, or all disks which are not multipathed

Additional info:

Comment 2 Martin Kolman 2017-06-14 14:41:46 UTC
Isn't this what the "ignoredisk" kickstart command[0] already does ?

[0] http://pykickstart.readthedocs.io/en/latest/kickstart-docs.html#id20

Comment 3 Ryan Barry 2017-06-30 17:21:08 UTC
You're right -- I missed "--onlyuse"

Tested and verified that this works.

We just need to add this to the documentation for RHV.

Ying: can we test upgrade speeds on a system with a large number of LUNs after installing with "--onlyuse sda" ?

Comment 4 Qin Yuan 2017-07-03 03:23:28 UTC
Ryan, 
QE can test upgrade speeds after installing with "--onlyuse sda". Right now, the largest local disk is about 3T in QE testing environment. We will try this disk firstly to see the upgrade speed, then we will try to find a larger disk, if possible, to test the upgrade speed.