Jump to content

Can I run hobonickelsd and specify a different location for data?

Started By Snowbear , Oct 21 2015 08:40 AM
daemon

  • Please log in to reply
4 replies to this topic

#1

Snowbear
  • Snowbear
  • Member
  • MEMBER
  • PipPip
  • 32 posts
  • 5 topics
    • Time Online: 17h 52m 25s
  • Country:United States
  • Twitter: @woods_nh

I'm running the HBN daemon in unix. I'd like to keep all or part of .HoboNickels data folder on a separate drive.  I tried using the command line option, -datadir=hdd/.HoboNickels but the daemon apparently still looks for data in the default location. How might I keep the large data files on a different drive?


  • 0

Cryptocointalk.com doesn't endorse any ads. Warning: ads my be illegal or untrustworthy in your jurisdiction. Advertising Here.

#2

Snowbear
  • Snowbear
  • Member
  • MEMBER
  • PipPip
  • 32 posts
  • 5 topics
    • Time Online: 17h 52m 25s
  • Country:United States
  • Twitter: @woods_nh

Hi, I  just figured it out.  In case someone else wants to do this, create a folder called .HoboNickels in your home directory.  Copy HoboNickels.conf into it. Nothing else.

 

Start the daemon like this:

  hobonickelsd -datadir=<path to your data folder>

 

fyi I'm running the wallet  on a Radxa  Rock Pro sbc under Debian. Although its new, i am quite pleased with the board and its capabilites so far. it has 2gb of ram and 8gb of flash on which resides the wallet and OS. The large blockchain data files live on a separate usb hard drive that was easy to implement on the Rock. There is a huge performance increase over my little Raspberry pi which started out fine, but ground to a halt under HBN's demands for resources after a couple months. 


Edited by Snowbear, 21 October 2015 - 10:44 AM.

  • 0

#3

HCLivess
  • HCLivess
  • Full Member
  • MEMBER
  • PipPip
  • 126 posts
  • 23 topics
    • Time Online: 2d 2h 21m 45s

Hi, you can also specify the the data dir in the conf file so you don't have to add the command every time you start the daemon :)


  • 0

#4

Snowbear
  • Snowbear
  • Member
  • MEMBER
  • PipPip
  • 32 posts
  • 5 topics
    • Time Online: 17h 52m 25s
  • Country:United States
  • Twitter: @woods_nh

hi, good idea. thanks. :)


  • 0

#5

Tranz
  • Tranz
  • Hobonickels Developer
  • CODING DEVELOPER
  • PipPipPipPip
  • 872 posts
  • 34 topics
    • Time Online: 24d 3h 50m 45s

Ya the pi just doesn't have the resources to run HBN anymore.  I am hoping to get more time this winter, hopefully there is a way to help lower the memory usage of the daemon.


  • 0





Also tagged with one or more of these keywords: daemon

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users