libvirt/tests/storagepoolxml2xmlout/pool-zfs-sourcedev.xml
Roman Bogorodskiy b4af40226d storage: zfs: implement pool build and delete
- 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
2014-09-18 18:08:29 +04:00

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>