Bitcoin Forum
May 11, 2024, 06:17:50 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin core - 350GB now is 35GB ?  (Read 142 times)
lndlnd (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
January 22, 2021, 10:01:25 PM
 #1

I moved to the new version - Moved over all 350GB and started up 0.21.0  .  Great....   
After a while I checked the size and its now just the newer blocks and 35GB -   Size is nice but if I move it again to another PC will have have to download all the 350 Again.  ?   What setting should I use to start again with the 350 and not get it chopped ?    Thanks
1715408270
Hero Member
*
Offline Offline

Posts: 1715408270

View Profile Personal Message (Offline)

Ignore
1715408270
Reply with quote  #2

1715408270
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6635


Just writing some code


View Profile WWW
January 22, 2021, 10:10:03 PM
 #2

In recent releases, Bitcoin Core will automatically enable pruning the first time you start the GUI and it detects that there is not a lot of disk space. When you go through the first start wizard, be sure to pay attention to all of the checkboxes and uncheck the any that enable pruning. This setting is (unfortunately) stored separately from the datadir so when you copy datadirs to another machine, it is lost. If you create a bitcoin.conf file and add the line prune=0, this should forcibly disable pruning always so this doesn't happen. In that case, that setting will carry over as it is set in the bitcoin.conf file.

lndlnd (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
January 22, 2021, 11:02:33 PM
 #3

Thanks so to fix this for myself . I should again copy all the data over.   Then edit the bitcoin.conf file first . Make sure prune=0 first.  Then start again and download the last two days transactions.
How can we highlight this to other guys upgrading?

In recent releases, Bitcoin Core will automatically enable pruning the first time you start the GUI and it detects that there is not a lot of disk space. When you go through the first start wizard, be sure to pay attention to all of the checkboxes and uncheck the any that enable pruning. This setting is (unfortunately) stored separately from the datadir so when you copy datadirs to another machine, it is lost. If you create a bitcoin.conf file and add the line prune=0, this should forcibly disable pruning always so this doesn't happen. In that case, that setting will carry over as it is set in the bitcoin.conf file.
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
January 23, 2021, 02:08:12 AM
Last edit: November 15, 2023, 12:18:43 AM by HCP
 #4

It's not really an issue if you're simply updating the application itself without moving the blocks, migrating to a new PC and/or you still have a decent amount of storage space available.

I just did this just now (upgraded to 0.21.0) and had no issues with it whatsoever... it didn't "auto prune" my blocks or change any of the settings.

I have noticed however, that if I run the -choosedatadir option and set it to use the current location of my bitcoin datadir, because the current diskspace free is less than the current blockchain size (ie. 350+gigs), it auto-enables the pruning option:


Even though it doesn't need to actually download anything, because the blocks are already there... Tongue

So, I assume for anyone that copies the datadir first and then runs Bitcoin Core... it will do the same thing, unless there is >350gigs free space etc.


If I untick pruning, it then "warns" about the disk free space in red:


█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!