[lxc-devel] [lxd/master] doc: Corrects lvm striping options
tomponline on Github
lxc-bot at linuxcontainers.org
Mon Jan 20 11:06:31 UTC 2020
A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 782 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20200120/90b253d8/attachment-0001.bin>
-------------- next part --------------
From 35cefe4c1dc811c9dfdf42771b7cc12b918499bb Mon Sep 17 00:00:00 2001
From: Thomas Parrott <thomas.parrott at canonical.com>
Date: Mon, 20 Jan 2020 10:58:32 +0000
Subject: [PATCH] doc: Corrects lvm striping options
Signed-off-by: Thomas Parrott <thomas.parrott at canonical.com>
---
doc/storage.md | 24 +++++++++++++-----------
1 file changed, 13 insertions(+), 11 deletions(-)
diff --git a/doc/storage.md b/doc/storage.md
index db9df73860..50c3df9a47 100644
--- a/doc/storage.md
+++ b/doc/storage.md
@@ -23,8 +23,8 @@ cephfs.user.name | string | cephfs driver
lvm.thinpool\_name | string | lvm driver | LXDThinPool | storage | Thin pool where volumes are created.
lvm.use\_thinpool | bool | lvm driver | true | storage\_lvm\_use\_thinpool | Whether the storage pool uses a thinpool for logical volumes.
lvm.vg\_name | string | lvm driver | name of the pool | storage | Name of the volume group to create.
-lvm.volume.stripes | string | lvm driver | - | storage\_lvm\_stripes | Number of stripes to use for new volumes (or thin pool volume).
-lvm.volume.stripes.size | string | lvm driver | - | storage\_lvm\_stripes | Size of stripes to use (at least 4096 bytes and multiple of 512bytes).
+volume.lvm.stripes | string | lvm driver | - | storage\_lvm\_stripes | Number of stripes to use for new volumes (or thin pool volume).
+volume.lvm.stripes.size | string | lvm driver | - | storage\_lvm\_stripes | Size of stripes to use (at least 4096 bytes and multiple of 512bytes).
rsync.bwlimit | string | - | 0 (no limit) | storage\_rsync\_bwlimit | Specifies the upper limit to be placed on the socket I/O whenever rsync has to be used to transfer storage entities.
volatile.initial\_source | string | - | - | storage\_volatile\_initial\_source | Records the actual source passed during creating (e.g. /dev/sdb).
volatile.pool.pristine | string | - | true | storage\_driver\_ceph | Whether the pool has been empty on creation time.
@@ -43,15 +43,17 @@ lxc storage set [<remote>:]<pool> <key> <value>
```
## Storage volume configuration
-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 | 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 instances)
-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
-zfs.use\_refquota | string | zfs driver | same as volume.zfs.zfs\_requota | storage | Use refquota instead of quota for space
+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 | 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 instances)
+security.unmapped | bool | custom volume | false | storage\_unmapped | Disable id mapping for the volume
+lvm.stripes | string | lvm driver | - | storage\_lvm\_stripes | Number of stripes to use for new volumes (or thin pool volume).
+lvm.stripes.size | string | lvm driver | - | storage\_lvm\_stripes | Size of stripes to use (at least 4096 bytes and multiple of 512bytes).
+zfs.remove\_snapshots | string | zfs driver | same as volume.zfs.remove\_snapshots | storage | Remove snapshots as needed
+zfs.use\_refquota | string | zfs driver | same as volume.zfs.zfs\_requota | storage | Use refquota instead of quota for space
Storage volume configuration keys can be set using the lxc tool with:
More information about the lxc-devel
mailing list