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.
We are trying to move users away from using non-persistent device names, like /dev/sda, toward the use persistent names, like /dev/disk/by-*. One of the complaints we get is "well, all the messages in the system log use sda, so we have no choice". The other problem, of course, is that when you look at the log it is not always clear which physical device corresponds to sda at that particular point in time.
The ability to index the journal by a persistent device name, mentioned in this blog:
http://0pointer.de/blog/projects/journalctl.html
provides a solution to the problem. A sysadmin will to be able to say:
"display all the messages related to this disk:
wwn-0x5000cca5b7d39e46 regardless of what its temporary 'sd' name
happened to be"
...and variations on that theme, continuing to move people away from
depending on the temporary 'sd' name.
This is an important feature for RHEL 7. (We will plan to document it in the Storage Admin. Guide, in the Persistent Device Names section.)
The blog mentions that there is a kernel dependency for this. If that dependency is not in the 3.9 kernel, please open a kernel BZ, marked as a blocker for this BZ, with a pointer to the kernel change that is needed.
Thanks.
In answer to an email query, Kay indicated that this feature will not be available in 7.0 because the prerequisite kernel work has not been done yet.
In order for structured logging queries to work, printk statements in the kernel must be converted to dev_printk() (or a custom variant of it, that attaches the same structured data), to export the needed data to the journal to store away.
One example patch is posted here:
http://www.spinics.net/lists/linux-scsi/msg62499.html
Ideally the whole kernel would be converted, but it should
be fine to convert only the ones which are interesting here,
which is probably: most of SCSI, dm, md, parts of the block
layer, and possibly some interesting filesystem logging messages.
I will move this BZ to 7.1, and I will clone it to a new BZ, get the kernel portion of the work done.
Comment 6Maurizio Lombardi
2015-05-11 07:12:41 UTC
The kernel patches required by this BZ are available in the latest RHEL7 kernel (kernel-3.10.0-250)
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-2216.html
Comment 33Red Hat Bugzilla
2023-09-14 01:43:06 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days