Bug 1168751
| Summary: | broken lvm-set-filter API with newer lvm2 | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Pino Toscano <ptoscano> |
| 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.6 | CC: | huzhan, jherrman, leiwang, mbooth, ptoscano, wshi |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | libguestfs-1.20.11-12.el6 | Doc Type: | Bug Fix |
| Doc Text: |
The way in which the lvm-set-filter API handles the lvm.conf file has been rewritten, so that lvm-set-filter is properly able to change the LVM device filter.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-07-22 05:56:22 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
Pino Toscano
2014-11-27 17:58:07 UTC
Verify with libguestfs-1.20.11-12.el6 Steps: 1. add images into guestfish $ guestfish -a test1.img -a RHEL-Server-7.0-64-hvm.raw ><fs>run 2. list the LVM volume groups ><fs>vgs VG rhel_dhcp-11-144 3. set filter and list vgs ><fs>list-devices /dev/sda /dev/sdb ><fs>lvm-set-filter /dev/sda ><fs>vgs VG ><fs>lvm-set-filter /dev/sdb rhel_dhcp-11-144 ><fs>lvm-clear-filter ><fs>vgs VG rhel_dhcp-11-144 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 |