[lxc-users] Moving storage volumes to new pool

Joshua Schaeffer jschaeffer at harmonywave.com
Wed Jan 20 20:28:18 UTC 2021


I'm running LXD 3.03 on Ubuntu 18.04 and the backend for my main storage pool is starting to fail. I have a drive that is provided via SAN to my LXD server and the SAN server itself needs to be shutdown and refreshed. I wanted to move my container's storage volumes from my original storage to a new ceph storage pool, but I'm clearly not specifying my move command properly:

lxcuser at lxcserver:~$ lxc storage list
+------------+-------------+--------+---------+---------+
|    NAME    | DESCRIPTION | DRIVER |  STATE  | USED BY |
+------------+-------------+--------+---------+---------+
| btrfspool1 |             | btrfs  | CREATED | 21      |
+------------+-------------+--------+---------+---------+
| cephpool1  |             | ceph   | CREATED | 0       |
+------------+-------------+--------+---------+---------+

lxcuser at lxcserver:~$ lxc storage volume list btrfspool1
+----------------------+------------------------------------------------------------------+-------------+---------+-----------+
|         TYPE         |                               NAME                               | DESCRIPTION | USED BY | LOCATION  |
+----------------------+------------------------------------------------------------------+-------------+---------+-----------+
| container            | bllweb05                                                         |             | 1       | lxcserver |
+----------------------+------------------------------------------------------------------+-------------+---------+-----------+

lxcuser at lxcserver:~$ lxc storage volume move btrfspool1/bllweb05 cephpool1/bllweb05
Error: not found

How are you supposed to specify the move command to move a volume from one storage pool to another?

-- 
Thanks,
Joshua Schaeffer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20210120/37baa82a/attachment.htm>


More information about the lxc-users mailing list