Re: question of iSCSI pool on the same iSCSI target

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi David,
I can reproduce the issue on libvirt-0.9.10-14.el6.x86_64,
it should be a libvirt bug, I'm trying to find a root reason,
thanks for your reporting it.

Regards,
Alex


----- Original Message -----
From: "david_zhu" <david_zhu@xxxxxxxxx>
To: libvirt-users@xxxxxxxxxx
Sent: Friday, April 27, 2012 11:06:50 AM
Subject:  question of iSCSI pool on the same iSCSI target


Hi, all, 

I have 3 XMLs for defining iSCSI pools. 
i1.xml and i3.xml are configured to the same iSCSI target, and i2.xml uses another. 

virsh will report error if I define pool "i3" after I have defined the pool "i1", 
but it is OK after defining the pool "i2". 

Does anyone known this problem? 


My commands are as following: 

-bash-4.1# virsh version 
Compiled against library: libvir 0.9.11 
Using library: libvir 0.9.11 
Using API: QEMU 0.9.11 
Running hypervisor: QEMU 0.14.1 


-bash-4.1# virsh pool-define i1.xml 
Pool i1 defined from i1.xml 

-bash-4.1# virsh pool-define i3.xml 
error: Failed to define pool from i3.xml 
error: operation failed: Storage source conflict with pool: 'i1' 

-bash-4.1# virsh pool-define i2.xml 
Pool i2 defined from i2.xml 

-bash-4.1# virsh pool-define i3.xml 
Pool i3 defined from i3.xml 


and my XMLs are: 

-bash-4.1# cat i1.xml 
<pool type='iscsi'> 
<name>i1</name> 
<source> 
<host name='192.168.58.160'/> 
<device path='iqn.2011-01.com.usi:storage.iscsi1'/> 
</source> 
<target> 
<path>/dev/disk/by-path</path> 
</target> 
</pool> 

-bash-4.1# cat i2.xml 
<pool type='iscsi'> 
<name>i2</name> 
<source> 
<host name='192.168.58.160'/> 
<device path='iqn.2011-01.com.usi:storage.iscsi2'/> 
</source> 
<target> 
<path>/dev/disk/by-path</path> 
</target> 
</pool> 

-bash-4.1# cat i3.xml 
<pool type='iscsi'> 
<name>i3</name> 
<source> 
<host name='192.168.58.160'/> 
<device path='iqn.2011-01.com.usi:storage.iscsi1'/> 
</source> 
<target> 
<path>/dev/disk/by-path</path> 
</target> 
</pool> 




-- 


Best Regards 

************************************************************************* 

David Zhu 朱慧 Firmware Engineer 

Enterprise Storage / R&D Dept. 

Universal Scientific Industrial (Shanghai) Co., Ltd 

421 Lishizhen Road, Pudong New Area, Shanghai, P.R. China 201203 上海市浦东新区张江高科技园区李时珍路421号 邮编: 201203 

Fax: +86-21-58967931 Tel: +86-21-58966996 ext. 81468 

http://www.usi.com.tw E-mail: david_zhu@xxxxxxxxx 

************************************************************************** 
_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users



[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux