Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: glasswool on December 30, 2016, 04:59:11 AM



Title: Sharing datadir between nodes on LAN
Post by: glasswool on December 30, 2016, 04:59:11 AM
My my Bitcoin-qt datadir is on an ubuntu headless machine, and i have started and synced the blockchain from different machines (including windows) on the LAN pointing to this datadir, but never concurrently. Can another instance of bitcoin-qt be started on another computer simultaneously using the same datadir? Will any corruption take place?
Thanks in advance


Title: Re: Sharing datadir between nodes on LAN
Post by: achow101 on December 30, 2016, 05:22:57 AM
My my Bitcoin-qt datadir is on an ubuntu headless machine, and i have started and synced the blockchain from different machines (including windows) on the LAN pointing to this datadir, but never concurrently. Can another instance of bitcoin-qt be started on another computer simultaneously using the same datadir? Will any corruption take place?
Thanks in advance
No, you cannot share the datadir with multiple instances of Bitcoin Core. It will not allow you as the first instance will put a lock (lock file indicating usage) onto the datadir.