Bug 1104956
Summary: | xfs_copy will make a corrupted target when source sector is over 512 | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Junxiao Bi <junxiao.bi> | |
Component: | xfsprogs | Assignee: | Eric Sandeen <esandeen> | |
Status: | CLOSED ERRATA | QA Contact: | Eryu Guan <eguan> | |
Severity: | high | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 6.5 | CC: | eguan, sau289 | |
Target Milestone: | rc | |||
Target Release: | --- | |||
Hardware: | All | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | xfsprogs-3.1.1-16.el6 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1105170 (view as bug list) | Environment: | ||
Last Closed: | 2014-10-14 07:49:58 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: | 1105170 |
Description
Junxiao Bi
2014-06-05 05:57:43 UTC
xfs_copy seems take forever (24 hours now, but can be killed) to finish when I test on RHEL6/5 (haven't looked into why) The script is simple fallocate -l 1g fs.img loopdev=`losetup --show -f fs.img` mkfs -t xfs -s size=4096 $loopdev mount $loopdev /mnt/xfs echo "hello world" >/mnt/xfs/testfile umount /mnt/xfs xfs_copy $loopdev xfs.img Note to QE, I've disabled this subtest on RHEL6/5 in test case /kernel/filesystems/xfs/1104956-xfs_copy-corrupt, so it won't hang the whole xfs regression test, please verify this fix manually. And please don't forget to update the test case once this issue is fixed. I hit the hang as well on xfsprogs-3.1.1-14.el6.x86_64; the latest package (xfsprogs-3.1.1-16.el6.x86_64) works fine with your testcase. thanks, -Eric Verified with /kernel/filesystems/xfs/1104956-xfs_copy-corrupt, test passed and there was no hang with xfsprogs-3.1.1-16.el6 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. http://rhn.redhat.com/errata/RHBA-2014-1564.html |