The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/5425

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
Signed-off-by: Stéphane Graber <[email protected]>
From f8d0b5732cbc1779aa62a95e0632dbe0336d66ad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <[email protected]>
Date: Mon, 21 Jan 2019 11:28:26 +0200
Subject: [PATCH] doc: Document btrfs resize
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Stéphane Graber <[email protected]>
---
 doc/storage.md | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/doc/storage.md b/doc/storage.md
index 2381fe609f..b118aa5a29 100644
--- a/doc/storage.md
+++ b/doc/storage.md
@@ -257,6 +257,14 @@ lxc storage create pool1 btrfs source=/some/path
 lxc storage create pool1 btrfs source=/dev/sdX
 ```
 
+#### Growing a loop backed btrfs pool
+LXD doesn't let you directly grow a loop backed btrfs pool, but you can do so 
with:
+
+```bash
+sudo truncate -s +5G /var/lib/lxd/disks/<POOL>.img
+sudo btrfs filesystem resize max /var/lib/lxd/storage-pools/<POOL>/
+```
+
 ### LVM
 
  - Uses LVs for images, then LV snapshots for containers and container 
snapshots.
@@ -381,7 +389,6 @@ lxc storage create pool1 zfs source=/dev/sdX
 ```bash
 lxc storage create pool1 zfs source=/dev/sdX zfs.pool_name=my-tank
 ```
-
 #### Growing a loop backed ZFS pool
 LXD doesn't let you directly grow a loop backed ZFS pool, but you can do so 
with:
 
_______________________________________________
lxc-devel mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to