[Pkg-libvirt-maintainers] Bug#553680: libvirt-bin: ignores storage options when vol-create-as is, called

Tim Wagner tim at linux-daus.de
Wed Apr 20 09:27:18 UTC 2011


Package: libvirt-bin
Version:  0.8.3-5+squeeze1

The error still remains in the current stable version.

# cat /etc/libvirt/storage/nfs01-0.xml
<pool type='dir'>
<name>nfs01-0</name>
<uuid>35b836f8-fc95-bd78-3e27-c2945b8b8351</uuid>
<capacity>0</capacity>
<allocation>0</allocation>
<available>0</available>
<source>
</source>
<target>
<path>/mnt/nfs01-0</path>
<permissions>
<mode>0770</mode>
<owner>106</owner>
<group>106</group>
</permissions>
</target>
</pool>

# virsh vol-create-as --pool nfs01-0 --name test.img --capacity 1G
Vol test.img created

# ls -l /mnt/nfs01-0/test.img
-rw------- 1 root         root 1073741824 Apr 20 11:10 test.img






More information about the Pkg-libvirt-maintainers mailing list