mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-29 15:21:50 +03: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
20 lines
465 B
XML
20 lines
465 B
XML
<pool type='zfs'>
|
|
<name>zfs</name>
|
|
<uuid>429126d2-f4bb-45b0-b336-2e81dc6d241c</uuid>
|
|
<capacity unit='bytes'>0</capacity>
|
|
<allocation unit='bytes'>0</allocation>
|
|
<available unit='bytes'>0</available>
|
|
<source>
|
|
<device path='/dev/ada1'/>
|
|
<name>testpool</name>
|
|
</source>
|
|
<target>
|
|
<path>/dev/zvol/testpool</path>
|
|
<permissions>
|
|
<mode>0755</mode>
|
|
<owner>-1</owner>
|
|
<group>-1</group>
|
|
</permissions>
|
|
</target>
|
|
</pool>
|