You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Something I noticed recently is when LVM snapshots are made, every old config is stored in /etc/lvm/archive by default. When running the snapshot script hourly, this directory can fill up with a lot of files, which surprised me. I ended up having a cron to delete old files in that directory. Might be worthwhile to just note it in the readme. Ideally I would prefer to skip snapshots for LVM, but this is probably not possible since vms/containers could have a combination of both LVM and ZFS resources.
The text was updated successfully, but these errors were encountered:
As far as I know, ZFS snapshots are automatically removed by Proxmox itself when a lxc snapshot is removed. So, should these LVM metadata be automatically removed by Proxmox?
You could skip snapshots for LVM by using some tags on Proxmox, and exclude them on the command line.
Thanks for this script, it's quite useful.
Something I noticed recently is when LVM snapshots are made, every old config is stored in /etc/lvm/archive by default. When running the snapshot script hourly, this directory can fill up with a lot of files, which surprised me. I ended up having a cron to delete old files in that directory. Might be worthwhile to just note it in the readme. Ideally I would prefer to skip snapshots for LVM, but this is probably not possible since vms/containers could have a combination of both LVM and ZFS resources.
The text was updated successfully, but these errors were encountered: