mirror of
https://github.com/Corsinvest/cv4pve-autosnap.git
synced 2026-04-25 08:55:49 +03:00
[GH-ISSUE #77] Cannot exclude vm disks #74
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cv4pve-autosnap#74
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @pgroidis on GitHub (Jul 6, 2023).
Original GitHub issue: https://github.com/Corsinvest/cv4pve-autosnap/issues/77
What happened?
It seems that I cannot use cv4pve-snapshot to exclude disks from within vm. For example, a vm 101 has 5 disks
virtio0: local-zfs:vm-101-disk-0,discard=on,iothread=1,size=32G
virtio1: local-zfs:vm-101-disk-1,discard=on,iothread=1,size=17G
virtio2: backup-zfs:vm-101-disk-0,backup=0,iothread=1,size=1160G
virtio3: local-zfs:vm-101-disk-2,discard=on,iothread=1,size=160G
virtio4: local-zfs:vm-101-disk-3,discard=on,iothread=1,size=500G
Disks on virtio2 is used for backup purposes and you can verify that backup=0 (skip backups)
If you execute
cv4pve-autosnap --timestamp-format ddMMyyHHmmss --host=127.0.0.1 --api-token 'snapshot@pve!snapshot=********* --vmid=101 snap --state --label=hourly --keep 24You will get the below error
----- VM 101 qemu running ----- VM 101 consider enabling QEMU agent see https://pve.proxmox.com/wiki/Qemu-guest-agent Create snapshot: autohourly060723114501 Error in task: zfs error: cannot create 'backup01/main/vm-101-state-autohourly060723114501': out of space Total execution 00:00:01.4703455zpool list
zpool list NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT backup01 1.20T 726G 498G - - 3% 59% 1.00x ONLINE - rpool 1.61T 765G 883G - - 15% 46% 1.00x ONLINE -Expected behavior
Somehow I have to exclude my backup pool or somehow choose specific virtio devices.
Relevant log output
No response
Proxmox VE Version
4.7
Version (bug)
1.14.8
Version (working)
1.14.8
On what operating system are you experiencing the issue?
Linux
Pull Request
@franklupo commented on GitHub (Jul 6, 2023):
If you create snapshot with web gui Proxmox VE work?
Best regards
@pgroidis commented on GitHub (Jul 17, 2023):
It seems that also from WEB GUI includes NON-backup disks to ZFS Snapshot :(
@franklupo commented on GitHub (Jul 17, 2023):
this option is not possible. I am sorry
Best regards