Bug 547431 - Storage driver should prohibit pools with duplicate underlying storage
Summary: Storage driver should prohibit pools with duplicate underlying storage
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: libvirt
Version: 5.6
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Dave Allan
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-14 16:48 UTC by Dave Allan
Modified: 2016-04-26 15:10 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 611823 (view as bug list)
Environment:
Last Closed: 2011-01-27 03:56:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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:


Note You need to log in before you can comment on or make changes to this bug.