[SOLVED] PM 6.1 - Keine Erstellung von Snapshots auf LXC möglich

H-BLOGX

Member
Feb 14, 2020
81
2
13
55
Germany - Göppingen
www.hasenmueller.de
Guten Morgen,

ich habe auf meinem PM 6.1-8 ein paar LXC Container am laufen. Bei den meisten kann ich Snapshots erstellen. Jetzt habe ich einen neuen LXC Container erstellt. Dort sind die Schaltflächen alle ausgegraut und dahinter steht "The current guest configuration does not support taking new snapshots". Der einzigste Unterschied ist bei diesem Container, dass ich in der Datei /etc/pve/lxc/248.conf die Zeile mp0: /mnt/lxcmnt/248/,mp=/mnt/ncdata/ von Hand eingetragen habe.
Kann es sein, das aus diesem Grund die Erstellung von Snapshots nicht geht?

Nachtrag: Habe es selbst herausgefunden. Das Problem ist genau so, wie ich es beschrieben habe

siehe: https://pve.proxmox.com/wiki/Linux_Container#_bind_mount_points

Bind mounts are considered to not be managed by the storage subsystem, so you cannot make snapshots or deal with quotas from inside the container.
 
Last edited:
Hi
Ich bin ganz neu mit Proxmox.
Habe einen Debian Container erstellt


1607961369429.png

Noch gar nichts damit gemacht und kann genau wie du schreibst keinen Snapshot machen

1607961486664.png

Da ich ein Newbie bin sagt mir dein Link nicht wirklich was ich konkret machen soll.
(Wird mir hoffentlich alles bald klarer - Bin am Lernen)

Wenn ich versuche, ein Backup zu machen kommt sofort der Error.
------------
INFO: starting new backup job: vzdump 101 --node Server --mode snapshot --compress zstd --remove 0 --storage BackUpServer
INFO: Starting Backup of VM 101 (lxc)
INFO: Backup started at 2020-12-14 17:01:08
INFO: status = stopped
INFO: backup mode: stop
INFO: ionice priority: 7
INFO: CT Name: test
INFO: including mount point rootfs ('/') in backup
INFO: creating vzdump archive '/mnt/pve/BackUpServer/dump/vzdump-lxc-101-2020_12_14-17_01_08.tar.zst'
INFO: tar: /mnt/pve/BackUpServer/dump/vzdump-lxc-101-2020_12_14-17_01_08.tmp: Cannot open: Permission denied
INFO: tar: Error is not recoverable: exiting now
ERROR: Backup of VM 101 failed - command 'set -o pipefail && lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- tar cpf - --totals --one-file-system -p --sparse --numeric-owner --acls --xattrs '--xattrs-include=user.*' '--xattrs-include=security.capability' '--warning=no-file-ignored' '--warning=no-xattr-write' --one-file-system '--warning=no-file-ignored' '--directory=/mnt/pve/BackUpServer/dump/vzdump-lxc-101-2020_12_14-17_01_08.tmp' ./etc/vzdump/pct.conf ./etc/vzdump/pct.fw '--directory=/mnt/vzsnap0' --no-anchored '--exclude=lost+found' --anchored '--exclude=./tmp/?*' '--exclude=./var/tmp/?*' '--exclude=./var/run/?*.pid' ./ | zstd --rsyncable '--threads=1' >/mnt/pve/BackUpServer/dump/vzdump-lxc-101-2020_12_14-17_01_08.tar.dat' failed: exit code 2
INFO: Failed at 2020-12-14 17:01:09
INFO: Backup job finished with errors
TASK ERROR: job errors
------------
Bist Du bitte so nett und geduldig mit mir und sagst mir Schritt für Schritt was ich Wo machen muss damit ich auch zukünftig mit CT's Snapshots und Backups machen kann.
Um als Newbie nach meinen install und config Versuchen wieder zurück an den Anfang kann
Vielen Dank.


Bind mounts are considered to not be managed by the storage subsystem, so you cannot make snapshots or deal with quotas from inside the container.

Oder heißt das: Es geht gar nicht mit Proxmox einen CT zu sichern.
Das wäre aber genau der Sinn!
Damit ich, wenn was falsch gelaufen ist, wieder zurückkann!

Da habe ich auch schon mit einem CT herumgewurstelt
https://forum.proxmox.com/threads/agent-in-lc-not-shown.80570/
 
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!