Red Hat Bugzilla – Bug 1259437
unformatted and LDL DASD disks not formatted during kickstart installation in text mode
Last modified: 2016-11-29 06:09:48 EST
Description of problem: The installer doesn't format unformatted DASD disks (formatted by cpfmtxa in CMS) when running a kickstart installation in text mode. Those disks are ignored during the installation. Version-Release number of selected component (if applicable): RHEL-7.0 GA RHEL-7.1 GA RHEL-7.2 Beta (anaconda-21.48.22.35-1.el7) How reproducible: always Steps to Reproduce: 1. format a DASD disk in CMS using the "cpfmtxa" command 2. run a kickstart installation in text mode with the following commands in the kickstart file: bootloader --location=mbr zerombr clearpart --all --initlabel autopart Actual results: Unformatted DASD disk not formatted using dasdfmt during the installation Expected results: Unformatted DASD disk are formatted and used during the installation
Created attachment 1069476 [details] kickstart
DASD disks after the installation: [root@rtt7 ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT dasda 94:0 0 2.3G 0 disk ├─dasda1 94:1 0 500M 0 part /boot └─dasda2 94:2 0 1.8G 0 part ├─rhel_rtt700-root 253:0 0 3.6G 0 lvm / └─rhel_rtt700-swap 253:1 0 472M 0 lvm [SWAP] dasdb 94:4 0 2.3G 0 disk └─dasdb1 94:5 0 2.3G 0 part └─rhel_rtt700-root 253:0 0 3.6G 0 lvm / [root@rtt7 ~]# lsdasd Bus-ID Status Name Device Type BlkSz Size Blocks ============================================================================== 0.0.3527 active dasda 94:0 ECKD 4096 2347MB 601020 0.0.3627 active dasdb 94:4 ECKD 4096 2347MB 601020 0.0.3727 n/f dasdc 94:8 ECKD [root@rtt7 ~]#
Not only unformatted, but also LDL disks are not formatted during kickstart installation in text mode when having the following line in the kickstart file: clearpart --all --initlabel --cdl Since I believe the root cause is the same, I'm using this bug for LDL disks as well. In case the root case is different, I will report a new bug.
------- Comment From vsandhya@in.ibm.com 2016-02-23 12:35 EDT------- Any updates?
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune@redhat.com with any questions
Retested with anaconda-21.48.22.70-1.el7, but the unformatted DASD wasn't formatted during the installation. After the installation: [root@rtt7 ~]# lsdasd Bus-ID Status Name Device Type BlkSz Size Blocks ============================================================================== 0.0.3127 active dasda 94:0 ECKD 4096 2347MB 601020 0.0.3227 active dasdb 94:4 ECKD 4096 2347MB 601020 0.0.3027 n/f dasdc 94:8 ECKD [root@rtt7 ~]# Moving back to ASSIGNED.
Created attachment 1156625 [details] storage.log
Retested with anaconda-21.48.22.79-1.el7 - LDL DASD isn't formatted with CDL during kickstart installation in text mode (ks installation in vnc mode works fine). Partitioning part of the kickstart file: bootloader --location=mbr zerombr clearpart --all --initlabel --cdl autopart Installation logs will be attached, moving to ASSIGNED.
Created attachment 1181184 [details] anaconda.log
Created attachment 1181185 [details] program.log
Created attachment 1181186 [details] storage.log
https://github.com/rhinstaller/anaconda/pull/742
Retested with anaconda-21.48.22.86-1.el7 and this issue is fixed, both unformatted and LDL formatted DASD disks are formatted with CDL in text mode. Thanks, moving to VERIFIED.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2016-2158.html