Author

Topic: Changed Sharing setting on Macbook, and Core 26.0 lost sync with external drive (Read 70 times)

legendary
Activity: 2394
Merit: 5531
Self-proclaimed Genius
Has changing the network setting on the mac redirected Bitcoin core to install somewhere else entirely?
Not usually the case, unless it somehow broken the path to your default data directory and bitcoin.conf file where you set the custom datadir while the GUI's setting is set to default.
In that case, it'll create a new "bitcoin" folder in the default datadir at the correct path and save the blockchain and other data there.
(the folder may be hidden)

If the custom datadir is set in the GUI's config instead (set in the Welcome Screen) and the path to "com.Bitcoin" somehow messed up by the network setting change,
In the next restart of Bitcoin Core, the Welcome screen will prompt you again to set the data directory,
if you didn't noticed and just clicked ok, it'll use the default internal drive.
legendary
Activity: 3234
Merit: 2943
Block halving is coming.
Thanks Yes have tried searching as suggested, but I don't have a Bitcoin folder in the addresses we've discussed on my internal drive...

I can see that Bitcoin Core is running and saving the data to the internal drive in the Activity Monitor.

However, I cannot find a single file.

What would be good is a way of finding out the directory Bitcoin core is linked to. Can this be done at the Terminal/Command prompt?

thanks

Ok if you can't find it you should be able to find the right directory in the information tab of Bitcoin Core so to find the information tab open Bitcoin Core and go to Window> Information.
You should be able to see datadir and Blocksdir under that it should be the data you looking for.

Here's what it looks like


Image source: https://bitcoin.stackexchange.com/questions/103295/unable-to-use-blocks-and-chainstate-from-external-drive
hero member
Activity: 714
Merit: 1298
Cashback 15%
`

Your external drive might  be unmounted somehow when you share connection via ethernet cable, thus Bitcoin Core has started IBD from scratch. Check if external hard drive is still mounted, and head Bitcoin Core for the relevant directory on this drive where it could find the   previously downloaded blk-data.
newbie
Activity: 13
Merit: 2
Thanks Yes have tried searching as suggested, but I don't have a Bitcoin folder in the addresses we've discussed on my internal drive...

I can see that Bitcoin Core is running and saving the data to the internal drive in the Activity Monitor.

However, I cannot find a single file.

What would be good is a way of finding out the directory Bitcoin core is linked to. Can this be done at the Terminal/Command prompt?

thanks
legendary
Activity: 3234
Merit: 2943
Block halving is coming.
I don't have a Macbook but let's see if I can give you some solution to your issue.


Have you tried to search the folder instead of the block data? You can use the magnifying glass on the top right corner or use "Command + F" and type "blocks" The result should show two blocks folder if you are right that Bitcoin core created a new folder to resync or redownload the whole blockchain.

If you already have downloaded blocks I suggest make or edit bitcoin.conf file and put manually the directory of your blockchain so that it won't redownload all data that you already downloaded before.

You can find the bitcoin.conf under this directory below or you can find it on the GUI by going to settings>options and then open the configuration file

Code:
$HOME/Library/Application Support/Bitcoin/bitcoin.conf

Edit it with Notepad or software on a Macbook that can edit the file and paste this config below it's just a sample but you should replace it with your Bitcoin path folder and then save it and reboot Bitcoin core.

Code:
datadir=$HOME/Library/Application\ Support/Bitcoin

If the blockchain is on a different path you can point it only the block folder use this parameter below

Code:
blocksdir=$HOME/Library/Application\ Support/Bitcoin/blocks
newbie
Activity: 13
Merit: 2
Hi All,

I'm pretty confused (although that is easy to do)

I changed my sharing settings to share the internet v ia ethernet cable to another computer, and Bitcoin Core crashed.

I restarted the computer + Bitcoin Core, and although BitcoinCore said it was 'syncing', the next day it appears to have downloaded all the data again.

However, this time it has downloaded it somewhere on my internal drive (which I have checked is now circa 700Gb more full).

The strange thing is that I cannot find where the blocks have been downloaded to. I've tried searching for the blocks themselves e.g. blk00008.dat but cannot find them. And there is nothing at ~/Library/Application Support/Bitcoin" or here "/Users/Library/Application Support/Bitcoin

I cannot find any installation of Bitcoin on my computer as I moved everything to an external hard drive.

Has changing the network setting on the mac redirected Bitcoin core to install somewhere else entirely?

Many thanks

S
Jump to: