The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/2376
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 <stgra...@ubuntu.com>
From f75a9136daac62aabfd209f3a6121ef13e23a8d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgra...@ubuntu.com> Date: Wed, 14 Sep 2016 16:17:04 -0400 Subject: [PATCH] init: Enable compression on new zfs pools MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Graber <stgra...@ubuntu.com> --- lxd/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lxd/main.go b/lxd/main.go index 2283e66..9ae1c73 100644 --- a/lxd/main.go +++ b/lxd/main.go @@ -945,7 +945,7 @@ they otherwise would. output, err := exec.Command( "zpool", "create", storagePool, storageDevice, - "-f", "-m", "none").CombinedOutput() + "-f", "-m", "none", "-O", "compression=on").CombinedOutput() if err != nil { return fmt.Errorf("Failed to create the ZFS pool: %s", output) }
_______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel