Bug 591390
Summary: | Can't remove logical volume | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Alex Jia <ajia> |
Component: | libvirt | Assignee: | Dave Allan <dallan> |
Status: | CLOSED NOTABUG | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 6.0 | CC: | berrange, gsun, hbrock, llim, tyan, xen-maint |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-10-11 15:28:25 UTC | Type: | --- |
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: | 621776 |
Description
Alex Jia
2010-05-12 05:59:12 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux major release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Major release. This request is not yet committed for inclusion. This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux major release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Major release. This request is not yet committed for inclusion. This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux major release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Major release. This request is not yet committed for inclusion. This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux major release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Major release. This request is not yet committed for inclusion. After # virsh vol-create a vol in a logical pool # virsh vol-delete --pool pool-logical-testing vol-logical-testing error: Failed to delete vol vol-logical-testing error: internal error '/sbin/lvremove -f /dev/pool-logical-testing/vol-logical-testing' exited with non-zero status 5 and signal 0: Can't remove open logical volume "vol-logical-testing" # virsh pool-destroy pool-logical-testing error: Failed to destroy pool pool-logical-testing error: internal error '/sbin/vgchange -an pool-logical-testing' exited with non-zero status 5 and signal 0: Can't deactivate volume group "pool-logical-testing" with 1 open logical volume(s) But, after umount the vol, # umount /tmp/logical-vol-mnt-testing Then, # virsh vol-delete --pool pool-logical-testing vol-logical-testing Vol vol-logical-testing deleted # virsh pool-destroy pool-logical-testing Pool pool-logical-testing destroyed This seems to be operating as designed. If you have mounted the logical volume as a filesystem, then clearly it is in use by the OS, so vol-delete is expected to fail. |