<p>This is an interesting question from a blockchain perspective. Will the transaction block data ever outstrip the ability to store it ?  Or at least put it beyond all but the largest corporation's budget? It seems like storage capacities are still growing at a very fast pace, so I don't think this is an immediate problem.</p>

<p>But from a device standpoint, there are many schemes to create meta-volumes to the which physical devices may be added without affecting the ongoing operation of the system. <a href="https://www.digitalocean.com/community/tutorials/an-introduction-to-lvm-concepts-terminology-and-operations" rel="nofollow noreferrer">Linux's Logical Volume Manager</a> (LVM) is just one of these. </p>

<p>There are also any number of disk-array schemes and commercial network attached storage (NAS) units. The <a href="https://en.wikipedia.org/wiki/Drobo" rel="nofollow noreferrer">Drobo</a> name is just one that comes to mind.</p>

<p>To specifically answer your question: if the external 1TB storage unit you are using is approaching its capacity, it would be time to upgrade. Acquire a larger unit, or move to a different system (perhaps one with the ability to add hardware storage on-the-fly, such as server able to operate an array of multiple storage units.)  </p>

<p>Briefly stop your coinservers, attach the new, larger storage, copy the original blockchain data to the new storage unit, reconfigure the coinserver to operate from the new unit, and voilà.
You would add a line similar to this in your ~/.bitcoin/bitcoin.conf file:</p>

<pre><code>datadir=/new_array/bitcoin-data
</code></pre>

<p>Multiple disks can be <a href="https://en.wikipedia.org/wiki/Standard_RAID_levels" rel="nofollow noreferrer">arrayed in different ways</a> depending on the competing priorities of redundancy vs. data access speed. SSD's are plenty fast, and even rotational hard disks with enough cache memory are sufficiently fast. I would suggest a mirrored array (RAID-1) of rotational HD's as the best option.</p>

CC BY-SA 3.0
2017-12-13T17:13:05.693Z
2017-12-13T17:13:05.693Z
dbkeys
<p>This question is rather technical.</p>

<p>Blockchains tend to grow. Specially well-known blockchains like Bitcoin. I would like to store a certain blockchain on an external device (e.g. 1TB disk space), but some day the chain will grow enough to use all the space.</p>

<p>How do you manage this? Is there a way to partition the blockchain storage (to use many devices) or stuff like that instead of buying a larger device and moving 1TB of data there?</p>

<blockchain><block-size-increase>
Blockchain sizes, and external devices
Luis Masuelli
# Blockchain sizes, and external devices

(Asked by: username_0 on 2017-12-13)

This question is rather technical.

Blockchains tend to grow. Specially well-known blockchains like Bitcoin. I would like to store a certain blockchain on an external device (e.g. 1TB disk space), but some day the chain will grow enough to use all the space.

How do you manage this? Is there a way to partition the blockchain storage (to use many devices) or stuff like that instead of buying a larger device and moving 1TB of data there?

**Tags:** blockchain, block-size-increase


---

## 1 answers

### Answer by username_1 on 2017-12-13. Score: 3 | Accepted answer

This is an interesting question from a blockchain perspective. Will the transaction block data ever outstrip the ability to store it ? Or at least put it beyond all but the largest corporation's budget? It seems like storage capacities are still growing at a very fast pace, so I don't think this is an immediate problem.

But from a device standpoint, there are many schemes to create meta-volumes to the which physical devices may be added without affecting the ongoing operation of the system. [Linux's Logical Volume Manager](https://www.digitalocean.com/community/tutorials/an-introduction-to-lvm-concepts-terminology-and-operations) (LVM) is just one of these.

There are also any number of disk-array schemes and commercial network attached storage (NAS) units. The [Drobo](https://en.wikipedia.org/wiki/Drobo) name is just one that comes to mind.

To specifically answer your question: if the external 1TB storage unit you are using is approaching its capacity, it would be time to upgrade. Acquire a larger unit, or move to a different system (perhaps one with the ability to add hardware storage on-the-fly, such as server able to operate an array of multiple storage units.)

Briefly stop your coinservers, attach the new, larger storage, copy the original blockchain data to the new storage unit, reconfigure the coinserver to operate from the new unit, and voilà.
You would add a line similar to this in your ~/.bitcoin/bitcoin.conf file:

```
datadir=/new_array/bitcoin-data

```

Multiple disks can be [arrayed in different ways](https://en.wikipedia.org/wiki/Standard_RAID_levels) depending on the competing priorities of redundancy vs. data access speed. SSD's are plenty fast, and even rotational hard disks with enough cache memory are sufficiently fast. I would suggest a mirrored array (RAID-1) of rotational HD's as the best option.


---

