<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Thanks, that works.<br>
<br>
Next, how do I change the volume size of an existing container?<br>
<br>
<div class="moz-cite-prefix">On 25-09-18 17:01, Stéphane Graber
wrote:<br>
</div>
<blockquote type="cite" cite="mid:20180925150129.GB22046@castiana">
<pre wrap="">No worries, we tend to prefer support requests to go here or to
<a class="moz-txt-link-freetext" href="https://discuss.linuxcontainers.org">https://discuss.linuxcontainers.org</a>
The command should have actually been:
lxc profile device set default root size 50GB
On Tue, Sep 25, 2018 at 04:11:05PM +0200, Kees Bakker wrote:
</pre>
<blockquote type="cite">
<pre wrap="">This is a follow up of <a class="moz-txt-link-freetext" href="https://github.com/lxc/lxd/issues/5069">https://github.com/lxc/lxd/issues/5069</a>
(( Sorry for creating the issue, Stéphane. I thought that "issues"
were not just for bugs. ))
You said: "lxc profile set default root size 50GB should do the trick"
Alas, ...
root@maas:~# lxc profile set default root size 50GB
Description:
Set profile configuration keys
Usage:
lxc profile set [<remote>:]<profile> <key> <value> [flags]
Global Flags:
--debug Show all debug messages
--force-local Force using the local unix socket
-h, --help Print help
-v, --verbose Show all information messages
--version Print version number
Error: Invalid number of arguments
Furthermore.
Somewhere else I read your suggestion to set volume.size but
I was not able to get anything useful result. I did set the
volume,size of my storage pool, but new containers were still
created with the 10GB default.
And, perhaps related, if I have a container with a bigger volume than 10GB,
then it fails to copy that container. (Copying that container to another LXD
server with BTRFS, succeeds without problem.)
Notice that I'm using LVM storage, on Ubuntu 18.04 with LXD/LXC 3.0.1
-- Kees
On 24-09-18 08:56, Kees Bakker wrote:
</pre>
<blockquote type="cite">
<pre wrap="">This is still unanswered.
How do I set the default volume size of the storage pool?
On 13-09-18 10:19, Kees Bakker wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hey,
Forgive my ignorance, but how would you do that? I have a setup with LVM
and the default volume size is 10G. I wish to increase that default,
what would be the command syntax? Also I want to see the current
default settings, just so I know I'm on the right track.
My pool is called "local".
# lxc storage show local
config:
lvm.thinpool_name: LXDThinPool
lvm.vg_name: local
description: ""
name: local
driver: lvm
used_by:
- /1.0/containers/bionic01
- /1.0/containers/kanboard
- /1.0/containers/license4
- /1.0/containers/usrv1
- /1.0/containers/usrv1/snapshots/after-aptinstall-freeipa
- /1.0/images/7079d12b3253102b829d0fdd6f1f693a1654057ec054542e9e7506c7cf54fa2e
- /1.0/images/c395a7105278712478ec1dbfaab1865593fc11292f99afe01d5b94f1c34a9a3a
- /1.0/profiles/default
- /1.0/profiles/default_pub
- /1.0/profiles/testprof
status: Created
locations:
- maas
There is no volume.size. Should I just add it?
</pre>
</blockquote>
<pre wrap="">_______________________________________________
lxc-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a>
<a class="moz-txt-link-freetext" href="http://lists.linuxcontainers.org/listinfo/lxc-users">http://lists.linuxcontainers.org/listinfo/lxc-users</a>
</pre>
</blockquote>
<pre wrap="">
_______________________________________________
lxc-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a>
<a class="moz-txt-link-freetext" href="http://lists.linuxcontainers.org/listinfo/lxc-users">http://lists.linuxcontainers.org/listinfo/lxc-users</a>
</pre>
</blockquote>
<pre wrap="">
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
lxc-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a>
<a class="moz-txt-link-freetext" href="http://lists.linuxcontainers.org/listinfo/lxc-users">http://lists.linuxcontainers.org/listinfo/lxc-users</a></pre>
</blockquote>
<br>
</body>
</html>