3
I configured a non-pruned bitcoin full node on a RaspberryPi 3 using this tutorial - http://raspnode.com/diyBitcoin.html
I am using a 1TB external HDD to store the blockchain. I synced the full blockchain on my laptop and transferred it to this external HDD.
I am able to mount this external HDD as per the instructions in the above tutorial under the folder ~/bitcoinData and have also setup the automount.
However, even when I run bitcoind using the arguments bitcoind -datadir=/home/pi/bitcoinData -daemon, it still is using the default ~/.bitcoin (on the RPi SD Card) to download the blockchain from scratch even though the full blockchain is available in the mounted drive.
I tried to mount bind the two directories in /etc/fstab/ using /home/pi/bitcoinData /home/pi/.bitcoin none bind 0 0
but still the same issue occurs. Any idea why bitcoind is not using the mounted drive to download the blockchain inspite of the argument datadir=/home/pi/bitcoinData?
The mount command is unclear, perhaps paste your fstab. Normally you mount a device (/dev/sda1) under a directory... Then: is bitcoin.conf in ~/.bitcoin? (and not in ~/bitcoinData). Did you try to give the parameter to bitcoind ("-datadir=/home/pi/bitcoinData")? – pebwindkraft – 2017-05-08T06:14:11.473