Title: Moving blockchain to another drive on ubuntu Post by: jantaro on March 09, 2016, 10:46:46 AM 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!. Title: Re: Moving blockchain to another drive on ubuntu Post by: unamis76 on March 09, 2016, 10:54:25 AM 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. Title: Re: Moving blockchain to another drive on ubuntu Post by: Shibashi Dogemoto on March 09, 2016, 10:59:52 AM 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. Title: Re: Moving blockchain to another drive on ubuntu Post by: jantaro on March 10, 2016, 04:52:28 PM this flag will work?. thatīs great!. Thanks for your help!.
|