Bitcoin Forum
June 21, 2024, 12:22:02 PM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Old blk0001.dat, 2, 3 left over from v0.7.?  (Read 3574 times)
brubits (OP)
Newbie
*
Offline Offline

Activity: 31
Merit: 0



View Profile
May 01, 2013, 01:43:30 PM
 #1

In the data path, I have files blk0001.dat 2 & 3 and blkindex.dat
all with date/time stamps of before I upgraded to v0.8.1
and it's data looks like it's all in a sub folder \blocks\  all have date/times of after I upgraded.

They're taking up 6gb of HD space, so if they're not needed for v0.8, it shouldn't matter if they're deleted?
deepceleron
Legendary
*
Offline Offline

Activity: 1512
Merit: 1032



View Profile WWW
May 01, 2013, 02:02:53 PM
 #2

You can remove blk0001.dat, blk0002.dat, blk0003.dat and blkindex.dat from the root data directory after a reindex is complete and you are caught up with the blockchain (and you don't plan on going back to an older version). Only blkindex should actually be using disk space, as the old BLK000x data are moved upon upgrade, and the blk000x.dat files you see there are hardlinks (shortcuts) on any filesystem that supports hardlinking.
The new database for v0.8.0+ is stored in two subdirectories, "blocks" (block data, with block id database in "blocks/index"), and "chainstate" (unspent output database). Do not mess with files in these subdirectories.
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!