Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: Trongersoll on April 20, 2013, 05:52:14 PM



Title: .bitcoin folder on linux
Post by: Trongersoll on April 20, 2013, 05:52:14 PM
I'm  running out of space before bitcoin-qt can complete syncing. I'm running Ubuntu on an 8gig USB stick dedicated to be a wallet. doing a "df" command i see that over 6 gig has been allocated to /cdrom and is unused. I'm running the wallet in a sub folder of my home folder. the .bitcoin folder is showing up in my home folder.

My question is, is the location of the .bitcom folder hardcoded in the app. or is there some way to move it to where there is more space available. Or is there a way in ubuntu to move space between file systems?


Title: Re: .bitcoin folder on linux
Post by: dserrano5 on April 20, 2013, 06:43:04 PM
I'm  running out of space before bitcoin-qt can complete syncing. I'm running Ubuntu on an 8gig USB stick dedicated to be a wallet. doing a "df" command i see that over 6 gig has been allocated to /cdrom and is unused. I'm running the wallet in a sub folder of my home folder. the .bitcoin folder is showing up in my home folder.

My question is, is the location of the .bitcom folder hardcoded in the app. or is there some way to move it to where there is more space available. Or is there a way in ubuntu to move space between file systems?

Move the directory to a filesystem with enough space, then use the -datadir parameter to bitcoin.


Title: Re: .bitcoin folder on linux
Post by: thomasb on April 22, 2013, 05:26:35 PM
Stop bitcoin-qt
mv .bitcoin /somewhere/with-more-space
ln -s /somewhere/with-more-space/.bitcoin

This moves both the wallet and the blockchain info.