hi,all<div><br></div><div>the following are files of pool and volume.</div><div><br></div><div>storage pool is based on logical(LVM) and iscsi,now I create volume specified the format to "qcow2"</div><div><br></div>
<div><b>pool.xml</b></div><div><div><pool type='logical'></div><div>  <name>pool_190</name></div><div>  <source></div><div> <device path='/dev/disk/by-path/ip-192.168.0.190:3260-iscsi-iqn.2012-11.com.cloudking:server.target1-lun-1'/></div>
<div>  </source></div><div><target></div><div>   <path>/dev/pool_190</path></div><div></target></div><div></pool></div></div><div><br></div><div><b>volume.xml</b></div><div><div><?xml version="1.0" encoding="UTF-8" ?></div>
<div><volume></div><div>     <name>volume1</name></div><div>     <capacity unit="GB">1</capacity></div><div>     <target></div><div>          <format type="qcow2" /></div>
<div>     </target></div><div></volume></div></div><div><br></div><div><b>the problmes is :when  the volume created successfully,However, the volume's format is 'raw'</b></div><div><br></div><div>like this</div>
<div><br></div><div><div>image: /dev/pool_190/volume1</div><div><b>file format: raw</b></div><div>virtual size: 1.0G (1073741824 bytes)</div><div>disk size: 0</div></div><div><br></div><div>how to resolve this troublesome.</div>
<div><br></div><div>libvirt :0.9.8</div><div>os:ubuntu12.04</div><div><br></div><div>many thanks for any reply....</div><div><br></div><div><br></div><div><br></div><div><br></div>