Sir.Robin
Guru
- Joined
- Apr 14, 2012
- Messages
- 554
I have a snapshot that won't be deleted. It is supposed to be held for 2 months, but it's still stuck from october and refuses to be deleted.
This is a replicated dataset and it's the same onthe replicated side.
I have two snapshot tasks on this dataset.
Nr. 1 is every day@02:00 except monday and keep for 1 week
Nr. 2 is every week on monday@02:00 and keep for 2 months
This works fine for another dataset.
So i learned a new command "zfs holds" and it gives me this:
I logged in as SU and did this:
And with that the snapshot was automatically destroyed.
It's still on the pull side, but i assume it will dissapear there to afer replication starts tonight.
What does this mean? Why were it beeing held?
Oh yeah.. and i can't see any of my "2 months" snapshots in "previous versions" in windows...?? I could before and i DO see them for my other datasets....
This is a replicated dataset and it's the same onthe replicated side.
I have two snapshot tasks on this dataset.
Nr. 1 is every day@02:00 except monday and keep for 1 week
Nr. 2 is every week on monday@02:00 and keep for 2 months
This works fine for another dataset.
Code:
@NAS01:~ % zfs destroy vol01/felles@auto-20141002.1743-1w cannot destroy snapshots: permission denied
So i learned a new command "zfs holds" and it gives me this:
Code:
@NAS01:~ % zfs holds -r vol01/felles@auto-20141002.1743-1w NAME TAG TIMESTAMP vol01/felles@auto-20141002.1743-1w freenas:repl Thu Oct 2 17:43 2014
I logged in as SU and did this:
Code:
zfs release -r freenas:repl vol01/felles@auto-20141002.1743-1w
And with that the snapshot was automatically destroyed.
It's still on the pull side, but i assume it will dissapear there to afer replication starts tonight.
What does this mean? Why were it beeing held?
Oh yeah.. and i can't see any of my "2 months" snapshots in "previous versions" in windows...?? I could before and i DO see them for my other datasets....
Last edited: