[lxc-devel] [lxd/master] doc/storage: Clarify defaults for size

stgraber on Github lxc-bot at linuxcontainers.org
Tue Sep 3 03:55:55 UTC 2019


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 370 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20190902/8d6e4a5b/attachment.bin>
-------------- next part --------------
From 92e2fa4818611ff953a56831371136321003d61f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber at ubuntu.com>
Date: Mon, 2 Sep 2019 23:55:17 -0400
Subject: [PATCH] doc/storage: Clarify defaults for size
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Closes #6134

Signed-off-by: St├ęphane Graber <stgraber at ubuntu.com>
---
 doc/storage.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/doc/storage.md b/doc/storage.md
index cb533a7a5a..505c5c60f8 100644
--- a/doc/storage.md
+++ b/doc/storage.md
@@ -27,7 +27,7 @@ volatile.initial\_source        | string    | -
 volatile.pool.pristine          | string    | -                                 | true                       | storage\_driver\_ceph              | Whether the pool has been empty on creation time.
 volume.block.filesystem         | string    | block based driver (lvm)          | ext4                       | storage                            | Filesystem to use for new volumes
 volume.block.mount\_options     | string    | block based driver (lvm)          | discard                    | storage                            | Mount options for block devices
-volume.size                     | string    | appropriate driver                | 0                          | storage                            | Default volume size
+volume.size                     | string    | appropriate driver                | unlimited (10GB for block) | storage                            | Default volume size
 volume.zfs.remove\_snapshots    | bool      | zfs driver                        | false                      | storage                            | Remove snapshots as needed
 volume.zfs.use\_refquota        | bool      | zfs driver                        | false                      | storage                            | Use refquota instead of quota for space.
 zfs.clone\_copy                 | bool      | zfs driver                        | true                       | storage\_zfs\_clone\_copy          | Whether to use ZFS lightweight clones rather than full dataset copies.
@@ -43,8 +43,8 @@ lxc storage set [<remote>:]<pool> <key> <value>
 Key                     | Type      | Condition                 | Default                               | API Extension     | Description
 :--                     | :---      | :--------                 | :------                               | :------------     | :----------
 size                    | string    | appropriate driver        | same as volume.size                   | storage           | Size of the storage volume
-block.filesystem        | string    | block based driver (lvm)  | same as volume.block.filesystem       | storage           | Filesystem of the storage volume
-block.mount\_options    | string    | block based driver (lvm)  | same as volume.block.mount\_options   | storage           | Mount options for block devices
+block.filesystem        | string    | block based driver        | same as volume.block.filesystem       | storage           | Filesystem of the storage volume
+block.mount\_options    | string    | block based driver        | same as volume.block.mount\_options   | storage           | Mount options for block devices
 security.shifted        | bool      | custom volume             | false                                 | storage\_shifted  | Enable id shifting overlay (allows attach by multiple isolated containers)
 security.unmapped       | bool      | custom volume             | false                                 | storage\_unmapped | Disable id mapping for the volume
 zfs.remove\_snapshots   | string    | zfs driver                | same as volume.zfs.remove\_snapshots  | storage           | Remove snapshots as needed


More information about the lxc-devel mailing list