diff --git a/docs/drvbhyve.html.in b/docs/drvbhyve.html.in index 71e3bc4a88385117472a699adf1b03b566f0dc70..39afdf51b31f2510113b60119b67c1bc5d6b6255 100644 --- a/docs/drvbhyve.html.in +++ b/docs/drvbhyve.html.in @@ -141,5 +141,21 @@ tweak them.

/usr/sbin/bhyve -c 2 -m 214 -A -I -H -P -s 0:0,hostbridge -s 3:0,virtio-net,tap0,mac=52:54:00:5d:74:e3 -s 2:0,virtio-blk,/home/user/vm1.img -s 1,lpc -l com1,/dev/nmdm0A vm1 +

Using ZFS volumes

+ +

It's possible to use ZFS volumes as disk devices since 1.2.8. +An example of domain XML device entry for that will look like:

+ +
+  ...
+  <disk type='volume' device='disk'>
+    <source pool='zfspool' volume='vol1'/>
+    <target dev='vdb' bus='virtio'/>
+  </disk>
+  ...
+ +

Please refer to the Storage documentation for more details on storage +management.

+ diff --git a/docs/formatstorage.html.in b/docs/formatstorage.html.in index e25bba70f95a903d0ab83f33514057f68c7c306c..d3e6f05c2baad441ff40940cab507b07405de5bf 100644 --- a/docs/formatstorage.html.in +++ b/docs/formatstorage.html.in @@ -23,8 +23,9 @@ (since 0.7.1), rbd (since 0.9.13), sheepdog (since 0.10.0), - or gluster (since - 1.2.0). This corresponds to the + gluster (since + 1.2.0) or zfs (since + 1.2.8). This corresponds to the storage backend drivers listed further along in this document.

General metadata

@@ -115,7 +116,7 @@
device
Provides the source for pools backed by physical devices (pool types fs, logical, disk, - iscsi). + iscsi, zfs). May be repeated multiple times depending on backend driver. Contains a single attribute path which is the fully qualified path to the block device node. Since 0.4.1
diff --git a/docs/storage.html.in b/docs/storage.html.in index 5db79c7ae4322c038c9b78d003462b50f993e6bf..3d2ffcaafb63dd041f660fb6998423fdb7ae3fa1 100644 --- a/docs/storage.html.in +++ b/docs/storage.html.in @@ -750,22 +750,28 @@

This provides a pool based on the ZFS filesystem. It is currently supported on FreeBSD only. +

- A pool has to be created before libvirt could start using it. That - could be done using zpool create command. Please refer to - the ZFS documentation for details on a pool creation. - - Since 1.2.8 +

A pool could either be created manually using the zpool create + command and its name specified in the source section or + since 1.2.9 source devices could be specified to create a pool using + libvirt.

+

Please refer to the ZFS documentation for details on a pool creation.

+ +

Since 1.2.8

. +

Example pool input

       <pool type="zfs">
         <name>myzfspool</name>
         <source>
           <name>zpoolname</name>
+          <device path="/dev/ada1"/>
+          <device path="/dev/ada2"/>
         </source>
-       </pool>
+ </pool>

Valid pool format types