Bitcoin Forum
May 10, 2024, 11:00:16 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Old blk0001.dat, 2, 3 left over from v0.7.?  (Read 3572 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?
1715382016
Hero Member
*
Offline Offline

Posts: 1715382016

View Profile Personal Message (Offline)

Ignore
1715382016
Reply with quote  #2

1715382016
Report to moderator
1715382016
Hero Member
*
Offline Offline

Posts: 1715382016

View Profile Personal Message (Offline)

Ignore
1715382016
Reply with quote  #2

1715382016
Report to moderator
1715382016
Hero Member
*
Offline Offline

Posts: 1715382016

View Profile Personal Message (Offline)

Ignore
1715382016
Reply with quote  #2

1715382016
Report to moderator
The forum strives to allow free discussion of any ideas. All policies are built around this principle. This doesn't mean you can post garbage, though: posts should actually contain ideas, and these ideas should be argued reasonably.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715382016
Hero Member
*
Offline Offline

Posts: 1715382016

View Profile Personal Message (Offline)

Ignore
1715382016
Reply with quote  #2

1715382016
Report to moderator
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!