Bug 1038977
Summary: | libguestfs does not works together with xfs + 4k sector size | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Attila Fazekas <afazekas> |
Component: | libguestfs | Assignee: | Pino Toscano <ptoscano> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.5 | CC: | afazekas, huzhan, jherrman, jraju, leiwang, mbukatov, ptoscano, rjones, wshi |
Target Milestone: | rc | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | libguestfs-1.20.11-13.el6 | Doc Type: | Bug Fix |
Doc Text: |
The libguestfs utilities were not able to use disk images on XFS file systems with 4-kilobyte sector size. This update introduces the "cachemode" parameter for the add_drive API, which controls drive caching and has a default value which allows disk images stored on the described file systems to be usable.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2015-07-22 05:55:10 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
Attila Fazekas
2013-12-06 09:44:13 UTC
Upstream fix is: https://github.com/libguestfs/libguestfs/commit/749e947bb0103f19feda0f29b6cbbf3cbfa350da + a few patches that follow that one. (Is there a reason why this bug needs to be private?) Pino: Fixing this involves backporting all the cachemode stuff to RHEL 6. Up to you if you can do this or think it is too risky for an old stable RHEL release. We decided not to fix this in RHEL 6. However it has been fixed in RHEL 7.0 and above. I'm reopening this on the basis that two people have reported this bug in RHOS when using XFS as a backing store for disk images. Verified with the package version: libguestfs-1.20.11-14.el6.x86_64 Verify steps: 1. mkfs.xfs -f -s size=4096 test.raw 2. mkdir /mnt/4k 3. mount test.raw /mnt/4k -o loop 4. cd /mnt/4k 5. wget http://download.fedoraproject.org/pub/fedora/linux/releases/19/Images/x86_64/Fedora-x86_64-19-20130627-sda.qcow2 6. # guestfish -a Fedora-x86_64-19-20130627-sda.qcow2 ><fs> run ><fs> list-filesystems /dev/sda1: ext4 So verified. 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-1444.html |