ZFS replication. Cannot delete: This is in use by the iscsi target, please remove it there first.

Status
Not open for further replies.

Noctris

Contributor
Joined
Jul 3, 2013
Messages
163
Hi Guys,

I was reorganizing datasets and my backup with the coming of an extra freenas.

Situation: server A had 3 pools of which one is a stripe with an esx datastore on it ( non important data but needs to be fast) which i snapshot and replicate to a raid-Z3 pool (tank) hourly.

currenty, snapshots of zFastLane/striped-datastore are replicated to tank/backup/[DATASET-NAME-I-SNAPSHOT]

I want to change this to tank/backup/[HOSTNAME]/[DATASET-NAME-I-SNAPSHOT]

So i changed the replication, made sure it worked ( data was replicated ok) and then tryed to delete the original destination which i no longer needed.

When i try to do this, i get the error that this is in use by the iscsi target. Which it isn't since the iscsi-target is directed at the original zvol "zFastlane/striped-datastore"

So this is rather odd, and more anoyingly, i can't delete about 2TB of obsolete data :s

Hardware in tag, FreeNAS-9.10.1-U4
 

Noctris

Contributor
Joined
Jul 3, 2013
Messages
163
Update: i'm an idiot, please ignore ;-)
 
Status
Not open for further replies.
Top