I have a 2T disk which I use for backups of VM. Currently, the disk is showing as FULL, and backup jobs started to fail. So far I am unable to find the reason or to fix the issue, by deleting old backups. First I checked the content of the `storage.cfg` file and it shows:
My first thought was that the `keep_all=1` is why the disk is full. After searching a lot on Google I finally found a post somewhere that led me to execute the following:
But surprisedly that did something but did not help me because the disk still shows as FULL (almost). I noticed that backups are not showing up in the UI so I can't manually remove them.
Can I get some help? If you need some extra info just let me know and I will provide it
Code:
# cat /etc/pve/storage.cfg
dir: local
path /var/lib/vz
content backup,iso,vztmpl
lvmthin: local-lvm
thinpool data
vgname pve
content images,rootdir
zfspool: hitachi
pool hitachi
content rootdir,images
mountpoint /hitachi
sparse 1
dir: backups
path /hitachi/backups
content vztmpl,iso,images,backup
prune-backups keep-all=1
shared 0
My first thought was that the `keep_all=1` is why the disk is full. After searching a lot on Google I finally found a post somewhere that led me to execute the following:
Code:
pvesm status
Name Type Status Total Used Available %
backups dir active 1885861248 1812462336 73398912 96.11%
hitachi zfspool active 1885863936 1812465024 73398912 96.11%
local dir active 98497780 5338492 88109740 5.42%
local-lvm lvmthin active 1793077248 110094943 1682982304 6.14%
# pvesm remove backups
root@pve:/var/lib/vz/dump# pvesm status
Name Type Status Total Used Available %
hitachi zfspool active 1885863936 1812465024 73398912 96.11%
local dir active 98497780 5338508 88109724 5.42%
local-lvm lvmthin active 1793077248 110094943 1682982304 6.14%
But surprisedly that did something but did not help me because the disk still shows as FULL (almost). I noticed that backups are not showing up in the UI so I can't manually remove them.
Can I get some help? If you need some extra info just let me know and I will provide it