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

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) ===

From 0cd3ba40345b58a6318f552b0950b7de0c90931c Mon Sep 17 00:00:00 2001
From: Malte Kiefer <59220985+maltekie...@users.noreply.github.com>
Date: Tue, 14 Jan 2020 03:48:40 +0100
Subject: [PATCH] added pool resize for snap version

---
 doc/storage.md | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/doc/storage.md b/doc/storage.md
index 5a6782ad8a..94362fbde5 100644
--- a/doc/storage.md
+++ b/doc/storage.md
@@ -413,3 +413,12 @@ sudo zpool set autoexpand=on lxd
 sudo zpool online -e lxd /var/lib/lxd/disks/<POOL>.img
 sudo zpool set autoexpand=off lxd
 ```
+
+When you installed LXD over snap then you must change the path to the pool:
+
+```bash
+sudo truncate -s +5G /var/snap/lxd/common/lxd/disks/<POOL>.img
+sudo zpool set autoexpand=on lxd
+sudo zpool online -e lxd /var/snap/lxd/common/lxd/disks/<POOL>.img
+sudo zpool set autoexpand=off lxd
+```
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to