Clone Snapshot

Status
Not open for further replies.
Joined
Jul 3, 2015
Messages
926
Does anyone know if when you clone a snapshot in FreeNAS if it promotes it at the same time ie breaks it's relationship from its parent snapshot or is it still reliant on the parent snapshot still being present in the system and therefore if that parent snapshot expires so will your clone?
 

rogerh

Guru
Joined
Apr 18, 2014
Messages
1,111
My impression is that the clone is an independent copy and unaffected by what happens to the parent dataset or any other data on the same volume. See what the experts say.
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
A snapshot will keep all the blocks it needs for itself. Blocks are marked free once they're not in use by any snapshot or the current state.

At least that's my understanding.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
A clone is nothing but a "mount" of the particular snapshot. You can't delete the snapshot while it is cloned, likewise the clone takes up only like 8KB of space while mounted.
 

rogerh

Guru
Joined
Apr 18, 2014
Messages
1,111
A clone is nothing but a "mount" of the particular snapshot. You can't delete the snapshot while it is cloned, likewise the clone takes up only like 8KB of space while mounted.
OK, sorry, I was totally wrong about what a clone is. Thanks for the correction. What I was thinking of was more in the nature of a copy of a clone.
 
Status
Not open for further replies.
Top