[lxc-users] moving container from default storage pool to another
gunnar.wagner
gunnar.wagner at netcologne.de
Sat May 4 07:38:25 UTC 2019
if you look at lxc move --help there is an option for storage pool.
I could imagine something along
lxc move local:[source-container-name]
local:[destination-container-name] -s [storage-pool]
may move a container amont sotrage pools
To test this I'd try with 'copy' (which also has the -s option) probably
at first
disclaimer: I never did this and just look at the help and draw
conclusions from it here
On 5/3/19 9:17 PM, Carmelo Ingrao wrote:
> Hello :)
>
> 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 :
>
>
> carmelo at infratest2:~$ lxc storage list
> +---------+-------------+--------+--------------------------------------+---------+
> | NAME | DESCRIPTION | DRIVER | SOURCE | USED BY |
> +---------+-------------+--------+--------------------------------------+---------+
> | default | | btrfs | /var/lib/lxd/disks/default.img
> | 16 |
> +---------+-------------+--------+--------------------------------------+---------+
> | sdb1 | | btrfs |
> 4349dde2-6aae-4575-a7f2-e6533dbfd007 | 0 |
> +---------+-------------+--------+--------------------------------------+---------+
>
> Can you help to move my containers please ?
>
> thanks !
>
> Carmelo
>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
--
Gunnar Wagner | Yongfeng Village Group 12 #5, Pujiang Town, Minhang
District, 201112 Shanghai, P.R. CHINA
mob +86.159.0094.1702 | skype: professorgunrad | wechat: 15900941702
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20190504/14df8f33/attachment.html>
More information about the lxc-users
mailing list