SOLVED Database is locked

Joined
Apr 15, 2019
Messages
5
Hello,

I have a problem with my storage server, that is using an old freenas version (FreeNAS-9.3-CURRENT-201503160630).
About a month ago I was forced to disable periodic snapshot tasks because of very low disk space.
Now that I have deleted useless data, I tried to (re)enable snapshots. But I cannot enable, delete or create a new task, because of an error "Database is locked".

This storage server is the main for an ESXi with a lot of VM. I cannot restart it without a production stop.
The next update window should be for this summer. Meanwhile I must enable these snapshots.

Is there a solution to unlock the database, maybe restart a service without production stop?

Thanks a lot for your help :)
 
D

dlavigne

Guest
That error typically indicates that the boot device is failing. Does a freshi nstall of the same version to a new boot device resolve the error?
 
D

dlavigne

Guest
Smart tests typically aren't run on the boot device (so no warning).

The same version running on another system won't help you if the boot device is failing :smile:
 
Joined
Apr 15, 2019
Messages
5
Do you know where I can get a list of FreeNas CLI commands?
I would like to update snaphshot tasks manually and run a S.M.A.R.T test on boot devices.
 
Joined
Apr 15, 2019
Messages
5
Problem solved!
To unlock the database, I had to restart web services: no production stop, no reboot :cool:

Code:
service nginx restart
service django restart
 
Top