Bug 1198243

Summary: blkid does not recognize xfs external log device
Product: Red Hat Enterprise Linux 7 Reporter: Lukáš Czerner <lczerner>
Component: util-linuxAssignee: Karel Zak <kzak>
Status: CLOSED ERRATA QA Contact: Tomas Dolezal <todoleza>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 7.2CC: jscotka, pbokoc, todoleza
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: util-linux-2.23.2-23.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-19 12:19:48 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 Lukáš Czerner 2015-03-03 15:56:51 UTC
Description of problem:

In it's current version of util-linux on RHEL7 blkid does not recognize xfs extenal log device.

Steps to Reproduce:

# mkfs.xfs -f -l logdev=/dev/sdb1,size=512m /dev/sda1
# blkid /dev/sdb1
<nothing>

while upstream version will get us
# blkid /dev/sdb1
/dev/sdb1: LOGUUID="fb6fee42-caf5-4089-bf9c-702f9b95c336" TYPE="xfs_external_log"


Additional info:

Looks like we need at least this upstream commit

commit 0a2002551d65f73576cb4514fb052765d46cc8c5
Author: Eric Sandeen <sandeen>
Date:   Mon Aug 5 18:09:35 2013 -0500

    libblkid: Detect external XFS log device


plus some other fixes that went in upstream.

ed5a064d2ef8660c6cf329d9f57a39afc59ff675 libblkid: don't interpret regual XFS as external xfs log
3b41176384f5e48515cf490b2aa3f9bb1fd7ae92 libblkid: use proper type in xfs log checker [coverity scan]

Comment 5 errata-xmlrpc 2015-11-19 12:19:48 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-2015-2093.html