Bitcoin Forum
May 03, 2024, 10:04:19 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: bitcoin data directory on Synology smb share  (Read 72 times)
UweS (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 1


View Profile
October 10, 2023, 03:04:01 PM
Last edit: October 10, 2023, 04:06:19 PM by UweS
Merited by ABCbits (1)
 #1

Bitcoin mac version : v25.0.0  
mac os version :  14.0 (23A344)

I tried to set the data directory on a Synology DSM running Version 7.2 on Synology.

on a fresh directory bitcoin program creates the the blocks dir, the settings.json file and the .lock file on the share. It than stops with the following error message:
Cannot obtain a lock on data directory /Volumes/btc. Bitcoin Core is probably already running.

no additional bitcoin process is running on mac. I tried all possible smb protocol versions on the Synology, no success. all access rights are checked. the user has all rights to write, read and all administration rights.

any suggestions ?

one additional info:
Instead of the mac version I tried the windows version with W11 in a VM on macOS and the same share on the Synology. It works with no errors till now !!

1714773859
Hero Member
*
Offline Offline

Posts: 1714773859

View Profile Personal Message (Offline)

Ignore
1714773859
Reply with quote  #2

1714773859
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714773859
Hero Member
*
Offline Offline

Posts: 1714773859

View Profile Personal Message (Offline)

Ignore
1714773859
Reply with quote  #2

1714773859
Report to moderator
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6578


Just writing some code


View Profile WWW
October 10, 2023, 10:39:08 PM
Merited by LoyceV (4), ABCbits (2)
 #2

It's generally inadvisable to use a network share for your Bitcoin Core data directory. Bitcoin Core does a lot of disk I/O and it depends on files existing on disk where it expects them to be and at all times. Since networks are not always reliable, any hitch in the network can cause Bitcoin Core to crash unexpectedly and possibly corrupt the data in its data directory. You just shouldn't try doing that.

UweS (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 1


View Profile
October 12, 2023, 11:47:12 AM
 #3

@achow11:
Thanks for your advise.
 I hoped I could use my diskarray and their automatic backup functions to secure the data instead of separate discs.  Sad

regards
uwe
NotATether
Legendary
*
Offline Offline

Activity: 1596
Merit: 6727


bitcoincleanup.com / bitmixlist.org


View Profile WWW
October 12, 2023, 12:35:10 PM
 #4

Also, SMB connections tend to close unexpectedly. And I have tried to get samba shares to automount during boot but it was only after I mounted the shares manually that I was able to access the files inside. Of course, part of it might have been because of my use of Kerberos (because it is, you know, a network share), but even if that concern is excluded, SMB read and write speeds are horribly slow, much slower than HDD drives.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!