releasing multiple snapshots

Status
Not open for further replies.

Sir_Shroomzz

Cadet
Joined
Mar 9, 2017
Messages
3
We have a 109TB FreeNAS server which we had ZFS replication enabled going to a remote site.

We are no longer doing this.

We currently have 1.5TB free and I'm looking to clear up space however ive run into the issue where the snapshots are stuck.

See below for exact issue:

https://akhpark.wordpress.com/2015/...hot-from-freenas/comment-page-1/#comment-1231

I'm just wondering if there is a way to release multiple or all snapshots in one go?

I have tried the below syntax:

zfs release -r freenas:repl pool@firstsnapshot%lastsnaphot

Could anyone assist?
 
Last edited by a moderator:

Sakuru

Guru
Joined
Nov 20, 2015
Messages
527
I believe you want destroy, not release.
 

Sir_Shroomzz

Cadet
Joined
Mar 9, 2017
Messages
3
i cant destroy as i receive the message "cant destroy snapshot dataset is busy"
which is why i need to release the snapshot with the freenas:repl flag
 

Sakuru

Guru
Joined
Nov 20, 2015
Messages
527
Ah, I see. It would help I read the article you linked :p

It looks like the -r parameter makes it recursive, so try zfs release -r freenas:repl pool/dataset
 
Status
Not open for further replies.
Top