Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1210450

Summary: dasdfmt progress bar is not proper
Product: Red Hat Enterprise Linux 6 Reporter: Jan Stodola <jstodola>
Component: anacondaAssignee: Samantha N. Bueno <sbueno>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.7CC: sbueno
Target Milestone: rc   
Target Release: ---   
Hardware: s390x   
OS: Linux   
Whiteboard:
Fixed In Version: anaconda-13.21.240-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-10 20:43:58 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:
Bug Depends On:    
Bug Blocks: 1179586, 1217621, 1269957, 1286535    
Attachments:
Description Flags
program.log
none
storage.log
none
syslog
none
Patch w/fix none

Description Jan Stodola 2015-04-09 18:50:41 UTC
Description of problem:
dasdfmt now defaults to format 10 cylinders in one step instead on 1 cylinder per step (see bug 1053828). Because of this change, dasdfmt only prints every 10th cylinder formatted and the progress bar for formatting DASDs with dasdfmt doesn't go to 100%, but finishes in ~10% of it's length.

program.log:

10:15:22,980 INFO    : Running... ['/sbin/dasdfmt', '-P', '-y', '-d', 'cdl', '-b', '4096', '/dev/dasdb']
10:15:23,084 INFO    : cyl       1 of    3339 |  0%
10:15:23,187 INFO    : cyl      11 of    3339 |  0%
10:15:23,285 INFO    : cyl      21 of    3339 |  0%
10:15:23,372 INFO    : cyl      31 of    3339 |  0%
...


Version-Release number of selected component (if applicable):
anaconda-13.21.233-1.el6
s390utils-1.8.2-56.el6

How reproducible:
always

Steps to Reproduce:
1. format one DASD with cpfmtxa in CMS
2. start the installation
3. select "Format" when anaconda recognizes the unformatted disk

Actual results:
The progress bar goes to ~10% of it's length and the formatting is done.

Expected results:
The progress bar goes to 100% of the length of the progress bar.

Additional info:
This issue has no effect on the formatting itself.

Comment 1 Jan Stodola 2015-04-09 18:51:39 UTC
Created attachment 1012782 [details]
anaconda.log

Comment 2 Jan Stodola 2015-04-09 18:51:41 UTC
Created attachment 1012783 [details]
program.log

Comment 3 Jan Stodola 2015-04-09 18:51:43 UTC
Created attachment 1012784 [details]
storage.log

Comment 4 Jan Stodola 2015-04-09 18:51:46 UTC
Created attachment 1012785 [details]
syslog

Comment 5 Samantha N. Bueno 2015-04-09 19:30:55 UTC
Created attachment 1012787 [details]
Patch w/fix

Comment 9 Jan Stodola 2016-02-18 14:14:38 UTC
dasdfmt progress bar works as expected, from 0 to 100%.
Tested in graphical and text mode.

Thanks, moving to VERIFIED.

Comment 12 errata-xmlrpc 2016-05-10 20:43:58 UTC
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/RHBA-2016-0798.html