What happened before the error:
It all started when I was trying to copy a lxc-container. The statuspage just said "Creating virtual disc" (Or something like that, I can't fully remember)
After multiple tries and trying to create a new container, I thought "maybe I should update my environment".
While executing
I couldn't find something online for that specific problem so I terminated the process and rebooted my Server.
After the reboot:
In the webgui I noticed, that local_lvm had the status unknown and no vms or containers where running.
Using the shell I started one of my vms
I got the error:
I found this thread: https://forum.proxmox.com/threads/t...gical-volume-pve-data_tdata-is-active.106225/
and tried these commands:
but was unable to execute
I got this error:
After that I went through this thread: https://forum.proxmox.com/threads/l...rnel-update-on-pve-7.97406/page-2#post-430860
But nothing changed.
After that I went back to the first thread and read through it again. I thought, maybe I should try, what the creator of the thread tried, before opening the thread.
Now my server is executing
I have backups for every vm/container, except one 3.5tb vm, for which I was just working on a backup solution.
It all started when I was trying to copy a lxc-container. The statuspage just said "Creating virtual disc" (Or something like that, I can't fully remember)
After multiple tries and trying to create a new container, I thought "maybe I should update my environment".
While executing
apt upgrade -y
i noticed, that after "reading database (80%)" nothing happened. I waited 2 hours, but it still just said "reading database (80%)".I couldn't find something online for that specific problem so I terminated the process and rebooted my Server.
After the reboot:
In the webgui I noticed, that local_lvm had the status unknown and no vms or containers where running.
Using the shell I started one of my vms
qm start 178201
I got the error:
activating LV 'pve/data' failed: Activation of logical volume pve/data is prohibited while logical volume pve/data_tmeta is active.
I found this thread: https://forum.proxmox.com/threads/t...gical-volume-pve-data_tdata-is-active.106225/
and tried these commands:
Code:
lvchange -an pve/data_tdata
lvchange -an pve/data_tmeta
lvchange -ay pve/data
but was unable to execute
lvchange -an pve/data_tmeta
.I got this error:
Remove ioctl on (some id that is this: pve-data_tmeta) failed. Device or resource busy
After that I went through this thread: https://forum.proxmox.com/threads/l...rnel-update-on-pve-7.97406/page-2#post-430860
But nothing changed.
After that I went back to the first thread and read through it again. I thought, maybe I should try, what the creator of the thread tried, before opening the thread.
Code:
lvchange -an pve/data
lvconvert --repair pve/data
lvchange -ay pve/data
qm unlock 100
reboot
Now my server is executing
lvconvert --repair pve/data
for two and a half hours and I don't know, how long it is going to take or if what I am doing even helps. Also the webgui states "Status: unknown" for every vm, container, storage and the node I am on (I don't have other nodes).I have backups for every vm/container, except one 3.5tb vm, for which I was just working on a backup solution.