Bug 880805
Summary: | virt-df with two -a options displays incorrect disk image name | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Richard W.M. Jones <rjones> |
Component: | libguestfs | Assignee: | Richard W.M. Jones <rjones> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.4 | CC: | bfan, dyasny, leiwang, mbooth, moli, qguan, wshi |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | libguestfs-1.16.32-4.el6 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 880801 | Environment: | |
Last Closed: | 2013-02-21 08:38: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: | 880801 | ||
Bug Blocks: | 886216 |
Description
Richard W.M. Jones
2012-11-27 20:12:52 UTC
Also affects RHEL 6: $ sudo virt-df -a /dev/vg_guests/builder-rhel6 -a /dev/vg_guests/builder-rhel7 Filesystem 1K-blocks Used Available Use% builder-rhel7:/dev/sda1 495844 75873 394371 16% builder-rhel7:/dev/sdb1 495844 45885 424359 10% builder-rhel7:/dev/rhel/root 49064776 3744168 42828192 8% builder-rhel7:/dev/vg_builderrhel6/lv_root 38745920 15172932 21604860 40% Reproduced: # virt-df -a RHEL-Server-5.9-32-pv.raw -a opensuse.img Filesystem 1K-blocks Used Available Use% opensuse.img:/dev/sda1 101086 27804 68063 28% opensuse.img:/dev/sdb1 69410 25773 40053 38% opensuse.img:/dev/VolGroup00/LogVol00 4919856 3773492 892412 77% opensuse.img:/dev/system/root 6116032 3008600 2796752 50% # virt-df -a RHEL-Server-5.9-32-pv.raw Filesystem 1K-blocks Used Available Use% RHEL-Server-5.9-32-pv.raw:/dev/sda1 101086 27804 68063 28% RHEL-Server-5.9-32-pv.raw:/dev/VolGroup00/LogVol00 4919856 3773492 892412 77% # virt-df -a opensuse.img Filesystem 1K-blocks Used Available Use% opensuse.img:/dev/sda1 69410 25773 40053 38% opensuse.img:/dev/system/root 6116032 3008600 2796752 50% Upstream fix here: https://github.com/libguestfs/libguestfs/commit/9e7daf2ee8f0a619440ca1c55dfe5ddcf61b4460 Building here: https://brewweb.devel.redhat.com/taskinfo?taskID=5149926 I verified the fixed package, the result is just as https://bugzilla.redhat.com/show_bug.cgi?id=880801#c1 and the updated virt-df manual. # virt-df -a RHEL-Server-5.9-32-pv.raw -a opensuse.img Filesystem 1K-blocks Used Available Use% RHEL-Server-5.9-32-pv.raw+:/dev/sda1 101086 27804 68063 28% RHEL-Server-5.9-32-pv.raw+:/dev/sdb1 69410 25773 40053 38% RHEL-Server-5.9-32-pv.raw+:/dev/VolGroup00/LogVol00 4919856 3773492 892412 77% RHEL-Server-5.9-32-pv.raw+:/dev/system/root 6116032 3008600 2796752 50% # virt-df -a RHEL-Server-5.9-32-pv.raw Filesystem 1K-blocks Used Available Use% RHEL-Server-5.9-32-pv.raw:/dev/sda1 101086 27804 68063 28% RHEL-Server-5.9-32-pv.raw:/dev/VolGroup00/LogVol00 4919856 3773492 892412 77% # virt-df -a opensuse.img Filesystem 1K-blocks Used Available Use% opensuse.img:/dev/sda1 69410 25773 40053 38% opensuse.img:/dev/system/root 6116032 3008600 2796752 50% I just doubt how could the user distinguish the first and second disk images, the "+" seems just indicate the user has given more than one disk images. For example: the filesystem "/dev/system/root" can't be identified to own by which disk image. If this is acceptable, i'll mark the status to verified. The problem is that the user is using the program wrong, and needs to read the manual. If you take a look at the new virt-df man page you should see that I have highlighted the issues in (more) bold. I have also added an example showing the '+' character appearing and what that means. In any case, the '+' character is what is supposed to have changed, so the fix is working correctly. (In reply to comment #7) > The problem is that the user is using the program wrong, and > needs to read the manual. If you take a look at the new > virt-df man page you should see that I have highlighted the > issues in (more) bold. I have also added an example showing > the '+' character appearing and what that means. > > In any case, the '+' character is what is supposed to have > changed, so the fix is working correctly. Yes, i saw your update for virt-df manual, so update the status to VERIFIED base on the result c6. 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-2013-0324.html |