1

I installed Umbrel on a Raspberry pi5 and a 1TB external drive that's slowly getting full.

  1. How do I replace the drive with a bigger one?

  2. Could I just plug an additional hard drive to the Raspberry?

1 Answer 1

0
  1. That is a good question to ask on a Raspberry Pi forum or Q&A website. For example https://raspberrypi.stackexchange.com/ - I would aim to replace the 1TB drive with a 2TB drive and copy the entire contents across. How you do this depends on how your drive is connected and how many such drives your hardware supports (different models will differ in this respect).

  2. If the new drive is big enough for all Bitcoin data: Maybe. Just reconfigure Bitcoin's data folder and copy contents across (not necessarily in that order!) If you are thinking two drives together will provide for Bitcoin's needs: No. I think it probably isn't simple to split the storage of Bitcoin-core's data directories across two drives. In principle you could, for example, make .../blocks/ a mount-point for the second drive, but I wouldn't advise this.

    2.0. make a backup of any wallets and test that they can be restored successfully.

    2.1. stop Bitcoind

    2.2. cd {wherever Bitcoin data directory is configured}

    2.3. sudo mv blocks oldblocks

    2.4. sudo mkdir blocks and fix permissions, ownership etc

    2.5. mount the partition of the second drive at this new blocks folder

    2.6. something not entirely unlike cp -p oldblocks/* blocks/ (you should definitely test this on small test data folders first).

    2.7. cross fingers and restart bitcoind

    I have not done the above and just made it up off the top of my head. Caveat emptor. I much prefer just replacing the 1TB drive with a 2TB drive - much less risk.

2
  • Thanks a lot. I will just replace the drive. Dos this mean I need to connect a monitor/keyboard to my Raspberry and log in in order to access to (Linux?) commands? Thanks again.
    – Eon
    Commented Sep 27 at 16:54
  • I am not familiar with Umbrel but most Raspberry pi operating systems allow you to log on over the network using a terminal emulator such as PuTTY. Commented Sep 27 at 20:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.