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.
DescriptionJulio Entrena Perez
2016-01-22 14:57:42 UTC
Description of problem:
After deleting a LV that contained a XFS filesystem and creating a new LV in the same location, libblkid fails to remove the XFS signature.
Version-Release number of selected component (if applicable):
libblkid 2.23.2-26.el7
How reproducible:
Always
Steps to Reproduce:
1. lvcreate -L 16m -n lv1 vg1
2. mkfs.xfs /dev/vg1/lv1
3. lvremove vg1/lv
4. lvcreate -L 16m -n lv1 vg1
Actual results:
# lvcreate -L 16m -n lv1 vg1
WARNING: xfs signature detected on /dev/vg1/lv1 at offset 0. Wipe it? [y/n]: y
Wiping xfs signature on /dev/vg1/lv1.
Failed to get offset of the xfs_external_log signature on /dev/vg1/lv1.
1 existing signature left on the device.
Logical volume "lv1" created.
Expected results:
# lvcreate -L 16m -n lv1 vg1
WARNING: xfs signature detected on /dev/vg1/lv1 at offset 0. Wipe it? [y/n]: y
Wiping xfs signature on /dev/vg1/lv1.
Logical volume "lv1" created.
Additional info:
Bug does not reproduce on previous libblkid-2.23.2-22.el7_1.1.
Comment 2Julio Entrena Perez
2016-01-25 13:54:45 UTC
The following patch could be the related:
"libblkid: make XFS Log visible for wipefs"
commit d5b7d2912afceac3774d1aaea9e8486b54d4e9e9
Comment 3Julio Entrena Perez
2016-01-25 17:45:56 UTC
After building test packages that include d5b7d2912afceac3774d1aaea9e8486b54d4e9e9 I confirm that the problem is resolved by it.
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/RHSA-2016-2605.html