Not building block chain on a NAS, because: cannot lock #9157

issue guenter1952 opened this issue on November 14, 2016
  1. guenter1952 commented at 4:33 PM on November 14, 2016: none

    Calling bitcoin-qt on a 64bit Win10 machine with a datadir on a NAS does not work. Not with a fully coppied block chain nor with an empty one.

    Can you reliably reproduce the issue?

    YES

    If so, please list the steps to reproduce below:

    1. My Call: "C:\Program Files\Bitcoin\bitcoin-qt.exe" -datadir=\DISKSTATION\Datengrab\Bitcoin
      ----------its is a double \ \ before DISKSTATION (github steals one ""-----

    2. The log on the NAS confirms, that it could find the NAS and its folders debug.log: 2016-11-14 16:08:54 Bitcoin version v0.13.1

    3. 2016-11-14 16:08:55 Default data directory C:\Users\Ich\AppData\Roaming\Bitcoin 2016-11-14 16:08:55 Using data directory \DISKSTATION\Datengrab\Bitcoin\

    4. 2016-11-14 16:08:55 Opening LevelDB in \DISKSTATION\Datengrab\Bitcoin\blocks\index 2016-11-14 16:08:55 IO error: C:\Program Files\Bitcoin\DISKSTATION\Datengrab\Bitcoin\blocks\index\LOCK: Could not lock file. 2016-11-14 16:08:58 init message: Lade Blockindex... 2016-11-14 16:08:58 Wiping LevelDB in \DISKSTATION\Datengrab\Bitcoin\blocks\index 2016-11-14 16:08:58 Opening LevelDB in \DISKSTATION\Datengrab\Bitcoin\blocks\index 2016-11-14 16:08:58 IO error: C:\Program Files\Bitcoin\DISKSTATION\Datengrab\Bitcoin\blocks\index\LOCK: Could not lock file.

    THAT I/O-Error-Problem is strange: The path is not correct at all: C:\Program Files\Bitcoin\DISKSTATION\Datengrab\Bitcoin\blocks\index\LOCK

    What version of bitcoin-core are you using?

    Loaded from the official distribution site: https://bitcoin.org/de/download Version is 0.13.1

    Machine specs:

    • OS:
    • CPU:
    • RAM:
    • Disk size:
    • Disk Type (HD/SDD):

    It works great with block chain on SSD (C: and on D:), problem only with Synology NAS DS213j, DSM 6.0.2-8451 Update 3

  2. jonasschnelli commented at 8:49 PM on November 14, 2016: contributor

    NAS are not supported by levelDB (most protocols like SMB and AFP do not work). It's also not recommended because of the heavy I/O happening with the UTXO set (levelDB).

  3. guenter1952 commented at 7:35 AM on November 15, 2016: none

    Ok, thanks for your fast answer.

  4. guenter1952 closed this on Nov 15, 2016

  5. laanwj commented at 9:11 AM on November 15, 2016: member

    It's also not recommended because of the heavy I/O happening with the UTXO set (levelDB).

    Indeed. What seems to work though, is to store the block chain on a NAS and the leveldb on a local, fast harddisk. But this needs some symbolic link tricks which are probably not available on windows.

    Running a pruned node is probably better option for most users with disk space issues.

  6. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-13 18:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me