[Nottingham] Assistance with ZFS

VM vadim at mankevich.co.uk
Thu Aug 20 21:06:01 UTC 2020


Stripes,

Looks like the snapshot are created by zfs-auto-snapshot. Assuming you want to get rid of old snapshots try this in a terminal:

sudo zfs-auto-snapshot --label=monthly --keep=3 //

This should create a new monthly snapshot and keep 2 most recent ones.

If it works and you are ok with having fewer monthly snapshots permanently then the parameter can be changed in a similar command in /etc/cron.monthly/zfs-auto-snapshot. (as a root of course)
Hope this helps.
Disclaimer: I don't use zfs but assume the logic is the same as with btrfs.

--
VM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/nottingham/attachments/20200820/c1a2af76/attachment.html>


More information about the Nottingham mailing list