Title: Location of bitchain under Linux? (Error: Disk space is low!) Post by: saljut7 on November 24, 2013, 09:46:24 PM 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://bitcointalk.org/index.php?topic=171991.msg1789690#msg1789690 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 Title: Re: Location of bitchain under Linux? (Error: Disk space is low!) Post by: deepceleron on November 25, 2013, 12:06:20 AM https://en.bitcoin.it/wiki/Data_directory
Title: Re: Location of bitchain under Linux? (Error: Disk space is low!) Post by: saljut7 on November 25, 2013, 02:37:10 PM https://en.bitcoin.it/wiki/Data_directory 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! :) 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? Title: Re: Location of bitchain under Linux? (Error: Disk space is low!) Post by: deepceleron on November 25, 2013, 08:04:12 PM 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/ Title: Re: Location of bitchain under Linux? (Error: Disk space is low!) Post by: saljut7 on December 05, 2013, 12:06:43 AM 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 Title: Re: Location of bitchain under Linux? (Error: Disk space is low!) Post by: saljut7 on January 10, 2014, 04:46:54 PM Found a solution:
Start the client with paramter -datadir like: Code: .../bitcoin-qt -datadir=.../newdatadirection |