gelockter LXC

Wszene

Member
May 5, 2021
9
1
8
47
Hallo Zusammen,
Ich habe hier einen LXC welcher keine .conf Datei hat
Das Problem ist das bei der Erstellung des LXC´s ein unbekannter Fehler aufgetreten ist

Jetzt habe ich das Problem das ich den LXC nicht löschen kann da der Container gelockt ist
Ich kann diesen aber auch nicht mit "qm unlock 105" entlocken da kommt die Fehlermeldung
file 'nodes/ws-pve01/qemu-server/105.conf' does not exist

Jetzt meine Frage
Wie bekomme ich diesen Container wieder weg?

Danke im Voraus
Gruß
Marcel
 
Hi,

  1. Da es sich um einen Container handelt solltest du es verm. eher mit pct unlock 105 versuchen. Der Command qm ist für virtuelle Maschinen gedacht, nicht Container. Mit pct destroy 105 solltest du den Container löschen können.
  2. Wenn du auch da ähnliche Probleme hast kannst versuchen die -force Option an den Command anzuhängen. Oder auch noch -purge wenn du evtl. Replaction oder HA etc. eingerichtet hast und das auch löschen willst.
  3. Wenn du dann immer noch diesen Fehler erhältst kannst du versuchen eine leere Konfigurationsdatei mit touch /etc/pve/nodes/ws-pve01/lxc/105.conf anzulegen und dann den pct destroy 105 command auszuführen.
Mehr über pct und qm findest du im Manual [1, 2].

[1]: https://pve.proxmox.com/pve-docs/pv...ontainers_with_span_class_monospaced_pct_span
[2]: https://pve.proxmox.com/pve-docs/pv...l_machines_with_span_class_monospaced_qm_span
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!