Update - Error: database is locked

Status
Not open for further replies.

miklasz

Dabbler
Joined
Feb 24, 2016
Messages
15
Hi Guys,

been trying to find some answers and I found few but this error seems to be common for different reasons, so I post my problem maybe someone of you got this as well and know fix for it:

In short, I hit update than apply pending update and update starts -> little popup with progress bar appear and at the end (5 of 5) I have Error: database is locked at the top and than it disappears.

i have this code and screenshot in attachment

Code:
{"error": true, "events": [], "message": "Error: database is locked"}


my FreeNas build: FreeNAS-9.10-STABLE-201604181743 (74ef270)

when i look in logs i have this:

Code:
May 23 03:37:04 freenas updated.py: [freenasOS.Installer:308] Sub procss exited with status 0x100
May 23 03:46:13 freenas alert.py: [system.alert:246] Alert module '<freenasUI.system.alert.VolumeStatusAlert object at 0x80c490350>' failed: database is locked

May 23 04:09:49 freenas updated.py: [freenasOS.Update:1160] Cannot destroy boot-environment selected for next reboot (9.10-STABLE-201605021851)
May 23 04:09:49 freenas updated.py: [freenasOS.Update:1169] Unable to mount boot-environment 9.10-STABLE-201605021851


apart from that everything seems to be working fine

this is very new build of freenas so I dont belive its hardware issue

maybe one of you know how to fix it


some other info

Code:
[root@freenas] ~# camcontrol devlist
<ST2000DM001-9YN164 CC4B>          at scbus0 target 0 lun 0 (ada0,pass0)
<WDC WD20EZRX-00DC0B0 80.00A80>    at scbus1 target 0 lun 0 (ada1,pass1)
<ST2000DM001-1CH164 CC27>          at scbus2 target 0 lun 0 (ada2,pass2)
<WDC WD20EFRX-68EUZN0 82.00A82>    at scbus3 target 0 lun 0 (ada3,pass3)
<Marvell Console 1.01>             at scbus9 target 0 lun 0 (pass4)
<KINGSTON SV300S37A120G 521ABBF0>  at scbus15 target 0 lun 0 (ada4,pass5)
<hp v265b 1638>                    at scbus17 target 0 lun 0 (da0,pass6)


Code:
[root@freenas] ~# zpool list -v
NAME                                     SIZE  ALLOC   FREE  EXPANDSZ   FRAG    CAP  DEDUP  HEALTH  ALTROOT
BARTRON                                 7.25T  2.87T  4.38T         -    19%    39%  1.00x  ONLINE  /mnt
  raidz2                                7.25T  2.87T  4.38T         -    19%    39%
    gptid/d5f67bf6-f237-11e5-b7bb-000743070b3c      -      -      -         -      -      -
    gptid/d6cd2012-f237-11e5-b7bb-000743070b3c      -      -      -         -      -      -
    gptid/d7a661a5-f237-11e5-b7bb-000743070b3c      -      -      -         -      -      -
    gptid/d8fd2673-f237-11e5-b7bb-000743070b3c      -      -      -         -      -      -
cache                                       -      -      -         -      -      -
  ada4p1                                 112G   799M   111G         -     0%     0%
freenas-boot                            14.9G  1.23G  13.6G         -      -     8%  1.00x  ONLINE  -
  da0p2                                 14.9G  1.23G  13.6G         -      -     8%



when I do verify Install, It goes 100% with no error - "All files verified successfully!"


many thanks

Bartosz
 

Attachments

  • freenas_bug.png
    freenas_bug.png
    117.6 KB · Views: 237
Last edited:
Status
Not open for further replies.
Top