Title: Full node on a raspberry pi with blockchain data on a samba share Post by: thorjag on October 16, 2014, 08:17:48 PM I am trying to get a full node running on a raspberry pi. However, because of the storage requirements I dont want to save the blockchain locally, which means I mounted a remote share which included the blockchain data files. When starting bitcoind I get the following error message:
Code: : More verbose from the log file: Code: 2014-10-16 19:52:36 Bitcoin version v0.9.3.0-g40d2041-beta (Mon, 22 Sep 2014 16:42:15 +0200) When running bitcoind with a local datadir it runs as normal with no error message. Someone who might know what the issue might be? I am running a slim archlinux install and mounted the remote share with: Code: mount.cifs //<ip-address>/bitcoin /home/bitcoin/.bitcoin -o username=<username>,uid=bitcoin Title: Re: Full node on a raspberry pi with blockchain data on a samba share Post by: Newar on October 17, 2014, 12:49:55 AM Where do you specify the data directory?
Title: Re: Full node on a raspberry pi with blockchain data on a samba share Post by: thorjag on October 17, 2014, 07:32:37 AM I dont specify a datadir. I start bitcoind with the user bitcoin so the datadir is /home/bitcoin/.bitcoin, which is where I mount the share.
Title: Re: Full node on a raspberry pi with blockchain data on a samba share Post by: spin on October 17, 2014, 02:04:19 PM Permissions? Does the user running bitcoind have write permissions on the samba share?
Perhaps you can use a symlink rather than mounting it directly in that folder? Might help? Try with an alternative mountpoint and using a datadir argument? Title: Re: Full node on a raspberry pi with blockchain data on a samba share Post by: shorena on October 17, 2014, 09:27:25 PM -snip- Perhaps you can use a symlink rather than mounting it directly in that folder? I would try this next as well. I have no idea what happens if you mount into an existing directory. Maybe there are files missing because the client was started once without the mount point or files that should be there but are not on the samba share. Title: Re: Full node on a raspberry pi with blockchain data on a samba share Post by: Dabs on October 17, 2014, 11:07:46 PM Maybe you should try specifying a datadir too. In addition to the symlink, which should already be mounted before you start bitcoind. You might as well grab the blockchain data from one of your other nodes first.
Title: Re: Full node on a raspberry pi with blockchain data on a samba share Post by: Remember remember the 5th of November on October 18, 2014, 12:54:19 AM If you want to reduce the memory consumption of bitcoind(as the Raspberry pi has very little RAM), look at the post in this thread https://bitcointalk.org/index.php?topic=765934
Worked really well for me, Bitcoind even went under 200mb at times. Title: Re: Full node on a raspberry pi with blockchain data on a samba share Post by: thorjag on October 18, 2014, 06:22:06 PM Thanks for the help.
There is nothing wrong with the permissions. I am able to read/write from/to the share without issues. I tried symlinking, as you suggested, but with the same results... Will definately check out the memory optimizations once I get up and running. Thanks for the tip. Title: Re: Full node on a raspberry pi with blockchain data on a samba share Post by: doof on October 27, 2014, 05:07:33 AM If you want to reduce the memory consumption of bitcoind(as the Raspberry pi has very little RAM), look at the post in this thread https://bitcointalk.org/index.php?topic=765934 Worked really well for me, Bitcoind even went under 200mb at times. Likewise. |