Bug 241820
Summary: | Automated LVM tagging needed for HA LVM and volume ownership | ||
---|---|---|---|
Product: | [Retired] Red Hat Cluster Suite | Reporter: | Corey Marthaler <cmarthal> |
Component: | rgmanager | Assignee: | LVM and device-mapper development team <lvm-team> |
Status: | CLOSED WONTFIX | QA Contact: | Cluster QE <mspqa-list> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4 | CC: | cluster-maint, fbijlsma, jbrassow |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-01-27 18:55:54 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: |
Description
Corey Marthaler
2007-05-30 20:27:10 UTC
Can't remember, did we think it was the tagging, or was it the multiple resources using the same VG? Might want to add the resource manager section of cluster.conf to this bug report. After discussing this with Jon, this may be a documentation issue, but is none the less still confusing... The problem is that, for HA LVM, the user has to add a tag inorder to create a mirror (or else the creation will fail), and this results in the mirror volume being active. However, when starting HA services, if a volume is active with a tag on it, the service will fail due to ownership issues. What needs to happen is that all volumes have to be deactivated before HA services can be started. It's also not a bad idea to delete those newly created tags as well, but not necessary (as I've found) as long as the volume isn't currently active, because the lvm script will remove tags. Changing $SUBJECT to address the underlying issue: 1) We need lvm to automatically tag volumes with a machine-unique tag. 2) Need to tighten the rules on tags so that machines cannot do things like delete another node's LVs Unique tagging would act like volume group ownership if properly implemented. One big question remaining is, where can we get a unique ID from? It has to be something that the installer can generate as well. A completely different solution is envisioned for future HA LVM. There is no longer a push to enhance what tagging does or make the HA steps easier. The future version will use CLVM, where single machine targets are used when logical volumes are activated exclusively. |