]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
doc: Add 'rbd' to the parameter of backingstore in lxc-create(1)
authorLaurent Barbe <laurent@ksperis.com>
Mon, 5 Oct 2015 19:58:24 +0000 (21:58 +0200)
committerLaurent Barbe <laurent@ksperis.com>
Sun, 13 Dec 2015 21:35:43 +0000 (22:35 +0100)
Signed-off-by: Laurent Barbe <laurent@ksperis.com>
doc/lxc-create.sgml.in

index 3339bf3df7992e80541e4a7f7dfb2ac01b8e16b8..ffaa73882f5cea972333b3bbec047cc8183f00ad 100644 (file)
@@ -126,7 +126,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
        </term>
        <listitem>
          <para>
-           'backingstore' is one of 'dir', 'lvm', 'loop', 'btrfs', 'zfs', or 'best'.  The
+           'backingstore' is one of 'dir', 'lvm', 'loop', 'btrfs', 'zfs', 'rbd', or 'best'.  The
            default is 'dir', meaning that the container root filesystem
            will be a directory under <filename>@LXCPATH@/container/rootfs</filename>.
            This backing store type allows the optional
@@ -157,6 +157,12 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
          <para>
            If backingstore is 'loop', you can use <replaceable>--fstype FSTYPE</replaceable> and <replaceable>--fssize SIZE</replaceable> as 'lvm'. The default values for these options are the same as 'lvm'.
          </para>
+         <para>
+           If backingstore is 'rbd', then you will need to have a valid configuration in <filename>ceph.conf</filename> and a <filename>ceph.client.admin.keyring</filename> defined.
+           You can specify the following options :
+           <replaceable>--rbdname RBDNAME</replaceable> will create a blockdevice named RBDNAME rather than the default, which is the container name.
+           <replaceable>--rbdpool POOL</replaceable> will create the blockdevice in the pool named POOL, rather than the default, which is 'lxc'.
+         </para>
          <para>
            If backingstore is 'best', then lxc will try, in order, btrfs,
            zfs, lvm, and finally a directory backing store.