Author

Topic: Moving blockchain to another drive on ubuntu (Read 644 times)

newbie
Activity: 6
Merit: 0
March 10, 2016, 11:52:28 AM
#4
this flag will work?. that´s great!. Thanks for your help!.
hero member
Activity: 840
Merit: 1000
OR, you can create a new partition on your SSD, format it, move all your data in ~/.bitcoin to the new partition, mount the partition to ~/.bitcoin (make sure to edit your fstab).

This will probably be easyer.
legendary
Activity: 1512
Merit: 1012
bitcoind -daemon -datadir=/path/to/mystoragedrive/.bitcoin

The solution you seek is in your post already... Just move the data to the drive you want and specify it's path with the datadir command.
newbie
Activity: 6
Merit: 0
Hello, would like to move my 53GB folder ./bitcoin, of course to another drive because I m running out of space on my SSD. I tried, but I cannot do it:


first I go to my home directory by typing cd /home

then I try to create a symbolic link

sudo ln -s /path/to/mystoragedrive/.bitcoin .bitcoin

it returns me back to the "$" line with no errors so I suppose the command runs fine but...

well I start again the dowloading of the blockchain with

bitcoind -daemon

but the blocks download to my SSD drive. So nothing has changed after running this.

Should I erase or change the name of my ./bitcoin folder of the SSD?, right now I got this 53GB folder ( ./bitcoin ) both in my storage drive and my SSD.

or maybe this would solve the problem:?

bitcoind -daemon -datadir=/path/to/mystoragedrive/.bitcoin

or maybe could I change something on the config files of bitcoind and/or bitcoin-qt.? I don´t wanna deal with this -datadir flag every time I start the program.

Please help, would not like to mess up anything that´s why I´m asking. Kind regards!.
Jump to: