Hi everyone, question for our community on Snapshots and auto-deletion please?
I logged in to my Trueness Scale server last night and noticed there was a system message. The error was a warning stating "There are to many Snapshots, and that if they are not deleted system performance mod be affected"
So I started investigating snapshots for different directories and older snapshots were not being deleted.
I have two snapshots setup on the complete pool, top down.
One is taken hourly, everyday, but only retain 1 weeks worth.
The other
Is taken monthly, but retained for three months.
I have only had the system built for 4 weeks.
The snapshots appear to be set to 'Not be Destroyed' even though I have set up the tasks to delete after 1 week!
So I am having to go into each dataset and delete manually. Which is long and tedious as once you delete a group of snapshots, unless you take another snapshot of that dataset the overall number of snapshots does not update.
Also why would I have over 7000 snapshots of a directory when the system has only been built for a week?
--
Does anyone know why this is happening please, have I hit a potential bug?
How would I delete all snapshots and start over please without going through thousands of snapshots manually through the GUI? Is there a ZFS Command line I could use please?
Thanks so much for taking the time to read,
all the best
Gary
I logged in to my Trueness Scale server last night and noticed there was a system message. The error was a warning stating "There are to many Snapshots, and that if they are not deleted system performance mod be affected"
So I started investigating snapshots for different directories and older snapshots were not being deleted.
I have two snapshots setup on the complete pool, top down.
One is taken hourly, everyday, but only retain 1 weeks worth.
The other
Is taken monthly, but retained for three months.
I have only had the system built for 4 weeks.
The snapshots appear to be set to 'Not be Destroyed' even though I have set up the tasks to delete after 1 week!
So I am having to go into each dataset and delete manually. Which is long and tedious as once you delete a group of snapshots, unless you take another snapshot of that dataset the overall number of snapshots does not update.
Also why would I have over 7000 snapshots of a directory when the system has only been built for a week?
--
Does anyone know why this is happening please, have I hit a potential bug?
How would I delete all snapshots and start over please without going through thousands of snapshots manually through the GUI? Is there a ZFS Command line I could use please?
Thanks so much for taking the time to read,
all the best
Gary
Last edited: