Bug 1377931
| Summary: | XFS corruption when xfs_copy a V5 XFS to multiple targets | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Zorro Lang <zlang> | ||||||||||||
| Component: | xfsprogs | Assignee: | Eric Sandeen <esandeen> | ||||||||||||
| Status: | CLOSED ERRATA | QA Contact: | Zorro Lang <zlang> | ||||||||||||
| Severity: | high | Docs Contact: | |||||||||||||
| Priority: | urgent | ||||||||||||||
| Version: | 7.3 | CC: | bugproxy, chorn, dwysocha, eguan, esandeen, fj-lsoft-kernel-it, hannsj_uhl, swhiteho, yoguma | ||||||||||||
| Target Milestone: | rc | Keywords: | ZStream | ||||||||||||
| Target Release: | 7.4 | ||||||||||||||
| Hardware: | All | ||||||||||||||
| OS: | Linux | ||||||||||||||
| Whiteboard: | |||||||||||||||
| Fixed In Version: | xfsprogs-4.5.0-10.el7 | Doc Type: | If docs needed, set a value | ||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||
| Clone Of: | |||||||||||||||
| : | 1450875 (view as bug list) | Environment: | |||||||||||||
| Last Closed: | 2017-08-01 23:11:44 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: | |||||||||||||||
| Bug Depends On: | |||||||||||||||
| Bug Blocks: | 1298243, 1299988, 1317092, 1436652, 1440030, 1446211, 1450875 | ||||||||||||||
| Attachments: |
|
||||||||||||||
|
Description
Zorro Lang
2016-09-21 04:42:44 UTC
Moving to 7.4, I don't see this as a blocker for rhel7.3 - xfs_copy isn't in wide use, when used, multiple targets are rare, the corruption is immediately discoverable, and it can be worked around by doing one copy at a time. *** Bug 1406654 has been marked as a duplicate of this bug. *** Reproduced on xfsprogs-4.5.0-9.el7_3: === copying scratch device to multiple targets Creating file <FSIMAGE1> Creating file <FSIMAGE2> 0% ... 10% ... 20% ... 30% ... 40% ... 50% ... 60% ... 70% ... 80% ... 90% ... 100% All copies completed. 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 checking new image _check_xfs_filesystem: filesystem on /mnt/test/13055.image2 is inconsistent (c) (see /root/git/xfstests-dev/results//xfs/073.full for details) _check_xfs_filesystem: filesystem on /mnt/test/13055.image2 is inconsistent (r) Test passed on xfsprogs-4.5.0-11.el7 with different block size: xfs/073 16s ... 16s Ran: xfs/073 Passed all 1 tests *** Bug 1436652 has been marked as a duplicate of this bug. *** Created attachment 1267248 [details]
Fix meta UUID handling on multiple copies.patch
Created attachment 1267249 [details]
xfsprogs rpm package
Created attachment 1267250 [details]
xfsprogs rpm package
Created attachment 1267251 [details]
dmesg of test
Created attachment 1267252 [details]
Test full log
------- Comment From hannsj_uhl.com 2017-05-09 08:28 EDT------- Comment from Harish Sriram 2017-05-09 07:05:38 CDT The issue in this bugzilla is resolved. # rpm -qa | grep xfs xfsprogs-devel-4.5.0-11.el7.ppc64le xfsdump-3.1.4-1.el7.ppc64le xfsprogs-4.5.0-11.el7.ppc64le # ./check tests/xfs/073 FSTYP -- xfs (non-debug) PLATFORM -- Linux/ppc64le zzfp189p1 4.11.0-1.el7.ppc64le MKFS_OPTIONS -- -f -bsize=4096 /dev/loop1 MOUNT_OPTIONS -- -o context=system_u:object_r:root_t:s0 /dev/loop1 /mnt/scratch xfs/073 28s # uname -a Linux linux 4.11.0-1.el7.ppc64le #1 SMP Wed May 3 18:32:58 EDT 2017 ppc64le ppc64le ppc64le GNU/Linux oops ... the previous comment has to read: " Comment from Harish Sriram 2017-05-09 07:05:38 CDT The issue in this bugzilla is resolved. # rpm -qa | grep xfs xfsprogs-devel-4.5.0-11.el7.ppc64le xfsdump-3.1.4-1.el7.ppc64le xfsprogs-4.5.0-11.el7.ppc64le # ./check tests/xfs/073 FSTYP -- xfs (non-debug) PLATFORM -- Linux/ppc64le zzfp189p1 4.11.0-1.el7.ppc64le MKFS_OPTIONS -- -f -bsize=4096 /dev/loop1 MOUNT_OPTIONS -- -o context=system_u:object_r:root_t:s0 /dev/loop1 /mnt/scratch xfs/073 28s Ran: xfs/073 Passed all 1 tests # uname -a Linux linux 4.11.0-1.el7.ppc64le #1 SMP Wed May 3 18:32:58 EDT 2017 ppc64le ppc64le ppc64le GNU/Linux " ... 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/RHBA-2017:2206 |