<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Helvetica, Arial, sans-serif">if you look at lxc move
--help there is an option for storage pool.<br>
<br>
I could imagine something along<br>
<br>
lxc move local:[source-container-name]
local:[destination-container-name] -s [storage-pool]<br>
</font><br>
may move a container amont sotrage pools<br>
<br>
To test this I'd try with 'copy' (which also has the -s option)
probably at first<br>
<br>
disclaimer: I never did this and just look at the help and draw
conclusions from it here<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 5/3/19 9:17 PM, Carmelo Ingrao
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CACDuy9XOFEVP8-nu9Jiw-yw=uhZWSBKAXvuXqWYTX3Qy0_FW8A@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr">Hello :)
<div><br>
</div>
<div>I want to move containers from the default storage pool
(the one created when I ran lxd init) to another pool I
juste created on a new hard drive :</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div>carmelo@infratest2:~$ lxc storage list</div>
<div>+---------+-------------+--------+--------------------------------------+---------+</div>
<div>| NAME | DESCRIPTION | DRIVER |
SOURCE | USED BY |</div>
<div>+---------+-------------+--------+--------------------------------------+---------+</div>
<div>| default | | btrfs |
/var/lib/lxd/disks/default.img | 16 |</div>
<div>+---------+-------------+--------+--------------------------------------+---------+</div>
<div>| sdb1 | | btrfs |
4349dde2-6aae-4575-a7f2-e6533dbfd007 | 0 |</div>
<div>+---------+-------------+--------+--------------------------------------+---------+</div>
<div><br>
</div>
<div>Can you help to move my containers please ?</div>
<div><br>
</div>
<div>thanks !</div>
<div><br>
</div>
<div>Carmelo</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-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>
<div class="moz-signature">-- <br>
<span style="font-family: Arial Unicode MS;">Gunnar Wagner | </span><span
style="font-family: Arial Unicode MS;">Yongfeng Village Group 12
#5, Pujiang Town, Minhang District, 201112 Shanghai, P.R. CHINA
</span><br style="font-family: Arial Unicode MS;">
<span style="font-family: Arial Unicode MS;">mob +86.159.0094.1702
| skype:
professorgunrad | wechat: 15900941702</span><br>
</div>
</body>
</html>