SOLVED 'Held by replication system' and dataset is busy

Status
Not open for further replies.
Joined
Jun 20, 2015
Messages
4
Hi
After several hours of researching I decided to ask on forum.


zfs destroy -rv RAID10@auto-20150930.1700-2w
dataset is busy

! this is oldest file, any other files including latest says dataset is busy

Gui is saying 'Held by replication system'

! there is no replication configuration

From other research
From man of section 2 intro page the errors are listed. Number 16 looks to be an EBUSY.
EBUSY Device busy

An attempt was made to mount a device that was already mounted or an attempt was made to unmount a device on which there is an active file (open file, current directory, mounted-on file, active text segment). It will also occur if an attempt is made to enable accounting when it is already enabled. The device or resource is currently unavailable. EBUSY is also used by mutexes, semaphores, condition variables, and r/w locks, to indicate that a lock is held, and by the processor control function P_ONLINE.

What should I do next?

I have available storage but cannot put any files, stating out of space. I have 486 files X 389MB of snapshots

8 GB memory
FreeNAS-9.2.1.7-RELEASE-x64
4 x 2 GB hard drive

Thank you
Dubravko
 
Joined
Jun 20, 2015
Messages
4
Hi
Solved
In my case upgrade to FreeNAS-9.3-STABLE-201602031011 solved the problem. During first reboot after uploading firmware system automatically cleaned all snapshots.
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
I think the reboot is what solved your problem.
 
Status
Not open for further replies.
Top