[pve-devel] since upgrade v3 => v4 moving qemu-server config files do not work

Stefan Priebe - Profihost AG s.priebe at profihost.ag
Tue Nov 22 10:49:40 CET 2016


ignore me my fault...

Stefan

Am 22.11.2016 um 10:15 schrieb Stefan Priebe - Profihost AG:
> Hi,
> 
> in the past / with V3 i was able to move qemu-server VM config files
> around simply with mv.
> 
> Under v4 it seems this no longer works the file automagically move to
> their old location.
> 
> Here an example:
> [node4 ~]# for VM in $(ps aux|grep "kvm"|grep -- "-id"|sed -e "s/.*-id
> //" -e "s/ .*//"); do echo $VM; mv -v
> /etc/pve/nodes/node*/qemu-server/$VM.conf /etc/pve/qemu-server/; done
> 121
> ‘/etc/pve/nodes/node2/qemu-server/121.conf’ ->
> ‘/etc/pve/qemu-server/121.conf’
> 103
> ‘/etc/pve/nodes/node2/qemu-server/103.conf’ ->
> ‘/etc/pve/qemu-server/103.conf’
> 100
> mv: ‘/etc/pve/nodes/node4/qemu-server/100.conf’ and
> ‘/etc/pve/qemu-server/100.conf’ are the same file
> 115
> mv: ‘/etc/pve/nodes/node4/qemu-server/115.conf’ and
> ‘/etc/pve/qemu-server/115.conf’ are the same file
> 146
> mv: ‘/etc/pve/nodes/node4/qemu-server/146.conf’ and
> ‘/etc/pve/qemu-server/146.conf’ are the same file
> 111
> mv: ‘/etc/pve/nodes/node4/qemu-server/111.conf’ and
> ‘/etc/pve/qemu-server/111.conf’ are the same file
> 112
> mv: ‘/etc/pve/nodes/node4/qemu-server/112.conf’ and
> ‘/etc/pve/qemu-server/112.conf’ are the same file
> 
> wait some time
> 
> [node4 ~]# for VM in $(ps aux|grep "kvm"|grep -- "-id"|sed -e "s/.*-id
> //" -e "s/ .*//"); do echo $VM; mv -v
> /etc/pve/nodes/node*/qemu-server/$VM.conf /etc/pve/qemu-server/; done
> 121
> ‘/etc/pve/nodes/node2/qemu-server/121.conf’ ->
> ‘/etc/pve/qemu-server/121.conf’
> 103
> ‘/etc/pve/nodes/node2/qemu-server/103.conf’ ->
> ‘/etc/pve/qemu-server/103.conf’
> 100
> mv: ‘/etc/pve/nodes/node4/qemu-server/100.conf’ and
> ‘/etc/pve/qemu-server/100.conf’ are the same file
> 115
> mv: ‘/etc/pve/nodes/node4/qemu-server/115.conf’ and
> ‘/etc/pve/qemu-server/115.conf’ are the same file
> 146
> mv: ‘/etc/pve/nodes/node4/qemu-server/146.conf’ and
> ‘/etc/pve/qemu-server/146.conf’ are the same file
> 111
> mv: ‘/etc/pve/nodes/node4/qemu-server/111.conf’ and
> ‘/etc/pve/qemu-server/111.conf’ are the same file
> 112
> mv: ‘/etc/pve/nodes/node4/qemu-server/112.conf’ and
> ‘/etc/pve/qemu-server/112.conf’ are the same file
> 
> Stefan
> 



More information about the pve-devel mailing list