Hi folks,
Please bear with me, here's a little background info to illustrate my situation:
A couple of years ago, must have been 2018 or 2019, I started out with Proxmox. At that time I had two Proxmox servers up and running. (Homelab situation). Somewhere 2021 we moved to a new house, and in the process all the "old" machines where powered off and stored away.
One of the machines just won't boot anymore, I suspect there's either a PSU failure or worse a MOBO problem.
In the mean time, while the elder machines were dormant, I got a free (older) machine from my employer. (Intel i5) And on that machine I have set up Proxmox as well. This machine is up and running, and named pve-1.
Now lately I've done a lot of trial and error to try and see if I could get the old machines back up and running. And with one of them this has finally worked.
So on this machine, I had Proxmox 5.5, and I think it was running Debian Stretch.
Yesterday I spent time searching and reading and managed to upgrade Debian Stretch to Debian Bullseye, and I'v also managed to update Proxmox to 7.4-18.
Now my question / issue:
After upgrading Debian and Proxmox as well and doing the renaming (following a wiki post), my pre-existing vm's show greyed out and have a question mark as status.
Search has yielded that I should copy or move the /etc/pve/nodes/pve-old-name/qemu-server/102.conf file (and subsequent other NNN.conf files) to
/etc/pve/nodes/pve-new-name/qemu-server/102.conf.
But trying to do so throws a Permission denied error.
What do I need to do to be able to move / copy these files?
I assume some running services are keeping me from moving / copying these files? Is this correct?
I'd like to get this solved, most of all as a learning case, so there's no vital information to be lost in this case.
Thanks for helping out!
Please bear with me, here's a little background info to illustrate my situation:
A couple of years ago, must have been 2018 or 2019, I started out with Proxmox. At that time I had two Proxmox servers up and running. (Homelab situation). Somewhere 2021 we moved to a new house, and in the process all the "old" machines where powered off and stored away.
One of the machines just won't boot anymore, I suspect there's either a PSU failure or worse a MOBO problem.
In the mean time, while the elder machines were dormant, I got a free (older) machine from my employer. (Intel i5) And on that machine I have set up Proxmox as well. This machine is up and running, and named pve-1.
Now lately I've done a lot of trial and error to try and see if I could get the old machines back up and running. And with one of them this has finally worked.
So on this machine, I had Proxmox 5.5, and I think it was running Debian Stretch.
Yesterday I spent time searching and reading and managed to upgrade Debian Stretch to Debian Bullseye, and I'v also managed to update Proxmox to 7.4-18.
Now my question / issue:
After upgrading Debian and Proxmox as well and doing the renaming (following a wiki post), my pre-existing vm's show greyed out and have a question mark as status.
Search has yielded that I should copy or move the /etc/pve/nodes/pve-old-name/qemu-server/102.conf file (and subsequent other NNN.conf files) to
/etc/pve/nodes/pve-new-name/qemu-server/102.conf.
But trying to do so throws a Permission denied error.
What do I need to do to be able to move / copy these files?
I assume some running services are keeping me from moving / copying these files? Is this correct?
Code:
root@pve-0:/etc/pve/nodes/pve/qemu-server# cp 102.conf /etc/pve/nodes/pve-0/qemu-server/102.conf
cp: cannot create regular file '/etc/pve/nodes/pve-0/qemu-server/102.conf': Permission denied
Code:
root@pve-0:/etc/pve/nodes/pve/qemu-server# mv 102.conf /etc/pve/nodes/pve-0/qemu-server/102.conf
mv: cannot move '102.conf' to '/etc/pve/nodes/pve-0/qemu-server/102.conf': Permission denied
I'd like to get this solved, most of all as a learning case, so there's no vital information to be lost in this case.
Thanks for helping out!