In that in the cloud openstack new virtual machine are stored in / var / lib / nova / instances, the new virtual machine memory is not enough, of course, it may be transferred to a new storage location nova
The following operations only on the compute nodes
One: Stop Virtual Machine
to view the virtual machine:
$ Nova List
stop going to migrate virtual machines
$ nova stop INSTANCEID
II: Data Migration
$ cp -r / var / lib / nova / instances / / openstack /
III: modify virtual machine storage path
#vi /etc/nova/nova.conf
Examples Path #
instances_path = / OpenStack / instances
#nova directory
state_path = / openstack / instances
Four: Restart compute services and start the virtual machine
#systemctl restart openstack-nova-compute.service
Start the virtual machine: #nova start INSTANCEID
In that in the cloud openstack new virtual machine are stored in / var / lib / nova / instances, the new virtual machine memory is not enough, of course, it may be transferred to a new storage location nova
The following operations only on the compute nodes
One: Stop Virtual Machine
to view the virtual machine:
$ Nova List
stop going to migrate virtual machines
$ nova stop INSTANCEID
II: Data Migration
$ cp -r / var / lib / nova / instances / / openstack /
III: modify virtual machine storage path
#vi /etc/nova/nova.conf
Examples Path #
instances_path = / OpenStack / instances
#nova directory
state_path = / openstack / instances
Four: Restart compute services and start the virtual machine
#systemctl restart openstack-nova-compute.service
Start the virtual machine: #nova start INSTANCEID