Bug 1638888
Summary: | On heavily used clusters, /etc/lvm/archive can consume all disk space preventing volumes from being deleted | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Dan Yocum <dyocum> |
Component: | rhgs-server-container | Assignee: | Raghavendra Talur <rtalur> |
Status: | CLOSED DUPLICATE | QA Contact: | Prasanth <pprakash> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | cns-3.9 | CC: | amukherj, bkunal, dyocum, kramdoss, madam, ndevos, rhs-bugs, storage-qa-internal |
Target Milestone: | --- | Keywords: | ZStream |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-11-08 19:32:11 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: | 1561680 | ||
Bug Blocks: | 1641915, 1642792 |
Description
Dan Yocum
2018-10-12 17:35:54 UTC
This has got nothing to do with the redhat-storage-server RPM per se. The volume related *.vg file can be deleted as part of a glusterfs volume delete hook script. Could you paste the name of one volume and its related *.vg files. This will give an idea if the names of the *.vg files can be deduced in some way. Are there more than one *.vg files created per volume ? Also, since the LVM metadata is archived for future reference by the lvm tools, it will difficult to decide on its usability at the gluster volume level since the logical volume will continue to exist even after the gluster volume has been deleted. The LVM metadata archives (/etc/lvm/archive) can ideally be deleted if the lvremove command is successful for a logical volume. This can be achieved by having a shell function wrapper around the lvremove command. Or maybe an ansible playbook section to remove the LVM metadata archives after the gluster volume/logical volume is deleted. This would be an OCS (previously CNS) issue, changing components accordingly. Bug 1561680 is fixed in a recent release. If possible, the customer should upgrade to a more recent version (then you can close this bz a duplicate/next-release). |