xfs/073 test fails with Metadata corruption detected on xfs file system (xfsprogs)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
The Ubuntu-power-systems project |
Fix Released
|
Medium
|
Canonical Foundations Team | ||
linux (Ubuntu) |
Invalid
|
Medium
|
Unassigned | ||
Xenial |
Invalid
|
Undecided
|
Unassigned | ||
Zesty |
Invalid
|
Undecided
|
Unassigned | ||
xfsprogs (Ubuntu) |
Fix Released
|
High
|
Canonical Foundations Team | ||
Xenial |
Fix Released
|
High
|
Brian Murray | ||
Zesty |
Fix Released
|
High
|
Brian Murray |
Bug Description
Impact
======
When making multiple copies of a V5 filesystem with xfs_copy those copies will be corrupt due to incorrect UUIDs.
Test Case
=========
See the detailed steps to create the test environment in comment #20.
Regression Potential
=======
From the patch "Most of this patch is changing comments and re-ordering tests to match; the functional change is to simply use the *sb rather than the *ag_hdr to identify the proper metadata UUID." So this seems pretty straightforward and given that copy process is currently broken, because the copies are corrupt, this will be an improvement.
Original Description
=======
Problem Description
-------
xfs/073 test fails with Metadata corruption detected on xfs file system. Test fails with _check_
# diff -u tests/xfs/073.out /root/xfstests-
--- tests/xfs/073.out 2017-03-23 12:13:05.288877197 +0530
+++ /root/xfstests-
@@ -59,8 +59,7 @@
comparing new image geometry to old
unmounting and removing new image
checking new image
-mounting new image on loopback
-comparing new image files to old
-comparing new image directories to old
-comparing new image geometry to old
-unmounting and removing new image
+_check_
+(see /root/xfstests-
+_check_
+(see /root/xfstests-
Metadata corruption detected at xfs_agf block 0x1/0x200
# uname -a
Linux ltc-tuleta12 4.10.0-21-generic #23~16.04.1-Ubuntu SMP Tue May 2 12:54:57 UTC 2017 ppc64le ppc64le ppc64le GNU/Linux
Steps to reproduce:
-------
1. Create a loop device with xfs filesystem
2. git clone git://git.
3. make
4. Create a local.conf for running with created loop device
5.. Run xfstests-dev test : ./check tests/xfs/073
Full log is attached.
== Comment: #2 - Harish Sriram <email address hidden> - 2017-05-31 01:22:11 ==
(In reply to comment #1)
> Hi Harish,
> Can you share the steps used in creating the loop device with xfs filesystem
> ?
>
> Thank you.
Create loop device:
# mkdir /mnt/loop-device /mnt/test /mnt/scratch
# for i in $(seq 0 1); do fallocate -o 0 -l 5GiB /mnt/loop-
# for i in $(seq 0 1); do losetup /dev/loop$i /mnt/loop-
Create File system:
# for i in $(seq 0 1); do mkfs.ext4 -F /dev/loop$i; done
# cat local.config
export TEST_DEV=/dev/loop0
export TEST_DIR=/mnt/test
export SCRATCH_
export SCRATCH_
Changed in ubuntu-power-systems: | |
assignee: | nobody → Canonical Server Team (canonical-server) |
Changed in ubuntu-power-systems: | |
status: | New → Confirmed |
Changed in ubuntu-power-systems: | |
importance: | Undecided → Medium |
Changed in ubuntu-power-systems: | |
assignee: | Canonical Server Team (canonical-server) → Canonical Foundations Team (canonical-foundations) |
Changed in xfsprogs (Ubuntu): | |
assignee: | Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) → Canonical Foundations Team (canonical-foundations) |
Changed in ubuntu-power-systems: | |
assignee: | Canonical Foundations Team (canonical-foundations) → nobody |
Changed in xfsprogs (Ubuntu): | |
status: | Triaged → Confirmed |
tags: | added: triage-g |
Changed in linux (Ubuntu Xenial): | |
status: | New → Invalid |
Changed in linux (Ubuntu Zesty): | |
status: | New → Invalid |
Changed in xfsprogs (Ubuntu Xenial): | |
status: | New → Triaged |
Changed in xfsprogs (Ubuntu Zesty): | |
status: | New → Triaged |
Changed in xfsprogs (Ubuntu Xenial): | |
importance: | Undecided → High |
Changed in xfsprogs (Ubuntu Zesty): | |
importance: | Undecided → High |
Changed in ubuntu-power-systems: | |
status: | Confirmed → Fix Released |
assignee: | nobody → Canonical Foundations Team (canonical-foundations) |
Changed in xfsprogs (Ubuntu Zesty): | |
assignee: | nobody → Brian Murray (brian-murray) |
tags: | removed: kernel-da-key |
Changed in xfsprogs (Ubuntu Zesty): | |
status: | Triaged → In Progress |
Changed in xfsprogs (Ubuntu Xenial): | |
status: | Triaged → In Progress |
assignee: | nobody → Brian Murray (brian-murray) |
description: | updated |
Changed in ubuntu-power-systems: | |
status: | Fix Released → Fix Committed |
tags: |
added: verification-done-xenial verification-done-zesty removed: verification-needed-xenial verification-needed-zesty |
Changed in ubuntu-power-systems: | |
status: | Fix Committed → Fix Released |
tags: | added: id-59721d94f129f71adae65e97 |
Default Comment by Bridge