* [PVE-User] Leftover replication snapshots?!
@ 2025-07-16 10:44 Marco Gaiarin
2025-07-30 15:17 ` Marco Gaiarin
0 siblings, 1 reply; 2+ messages in thread
From: Marco Gaiarin @ 2025-07-16 10:44 UTC (permalink / raw)
To: pve-user
I've some VMs and LXCs with replica enabled between two nodes;
if i look at snapshopts i got (on both nodes):
root@cnpve1:~# zfs list -r -t snapshot -o name,used,creation rpool/data
NAME USED CREATION
rpool/data/subvol-123-disk-0@__replicate_123-0_1752453014__ 84.4M Mon Jul 14 2:30 2025
rpool/data/subvol-124-disk-0@__replicate_124-0_1752453020__ 21.3G Mon Jul 14 2:30 2025
rpool/data/subvol-126-disk-0@__replicate_126-0_1752662087__ 232K Wed Jul 16 12:34 2025
rpool/data/subvol-128-disk-0@__replicate_128-0_1752662081__ 280K Wed Jul 16 12:34 2025
rpool/data/vm-100-disk-0@__replicate_100-0_1752453009__ 53.9M Mon Jul 14 2:30 2025
rpool/data/vm-101-disk-0@__replicate_101-0_1752662120__ 6.27M Wed Jul 16 12:35 2025
rpool/data/vm-120-disk-0@__replicate_120-0_1752453000__ 0B Mon Jul 14 2:30 2025
rpool/data/vm-121-disk-0@__replicate_121-0_1752468303__ 0B Mon Jul 14 6:45 2025
rpool/data/vm-122-disk-0@__replicate_122-0_1752468303__ 112M Mon Jul 14 6:45 2025
rpool/data/vm-131-disk-0@__replicate_131-0_1752662105__ 3.09M Wed Jul 16 12:35 2025
there's only one snapshot per disk, so seems to me that replica works as:
1) delete old snapshot
2) take snapshot
3) sync snapshot
4) apply snapshot to other node
But snapshot get not deleted. Why?
If i need temporary some space, can i safely delete all these snapshot
(clerly by hand, via 'zfs destroy')?
Thanks.
--
_______________________________________________
pve-user mailing list
pve-user@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PVE-User] Leftover replication snapshots?!
2025-07-16 10:44 [PVE-User] Leftover replication snapshots?! Marco Gaiarin
@ 2025-07-30 15:17 ` Marco Gaiarin
0 siblings, 0 replies; 2+ messages in thread
From: Marco Gaiarin @ 2025-07-30 15:17 UTC (permalink / raw)
To: Marco Gaiarin; +Cc: pve-user
Mandi! Marco Gaiarin
In chel di` si favelave...
> But snapshot get not deleted. Why?
I reply myself: these ssnapshot are aevidently an 'internal tool' to manage
replication.
> If i need temporary some space, can i safely delete all these snapshot
> (clerly by hand, via 'zfs destroy')?
No, these snapshot cannot be deleted, replica simply stop in error
if missing.
If deleted, the entire volume have to be deleted (in the destination replica,
of course) and replica have to be started by zero.
--
_______________________________________________
pve-user mailing list
pve-user@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-07-30 20:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-16 10:44 [PVE-User] Leftover replication snapshots?! Marco Gaiarin
2025-07-30 15:17 ` Marco Gaiarin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox