Bug 170705
Summary: | LVM needs volume ownership enforcement | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Corey Marthaler <cmarthal> | |
Component: | lvm2 | 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: | 6.0 | CC: | agk, ccaulfie, coughlan, cww, dwysocha, mbroz, ssaha, tao | |
Target Milestone: | alpha | Keywords: | FutureFeature, Reopened | |
Target Release: | --- | |||
Hardware: | All | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Enhancement | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1246231 (view as bug list) | Environment: | ||
Last Closed: | 2012-01-21 17:44:35 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: | 233117, 655920, 729764, 756082, 1246231 |
Description
Corey Marthaler
2005-10-13 20:58:19 UTC
Tags provide a means to protect against this, but it puts the burden on each site/admin. If all nodes on site do not use the same set of tools (i.e. someone uses the base lvm2 tools) you can get in the above situation. A basic policy enforced as default in the lvm2 tools would minimize the risk. Treating this as a core LVM2 enhancement request. Quotes from several people in email discussion: > Isn't this assuming that you had a cluster to begin with? The cluster > flag gets set on a volume if the cluster infrastructure is being used > when the create operation takes place (or the user can set it). If you > have two nodes that see the same storage and they are not running > cluster software, the clustered flag will not get set and there will > never be warnings. > The situation here is a SAN with many HBA connected. Some of the > connected nodes are part of a cluster, some are not. In this case a > warning could be of use e.g. when the SAN is reconfigured and some nodes > start seeing VG that they should not. A similar problem applies to the case where you have two different clusters on the same LAN/SAN. A cluster-VG should be allowed to be used in one cluster but not the other. So the name of the host that last used an unclustered VG is stored in the VG metadata, and it remains completely invisible to other nodes unless a special reassignment command is run? Could merge with vgexport/vgimport. Needs carefully thinking through (machine renames, swapping root disk between machines). Situation could probably already be handled using tags: Enable hosttags and tag each VG with the name of the machine(s) using it. This bugzilla had previously been approved for engineering consideration but Red Hat Product Management is currently reevaluating this issue for inclusion in RHEL4.6. Development Management has reviewed and declined this request. You may appeal this decision by reopening this request. I'll re-open this as a new feature request, targeted at RHEL 6 *** Bug 469956 has been marked as a duplicate of this bug. *** Needs a team discussion to agree on the way forward. Currently there are no plans to address this in RHEL 6 and beyond. Closing this RFE with a WONTFIX resolution. |