Error: not found
Now, checking the
API, this URL is of the form /1.0/storage-pools/<pool>/volumes/<type>/<name>
Therefore it appears that the "lxc storage volume move" command only works for volumes of type "custom", not "container". AFAICT, "custom" volumes are ones created separately to attach to a container for additional data storage:
root@nuc1:~# lxc storage volume list default | grep wibble
| custom | wibble | | filesystem | 0 |
root@nuc1:~# lxc storage volume move default/wibble plain/wibble
Storage volume moved successfully!
root@nuc1:~# lxc storage volume list plain | grep wibble
| custom | wibble | | filesystem | 0 |
root@nuc1:~# lxc storage volume delete plain wibble
Storage volume wibble deleted
A quick google finds that the way to move container storage is to use "lxc move", not "lxc storage volume move":
root@nuc1:~# lxc move jocko jocko -s plain
<<< "top" shows rsync processes running >>>
root@nuc1:~# lxc storage volume list plain | grep jocko
| container | jocko | | filesystem | 1 |
(Note: older versions of lxd may require renaming, see
here)