mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-05 04:41:20 +00:00
efab27afbf
When using logical pools, we had to trust the target->path provided. This parameter, however, can be completely ommited and we can use '/dev/<source.name>' safely and populate it to target.path. Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=952973
23 lines
549 B
XML
23 lines
549 B
XML
<pool type='logical'>
|
|
<name>HostVG</name>
|
|
<uuid>1c13165a-d0f4-3aee-b447-30fb38789091</uuid>
|
|
<capacity unit='bytes'>0</capacity>
|
|
<allocation unit='bytes'>0</allocation>
|
|
<available unit='bytes'>0</available>
|
|
<source>
|
|
<device path='/dev/sdb1'/>
|
|
<device path='/dev/sdb2'/>
|
|
<device path='/dev/sdb3'/>
|
|
<name>HostVG</name>
|
|
<format type='lvm2'/>
|
|
</source>
|
|
<target>
|
|
<path>/dev/HostVG</path>
|
|
<permissions>
|
|
<mode>0700</mode>
|
|
<owner>0</owner>
|
|
<group>0</group>
|
|
</permissions>
|
|
</target>
|
|
</pool>
|