[lxc-devel] [lxd/master] doc: Add example to create an storage pool from existing LVM thinpool.

Pekkari on Github lxc-bot at linuxcontainers.org
Tue Nov 28 13:29:44 UTC 2017


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 469 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20171128/67f8652e/attachment.bin>
-------------- next part --------------
From 50bf4da7613b2ba9b119274b2fd211c850c5be11 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jos=C3=A9=20Pekkarinen?= <jose.pekkarinen at canonical.com>
Date: Tue, 28 Nov 2017 15:07:49 +0200
Subject: [PATCH] doc: Add example to create an storage pool from existing LVM
 thinpool.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: José Pekkarinen <jose.pekkarinen at canonical.com>
---
 doc/storage.md | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/doc/storage.md b/doc/storage.md
index dccff0075..588d32df8 100644
--- a/doc/storage.md
+++ b/doc/storage.md
@@ -270,6 +270,12 @@ lxc storage create pool1 lvm
 
 ```bash
 lxc storage create pool1 lvm source=my-pool
+```
+
+ - Use the existing LVM Thinpool called "my-pool" in Volume Group "my-vg".
+
+```bash
+lxc storage create pool1 lvm source=my-vg lvm.thinpool_name=my-pool
 ```
 
  - Create a new pool named "pool1" on `/dev/sdX`. The LVM Volume Group will also be called "pool1".


More information about the lxc-devel mailing list