Does 0.8 take up the same amount of disk space as earlier versions?
If no, do I need to manually delete old blockchain files to regain the space?
Note to windows users:Don't panic... Disk usage might look strange during the upgrade from 0.7.2 to 0.8...
There is a "reindexing" step which does interesting and unspecific technical things (hardlinks and other ... things) to convert to the new blockchain DB format...
[16:55:30] TD: thanks... do you mind if I share this on bitcointalk? (quotes in this pastebin) since you helped determine what was going on? --> ((...snip...))
[16:55:39] go ahead
(freenode / #bitcoin-dev timestamps are Local NY time, Tuesday February 19, 2013) [16:28:15] kuzetsa: can you do a du -h in your .bitcoin directory? where is the disk space being used? [16:28:35] TD: no, I can't (this is on a windows 7 x64 node) [16:28:44] ok [16:28:49] actually... I can [16:29:02] 1 sec, firing up msys-mingw (forgot I installed it the other day)
Sarah White@sghjkyh-PC /c/Users/Sarah White/AppData/Roaming/Bitcoin $ cmd /c "dir /s"
((...snip...)) 13 File(s) 7,643,945,949 bytes
Directory of c:\Users\Sarah White\AppData\Roaming\Bitcoin\blocks
((...snip...)) 6 File(s) 6,411,683,013 bytes
Directory of c:\Users\Sarah White\AppData\Roaming\Bitcoin\blocks\index
((...snip...)) 22 File(s) 31,675,198 bytes
Directory of c:\Users\Sarah White\AppData\Roaming\Bitcoin\chainstate
((...snip...)) 77 File(s) 212,170,807 bytes
Directory of c:\Users\Sarah White\AppData\Roaming\Bitcoin\database
((...snip...)) 1 File(s) 10,485,760 bytes
Total Files Listed: 119 File(s) 14,309,960,727 bytes 14 Dir(s) 131,977,035,776 bytes free
Sarah White@sghjkyh-PC /c/Users/Sarah White/AppData/Roaming/Bitcoin $ du -h 31M ./blocks/index 632M ./blocks 203M ./chainstate 11M ./database 8.0G .
[16:41:13] I find it awfully strange that du -h reports a different size for the "blocks" subfolder than dir/s does [16:41:36] TD: you didn't comment on that [16:41:56] my ~/.bitcoind is about 6.4 GiB if that helps [16:41:57] it's doing something funny with hard-linking [16:42:18] TD: oh [16:42:39] your actual disk usage may be lower than it appears [16:42:46] | i'm not sure how hard-linked files are reported on windows [16:42:55] by default, they're not
--- confirmed, using an administrative cmd prompt ---
C:\Users\Sarah White\AppData\Roaming\Bitcoin>for %i in (*.dat) do fsutil hardlink list %i
C:\Users\Sarah White\AppData\Roaming\Bitcoin>fsutil hardlink list blk0001.dat \Users\Sarah White\AppData\Roaming\Bitcoin\blk0001.dat \Users\Sarah White\AppData\Roaming\Bitcoin\blocks\blk00000.dat
C:\Users\Sarah White\AppData\Roaming\Bitcoin>fsutil hardlink list blk0002.dat \Users\Sarah White\AppData\Roaming\Bitcoin\blk0002.dat \Users\Sarah White\AppData\Roaming\Bitcoin\blocks\blk00001.dat
C:\Users\Sarah White\AppData\Roaming\Bitcoin>fsutil hardlink list blk0003.dat \Users\Sarah White\AppData\Roaming\Bitcoin\blk0003.dat \Users\Sarah White\AppData\Roaming\Bitcoin\blocks\blk00002.dat
hero member
Activity: 576
Merit: 500
Amazing! This loads WAY faster! Took 50 minutes for me compared to the ~8 hours (or whatever it was) it used to take! 8 cores, chugging along getting them blocks Thanks devs!
legendary
Activity: 2184
Merit: 1056
Affordable Physical Bitcoins - Denarium.com
Has something changed from RC1?
legendary
Activity: 924
Merit: 1004
Firstbits: 1pirata
Excellent!
A major thank you to all the devs for your continued hard work.
+1 awesome work people
sr. member
Activity: 462
Merit: 250
Ubuntu/Pinguy 12.04 Replaced the bitcoind/bitcoin-qt with the updated version, launched QT and received an error regarding the database. Sorry, I should have captured the text from the error.. It instructed me to backup the ./bitcoin directory, delete everything except for wallet.dat and run again. I did this, and am now downloading the entire block chain again? On the plus side, it does appear to be processing it much faster then the last time I had to do a full refresh. Here is what was stored in debug.log if it's of any use. Not sure if this is a bug or if I did something wrong here. Bitcoin version v0.8.0-beta (2013-02-18 18:38:34 -0500) Using OpenSSL version OpenSSL 0.9.8k 25 Mar 2009 Startup time: 2013-02-19 20:00:08 Default data directory /home/jay/.bitcoin Used data directory /home/jay/.bitcoin Using 4 threads for script verification init message: Verifying wallet integrity... dbenv.open LogDir=/home/jay/.bitcoin/database ErrorFile=/home/jay/.bitcoin/db.l$ ERROR: CDB() : error DB_RUNRECOVERY: Fatal error, run database recovery (-30974$
Edit to add db.log Unacceptable log file /home/jay/.bitcoin/database/log.0000014314: unsupported l$ Invalid log file: log.0000014314: Invalid argument PANIC: Invalid argument process-private: unable to find environment
legendary
Activity: 1148
Merit: 1008
If you want to walk on water, get out of the boat
hero member
Activity: 490
Merit: 500
Thanks to all involved bitcoin devs on this release!
you guys are my code heroes.
sr. member
Activity: 293
Merit: 250
Have you considered other NoSQL databases (MongoDB, Redis,...)?
These are full featured databases that require a daemon running in the background. All you need is an embedded KV store.
legendary
Activity: 1358
Merit: 1003
Ron Gross
Kudos to Gavin & the team for releasing 0.8, an important upgrade to help the network handle the increased load. Keep up the good work!
If you want to support them, make sure to become members of the Bitcoin Foundation - your contributions go to paying Gavin's salary, and in the future might sponsor additions to the core team (all of which are currently working without pay to my knowledge).
sr. member
Activity: 409
Merit: 250
Does 0.8 take up the same amount of disk space as earlier versions?
Yes. Though you can delete blkindex.dat to free up a bit of space.
sr. member
Activity: 304
Merit: 250
Does 0.8 take up the same amount of disk space as earlier versions?
If no, do I need to manually delete old blockchain files to regain the space?
| | | | |