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 1534272

Summary: md: raid0 device creation prints blank line to journalctl
Product: Red Hat Enterprise Linux 7 Reporter: John Pittman <jpittman>
Component: kernelAssignee: John Pittman <jpittman>
kernel sub component: Multiple Devices (MD) QA Contact: guazhang <guazhang>
Status: CLOSED ERRATA Docs Contact:
Severity: low    
Priority: low CC: guazhang, lmiksik, stalexan, xni
Version: 7.4   
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel-3.10.0-857.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-10 23:36:13 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:
Attachments:
Description Flags
Patch to dump_zones() in drivers/md/raid0.c none

Description John Pittman 2018-01-14 17:18:48 UTC
Description of problem:

raid0 device creation prints blank line to journalctl

Jan 12 19:26:42 localhost.localdomain kernel: md0: detected capacity change from 3218079744 to 0
Jan 12 19:26:42 localhost.localdomain kernel: md: md0 stopped.
Jan 12 19:27:32 localhost.localdomain kernel: 
Jan 12 19:27:32 localhost.localdomain kernel: md0: detected capacity change from 0 to 2145386496

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

kernel-3.10.0-693.11.6.el7

How reproducible:

mdadm -C /dev/md(x) --raid-devices 2 --level 0 /dev/sdb /dev/sdc

Comment 2 John Pittman 2018-01-14 17:45:34 UTC
Created attachment 1381105 [details]
Patch to dump_zones() in drivers/md/raid0.c

Comment 9 Bruno Meneguele 2018-02-27 11:20:51 UTC
Patch(es) committed on kernel repository and an interim kernel build is undergoing testing

Comment 11 Bruno Meneguele 2018-02-27 11:24:37 UTC
Patch(es) available on kernel-3.10.0-857.el7

Comment 13 guazhang@redhat.com 2018-02-27 11:49:19 UTC
Hello

3.10.0-855.el7.x86_64

Feb 27 06:36:26 storageqe-26.rhts.eng.bos.redhat.com kernel: md0: detected capacity change from 10726932480 to 0
Feb 27 06:36:26 storageqe-26.rhts.eng.bos.redhat.com kernel: md: md0 stopped.
Feb 27 06:38:06 storageqe-26.rhts.eng.bos.redhat.com kernel: 
Feb 27 06:38:06 storageqe-26.rhts.eng.bos.redhat.com kernel: md0: detected capacity change from 0 to 10726932480


3.10.0-857.el7.x86_64

Feb 27 06:47:01 storageqe-26.rhts.eng.bos.redhat.com kernel: md127: detected capacity change from 10726932480 to 0
Feb 27 06:47:01 storageqe-26.rhts.eng.bos.redhat.com kernel: md: md127 stopped.
Feb 27 06:47:04 storageqe-26.rhts.eng.bos.redhat.com kernel: md: md126 stopped.
Feb 27 06:47:34 storageqe-26.rhts.eng.bos.redhat.com kernel: md0: detected capacity change from 0 to 10726932480


so the kernel 857 has fixed the bug ,move to verified 


thanks
guazhang

Comment 14 errata-xmlrpc 2018-04-10 23:36:13 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://access.redhat.com/errata/RHSA-2018:1062