Bitcoin Forum
June 23, 2024, 04:17:14 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Can Bitcoin core/Armory be run on an external drive?  (Read 154 times)
truebits (OP)
Member
**
Offline Offline

Activity: 66
Merit: 12


View Profile
July 18, 2020, 10:16:27 PM
 #1

Hi everybody:

I am running a older computer which now seems to get very bogged down trying to run the current Armory (0.96.5)and Bitcoin core(20.0).

This is the only purpose for this older computer (note this is the online computer, not the offline computer)

Question can I buy a very large 4 or 5 terabyte external hard drive and run Bitcoin core on it and then keep all that data off the older computer so at least it can function when a command is given?

I have zero interest in running a partial node.

Suggestions?

This old computer I am running bitcoin core and Armory on is a 2.53 ghz with 3.0 GB of ram. hard drive on that computer is roughly 950 megabytes.

alani123
Legendary
*
Offline Offline

Activity: 2436
Merit: 1454


Leading Crypto Sports Betting & Casino Platform


View Profile
July 18, 2020, 10:22:39 PM
Last edit: July 18, 2020, 11:10:39 PM by alani123
 #2

This is more of a question about your OS and hardware other than armory in specific. A full node needs to write the blockchain to a drive that your computer recognizes.
So long as your computer can recognize your drive you could do anything with it.

It doesn't matter if the drive is in or out of the box for that matter (external vs. internal). Just set the wallet to store the blockchain there and have have connected before starting your client.

..Stake.com..   ▄████████████████████████████████████▄
   ██ ▄▄▄▄▄▄▄▄▄▄            ▄▄▄▄▄▄▄▄▄▄ ██  ▄████▄
   ██ ▀▀▀▀▀▀▀▀▀▀ ██████████ ▀▀▀▀▀▀▀▀▀▀ ██  ██████
   ██ ██████████ ██      ██ ██████████ ██   ▀██▀
   ██ ██      ██ ██████  ██ ██      ██ ██    ██
   ██ ██████  ██ █████  ███ ██████  ██ ████▄ ██
   ██ █████  ███ ████  ████ █████  ███ ████████
   ██ ████  ████ ██████████ ████  ████ ████▀
   ██ ██████████ ▄▄▄▄▄▄▄▄▄▄ ██████████ ██
   ██            ▀▀▀▀▀▀▀▀▀▀            ██ 
   ▀█████████▀ ▄████████████▄ ▀█████████▀
  ▄▄▄▄▄▄▄▄▄▄▄▄███  ██  ██  ███▄▄▄▄▄▄▄▄▄▄▄▄
 ██████████████████████████████████████████
▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄
█  ▄▀▄             █▀▀█▀▄▄
█  █▀█             █  ▐  ▐▌
█       ▄██▄       █  ▌  █
█     ▄██████▄     █  ▌ ▐▌
█    ██████████    █ ▐  █
█   ▐██████████▌   █ ▐ ▐▌
█    ▀▀██████▀▀    █ ▌ █
█     ▄▄▄██▄▄▄     █ ▌▐▌
█                  █▐ █
█                  █▐▐▌
█                  █▐█
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀█
▄▄█████████▄▄
▄██▀▀▀▀█████▀▀▀▀██▄
▄█▀       ▐█▌       ▀█▄
██         ▐█▌         ██
████▄     ▄█████▄     ▄████
████████▄███████████▄████████
███▀    █████████████    ▀███
██       ███████████       ██
▀█▄       █████████       ▄█▀
▀█▄    ▄██▀▀▀▀▀▀▀██▄  ▄▄▄█▀
▀███████         ███████▀
▀█████▄       ▄█████▀
▀▀▀███▄▄▄███▀▀▀
..PLAY NOW..
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
July 19, 2020, 01:46:07 AM
 #3

Note that running Bitcoin Core with it storing it's data on external drives has the added risk of an accidental drive disconnection resulting in data corruption in the block files, wallet.dat or both.

Additionally, external drives are generally a lot slower than internal drives due to limitations of the interfaces used for this ie. USB... that may impact on your initial blockchain syncing time (which involves a lot of disk I/O)... but is probably not so much of an issue in day to day usage.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
nc50lc
Legendary
*
Online Online

Activity: 2450
Merit: 5724


Self-proclaimed Genius


View Profile
July 19, 2020, 04:23:35 AM
 #4

This old computer I am running bitcoin core and Armory on is a 2.53 ghz with 3.0 GB of ram. hard drive on that computer is roughly 950 megabytes.
If it's a desktop computer, a 1TB hard drive is a lot cheaper than external drives with the same capacity.
Plus it will be faster since it's internally connected.

Quote from: truebits
Suggestions?
Why don't you switch the machines?
The capable one as the online computer and that older one as the offline computer.
Because you don't need to sync the offline Armory, it only needs the keys for signing purposes.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
truebits (OP)
Member
**
Offline Offline

Activity: 66
Merit: 12


View Profile
August 11, 2020, 03:08:29 AM
 #5

Thanks for the suggestions. I like the 1 terabyte idea.
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3682
Merit: 1347

Armory Developer


View Profile
August 11, 2020, 08:16:35 AM
 #6

This is more of a question about your OS and hardware other than armory in specific. A full node needs to write the blockchain to a drive that your computer recognizes.
So long as your computer can recognize your drive you could do anything with it.

It doesn't matter if the drive is in or out of the box for that matter (external vs. internal). Just set the wallet to store the blockchain there and have have connected before starting your client.

Not exactly. While Core only does plain read/write operations to the drive, Armory maps the files for access. This means it tells the OS to treat specific areas of the drive as part of the RAM. The OS then balances that stuff in and out of the RAM according to access patterns for significantly better performances. The caveat is that stuff like NFS won't work. Physically connected drives will however, through USB or internally.

Additionally, external drives are generally a lot slower than internal drives due to limitations of the interfaces used for this ie. USB... that may impact on your initial blockchain syncing time (which involves a lot of disk I/O)... but is probably not so much of an issue in day to day usage.

If it's a desktop computer, a 1TB hard drive is a lot cheaper than external drives with the same capacity.
Plus it will be faster since it's internally connected.

That's not necessarely true. NVMe drives are fast because they connect directly through PCIe. USB 3 is slow not because of the transport capabilities but because it typically goes through the southbridge. I think some manufacturers connect some USB-C ports to PCIe directly but that really depends on your mobo. If you straight up buy a PCIe USB-C adapter card however, you can get blazing fast speeds with a USB-C to m.2 connector.

That's not particularly relevant for a HDD, which is limited to ~100MB/s sequential I/O cause of the physical constraints, but you can get near native speeds with an NVMe drive plugged through USB-C that way. USB-C can carry 4K@60fps video for what its worth.

HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
August 11, 2020, 09:27:59 PM
 #7

I don't imagine an old computer with 3GB of RAM and a 1Gig harddrive is going to have much in the way of spare PCIe or USB-C tho Wink

But yes, there are some external solutions that will provide the necessary bandwidth to make it a non-issue... Although, the cost of these purchases would probably be better spent on simply buying a new PC Tongue

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
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!