mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-27 16:15:23 +00:00
b4af40226d
- Provide an implementation for buildPool and deletePool operations for the ZFS storage backend. - Add VIR_STORAGE_POOL_SOURCE_DEVICE flag to ZFS pool poolOptions as now we can specify devices to build pool from - storagepool.rng: add an optional 'sourceinfodev' to 'sourcezfs' and add an optional 'target' to 'poolzfs' entity - Add a couple of tests to storagepoolxml2xmltest
19 lines
434 B
XML
19 lines
434 B
XML
<pool type='zfs'>
|
|
<name>zfs</name>
|
|
<uuid>024835f8-52b5-4226-b2b4-8c0d3afa5b2f</uuid>
|
|
<capacity unit='bytes'>0</capacity>
|
|
<allocation unit='bytes'>0</allocation>
|
|
<available unit='bytes'>0</available>
|
|
<source>
|
|
<name>testpool</name>
|
|
</source>
|
|
<target>
|
|
<path>/dev/zvol/testpool</path>
|
|
<permissions>
|
|
<mode>0755</mode>
|
|
<owner>-1</owner>
|
|
<group>-1</group>
|
|
</permissions>
|
|
</target>
|
|
</pool>
|