[fedora-virt] Error creating a vol on a disk type storage pool with multipath'ed backend

Cole Robinson crobinso at redhat.com
Thu Jul 25 21:44:31 UTC 2013


On 07/18/2013 07:26 PM, Shergill, Gurinder wrote:
> Hello,
> 
> When I use a disk type storage pool that uses a multipath'ed backend, I am getting the following failure as I try to create the vol (or when I try to start the pool with existing partitions on the backend).
> 
> $ virsh vol-create-as poolname vol1 10G
> error: Failed to create vol vol1
> error: cannot stat file '/dev/mapper/mpathap1': No such file or directory
> 
> The partition is created successfully and the DSF for it is /dev/mapper/mpatha1 (has no "p").
> 
> Here is the pool definition:
> 
> <pool type="disk">
> 	<name>poolname</name>
> 	<source>
> 		<device path="/dev/mapper/mpatha"/>
> 		<format type="gpt"/>
> 	</source>
> 	<target>
> 		<path>/dev</path>
> 	</target>
> </pool>
> 

My guess is it's just a bug. Please file a fedora bug against libvirt, and the
info you gave here, along with your libvirt version.

- Cole



More information about the virt mailing list