I mounted my external disk to wrong directory (wanted it to be ~/bitcoinData) , instead ended up creating a directory on SD card ( /home/pi/bitcoinData ) and now SD card (root) is full. i cannot seem to delete SD card bitcoinData directory (permission denied). how do i fix this? and link hdd to correct directory?

  • 2
    Pass -datadir=/path/to/folder/ in the command line when starting bitcoind.
    – Ugam Kamat
    Oct 4, 2019 at 5:42
  • For a change in the directory, I agree with @UgamKamat but I think the problem not is correlated with bitcoin core but the permission user in your raspberry pi. try a command to the terminal with sudo rm -r path/bitcoin Oct 4, 2019 at 9:11
  • 1
    i have resolved this, i believe it was a user permissions issue. thanks
    – gaiameta
    Oct 6, 2019 at 0:32
  • @gaiameta if you post a well-written answer with steps to solve it could help others and earn you addition rep on this site.
    – qxotk
    Jan 21, 2021 at 16:32


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.