Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 547431

Summary: Storage driver should prohibit pools with duplicate underlying storage
Product: Red Hat Enterprise Linux 5 Reporter: Dave Allan <dallan>
Component: libvirtAssignee: Dave Allan <dallan>
Status: CLOSED WONTFIX QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 5.6CC: berrange, virt-maint, 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:
: 611823 (view as bug list) Environment:
Last Closed: 2011-01-27 03:56:53 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 Dave Allan 2009-12-14 16:48:07 UTC
Description of problem:
libvirt allows a user to create two pools with exactly the same underlying storage.  The simplest example is two directory pools that point to the same directory, but iSCSI and other pool types behave similarly.  The result is that libvirt can have a pool with an inconsistent view of its volumes if the other pool has been used to issue the volume modification operation.  For example, if two directory pools point to the same directory, and one pool is used to create a volume, the other pool will remain unaware of the new volume until it is refreshed.

Version-Release number of selected component (if applicable):
libvirt-0.6.3-24

How reproducible:
100%

Steps to Reproduce:
1. Create a directory pool pointing to a given directory
2. Create a second pool pointing to the same directory
  
Actual results:
Two pools will be created.

Expected results:
The second pool should be rejected.

Additional info: