Just so I don't misunderstand: Do you mean you deleted the snapshots yourself and then pruned them?i remove manually all the old snapshot and run the prune
df -h
command?zpool replace
and then resilver using zpool resilver zpool01
. After the resilver is done, repeat for each remaining drive - replace, then resilver - until all drives are upgraded. Once you're done, you should be able to run the GC.zfs send
and zfs receive
to move your datastore to that pool. You can then upgrade your original ZFS datastore and then send your data back again.Hi how much space free i need to reserve for Garbace Collect on for example 1TB of storage?Quota can be set withzfs set quota=1234G YourPool/YourDataset
Not sure but have a read on ZFS basics. A ZFS pool will be come slower and fragment faster the more you fill it and above 90% it will switch to a slower allocation mode. So when dimensioning your pool you should buy more storage to compensate this. A Rule of thumb is to not fill your pool more than 80% but I personally wasn't seeing a big difference between 80 and 90%, so I usually set a 90% quota and set my monitoring to alert me when the pool exceeds 80% so I can delete stuff or add more disks before it reaches 90%.Hi how much space free i need to reserve for Garbace Collect on for example 1TB of storage?
i set the quota with this command is correct?Not sure but have a read on ZFS basics. A ZFS pool will be come slower and fragment faster the more you fill it and above 90% it will switch to a slower allocation mode. So when dimensioning your pool you should buy more storage to compensate this. A Rule of thumb is to not fill your pool more than 80% but I personally wasn't seeing a big difference between 80 and 90%, so I usually set a 90% quota and set my monitoring to alert me when the pool exceeds 80% so I can delete stuff or add more disks before it reaches 90%.
I use zabbix with a PBS template to monitor my PBS pool/disk health and free space.Ok so i set to 90% and how to set monitoring to send email when exced 80%?
Same network.Ok you have zabbix in cloud or on premises in the same network of pbs?
You need to set up a zabbix server first. So yes, that is some work to do and probably not worth to just monitor a single ZFS pool. But you should have some kind of monitoring anyway for all the hosts and guests including your PVE nodes. Whatever you use for monitoring these it probably also supports monitoring filesystems and ZFS pools.Is difficult to setup and configure zabbix for this purpose?
I don't use monitoring system like zabbix i have only configure email notifications on proxmox and thats'it. i use uptime kuma for monitoring tcp port include proxmox, but nothing more that that.@Max Carrara:
Would be great to have an additional option in the datastores notification settings for running out of space warnings. Maybe a textbox where you can type in 0-100% and it will send an notification once the datastore exceeds that. Maybe this would help a bit with people willing up the datastores to 100%. Is there already such a feature request in the bug tracker?
Same network.
You need to set up a zabbix server first. So yes, that is some work to do and probably not worth to just monitor a single ZFS pool. But you should have some kind of monitoring anyway for all the hosts and guests including your PVE nodes. Whatever you use for monitoring these it probably also supports monitoring filesystems and ZFS pools.
Not to my knowledge, but you can always open an RFE if you'd like!Is there already such a feature request in the bug tracker?