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
/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