On Mon, Nov 19, 2012 at 06:53:44PM +0800, zhijun liu wrote:
hi,all
the following are files of pool and volume.
storage pool is based on logical(LVM) and iscsi,now I create volume
specified the format to "qcow2"
*pool.xml*
<pool type='logical'>
<name>pool_190</name>
<source>
<device
path='/dev/disk/by-path/ip-192.168.0.190:3260-iscsi-iqn.2012-11.com.cloudking:server.target1-lun-1'/>
</source>
<target>
<path>/dev/pool_190</path>
</target>
</pool>
*volume.xml*
<?xml version="1.0" encoding="UTF-8" ?>
<volume>
<name>volume1</name>
<capacity unit="GB">1</capacity>
<target>
<format type="qcow2" />
</target>
</volume>
*the problmes is :when the volume created successfully,However, the
volume's format is 'raw'*
The use of non-raw formats is only supported for file based
storage volumes. You're using LVM, so its always creating it
raw.
Danel
--
|:
http://berrange.com -o-
http://www.flickr.com/photos/dberrange/ :|
|:
http://libvirt.org -o-
http://virt-manager.org :|
|:
http://autobuild.org -o-
http://search.cpan.org/~danberr/ :|
|:
http://entangle-photo.org -o-
http://live.gnome.org/gtk-vnc :|