Bitcoin Forum
May 25, 2024, 05:09:08 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Running pieces of blockchain in different hard drives  (Read 782 times)
thejaytiesto (OP)
Legendary
*
Offline Offline

Activity: 1358
Merit: 1014


View Profile
November 03, 2016, 01:27:31 PM
Merited by ABCbits (2)
 #1

I was reading another thread and I saw a good idea mentioned: running blockchain in different parts in different hard drives.

For example, you have a 200 GB drive that you don't use much, and you say "ok, I want to use this drive for the blockchain".

Now let's say X years from now, the blockchain is bigger than 200 GB, now that hard drive would be useless for this task, so you would need to delete all the files and use it for regular storage.

But what if we could use the 200GB of blockchain files on that hard disk, and keep downloading on a new hard drive? So even older hard drives will still be useful to run nodes.

I hope this makes sense.
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3402
Merit: 6653


Just writing some code


View Profile WWW
November 03, 2016, 01:33:45 PM
 #2

As of now, no, you cannot split up the blockchain like that.

You could in theory use hard drive striping to make them act as the same drive. Or you can just copy the entire datadir to the new drive so you don't have to redownload the whole thing. Copying it will certainly be faster than a full download.

amaclin
Legendary
*
Offline Offline

Activity: 1260
Merit: 1019


View Profile
November 03, 2016, 02:59:13 PM
 #3

As of now, no, you cannot split up the blockchain like that.
Isn't there a technology based in operation system which allows to "mount" a directory with files or create symlinks?
(I am not interested in it, just asking)
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3402
Merit: 6653


Just writing some code


View Profile WWW
November 03, 2016, 03:09:44 PM
 #4

As of now, no, you cannot split up the blockchain like that.
Isn't there a technology based in operation system which allows to "mount" a directory with files or create symlinks?
(I am not interested in it, just asking)
Yes, but I see no way that would not work for blockchain data to have some on one drive and some on another.

amaclin
Legendary
*
Offline Offline

Activity: 1260
Merit: 1019


View Profile
November 03, 2016, 03:15:21 PM
 #5

Yes, but I see no way that would not work for blockchain data to have some on one drive and some on another.
old blk-files are immutable and [theoretically] can be hold even on R/O drives.
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3402
Merit: 6653


Just writing some code


View Profile WWW
November 03, 2016, 03:50:26 PM
 #6

Yes, but I see no way that would not work for blockchain data to have some on one drive and some on another.
old blk-files are immutable and [theoretically] can be hold even on R/O drives.
But they are dynamically generated so you need something else to continuously symlink the files.

TransaDox
Full Member
***
Offline Offline

Activity: 219
Merit: 102


View Profile
November 03, 2016, 04:24:08 PM
Merited by ABCbits (1)
 #7

It is possible to set up "spanned" volumes which would probably do something similar to what you are trying to achieve.

It would just look like a single partition to the OS (and therefore the software) and one can span up to 32 disks.
AtheistAKASaneBrain
Hero Member
*****
Offline Offline

Activity: 770
Merit: 509


View Profile
November 03, 2016, 07:55:35 PM
 #8

Cool idea, could put my old hd's to use indeed.. i've got a couple 100 gb seagates, would use them to store the blockchain if I could, and leave my OS hard disk with more free space.
calkob
Hero Member
*****
Offline Offline

Activity: 1092
Merit: 520


View Profile
November 03, 2016, 08:35:29 PM
 #9

i had actually been thinking about this problem myself, i currently have a TB of free space so i would say i prob have a few more years before i have to think about it, but yeah it would be great if you could do that.
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!