Author

Topic: Location of bitchain under Linux? (Error: Disk space is low!) (Read 990 times)

newbie
Activity: 7
Merit: 0
Found a solution:

Start the client with paramter -datadir like:

Code:
.../bitcoin-qt -datadir=.../newdatadirection
newbie
Activity: 7
Merit: 0
http://we.lovebitco.in/bitcoin-qt/configuration-file/

A configuration file can be put in the .bitcoin folder, however that means you have the .bitcoin directory AND the other data directory where the databases are stored, which is awkward. A better option is to move the contents of this folder to another, and start with a command line option (that you can create a menu option or script to run):

bitcoin-qt -datadir /mount/mydrive/bitcoin

http://we.lovebitco.in/bitcoin-qt/command-line-options/

Well, is it possible to set a config-file only for "-datadir=(dir)"-command?

What exactly is awkward in this procedure? I just started using BTC so there is nothing that could be "destroyed".

Thank you for your help and sorry for my late reply. I needed some time to follow the links.

/edited
legendary
Activity: 1512
Merit: 1036
Now it is the question how I can relocate this hidden bitcoin-folder. The wiki mentions a "bitcoin.conf [optional]". I looked for it but there is no one. Do I have to set manually?
http://we.lovebitco.in/bitcoin-qt/configuration-file/

A configuration file can be put in the .bitcoin folder, however that means you have the .bitcoin directory AND the other data directory where the databases are stored, which is awkward. A better option is to move the contents of this folder to another, and start with a command line option (that you can create a menu option or script to run):

bitcoin-qt -datadir /mount/mydrive/bitcoin

http://we.lovebitco.in/bitcoin-qt/command-line-options/
newbie
Activity: 7
Merit: 0

FINALLY!!!

Quote
Linux

By default Bitcoin will put its data here:

~/.bitcoin/

You need to do a "ls -a" to see directories that start with a dot.

If that's not it, you can do a search like this:

find / -name wallet.dat -print 2>/dev/null

Thank you so much! Smiley

Now it is the question how I can relocate this hidden bitcoin-folder. The wiki mentions a "bitcoin.conf [optional]". I looked for it but there is no one. Do I have to set manually?
newbie
Activity: 7
Merit: 0
Hi together,

my question is related to the location of the bitchain under linux. The only useful topic I found is here but it is for windows: https://bitcointalksearch.org/topic/m.1789690

Why do I ask this?

I installed the 0.8.5beta-client on an encrypted sd-card under Debian. I read that you need at least 9GB for the blockchain so I decided to use an external "drive" because the internal drive of my Netbook is quite small.

Well, everything works fine and the QT-client synchronized from around 250 weeks to 79 weeks where he stopped with the error message: "Error: Disk space is low!"

I think Bitcoin doesn't save the bitchain in same directory as the client, isn't it? At least under Windows it is stored under "user data". I think under Linux it is the same because my SD-card with the client still has the same free space, nothing changed. At the moment I have 12GB free space on the card.

So my question: Does anybody know where BTC saves the chain and how I can relocate it?

Thank you in advance!
sj7
Jump to: