Pages:
Author

Topic: Advice on Raspberry pi hardware for running full BTC node (Read 3225 times)

legendary
Activity: 2870
Merit: 7490
Crypto Swap Exchange
We can skip the sd card for the pi4.
The pi3 could already boot from usb.
It is still in beta. https://tynick.com/blog/05-22-2020/raspberry-pi-4-boot-from-usb/


You still need microSD card to perform firmware upgrade, it's a bit annoying if you don't have any spare microSD and forced to buy one only to use it once.
legendary
Activity: 2870
Merit: 7490
Crypto Swap Exchange
...snip...

Let me know how it goes for you.
Side note, be aware that the fanshim ( https://shop.pimoroni.com/products/fan-shim ) has been causing all kinds of issues and is no longer recommended.
There are a few screens with fans that power the fan from connectors on the back of the screen that are better. To an extent. The fans are not great but they are cheap and easy to replace so there is that.

-Dave


I don't plan to buy additional components recommended by the guide (LCD display and fanshim), but thanks for the information. I'll try the guide and posts the experience/result in next few weeks since i have other tasks to do.
legendary
Activity: 2870
Merit: 7490
Crypto Swap Exchange
@DaveF Does RaspiBlitz support read existing blockchain files from your external HDD/SSD? I'd be interested if it's possible since myNode doesn't support such feature (unless i didn't check configuration/read documentation properly).

You can copy all the files to /mnt/hdd/bitcoin/blocks
You will probably have to play with the permissions
They do have another option to import according to the docs but I never used it:

Quote
Getting the Blockchain
If you have a HDD/SSD with a prepared blockchain (e.g. a ready2go-set or you are at a workshop) you have the option to trust that data and skip to the next chapter. If you started with an empty HDD - you will see the following screens:

Good to know they offer such option

Do you mean good support from developer, good support from community, have complete/easy-to-understand documentation or all of them?

All of the above. The docs are good, but make some assumptions at times about your linux knowledge.
I have never seen a support question go unanswered, but it does at times take a while.
And in Telegram you do get some people who think they are helping when they are not, but I find that in any user to user support when waiting for the dev.
And on the lightning side he has used (possibly correctly) the "talk to the lnd developers" line. But since I have never had an issue, I cannot comment on that.

-Dave

Fortunately, Linux is my main OS, so i shouldn't have any major problem. I'll only use Telegram if i'm stuck though.
legendary
Activity: 2870
Merit: 7490
Crypto Swap Exchange
@DaveF Does RaspiBlitz support read existing blockchain files from your external HDD/SSD? I'd be interested if it's possible since myNode doesn't support such feature (unless i didn't check configuration/read documentation properly).

Both offer good support (although not here more github / telegram)

Do you mean good support from developer, good support from community, have complete/easy-to-understand documentation or all of them?
legendary
Activity: 2870
Merit: 7490
Crypto Swap Exchange
Wouldnt you want to use a much faster hard drive to run bitcoin on such as a "Samsung 960 Pro NVMe M.2 SSD" or something of that speed? Or would that not be able to connect to the Rasberry Pi? You would think you would want something faster than 100mb/s though, especially for a public node... those usb thumb drives arent very fast...

Aside from USB 3.0 limitation which already mentioned, external HDD is enough to run BTC full node unless you have hundred/thousand incoming connection.
legendary
Activity: 2870
Merit: 7490
Crypto Swap Exchange
Damn, windows  Roll Eyes
Thanks, recently I made a bootable ubuntu flash drive and followed directions to install alongside Windows for a dual boot experience however I'm not sure its working, still can't figure out how to boot into ubuntu (just goes to windows).

Usually you need to open your BIOS/UEFI setting and configure Ubuntu as highest boot order priority.

I can use ubuntu live from usb at startup but cannot save anything locally.

That's the point of live mode, but you save your file on storage/partition not used to boot Ubuntu Live USB.
legendary
Activity: 3500
Merit: 6320
Crypto Swap Exchange
Heads up, the new OS breaks USB booting.

https://www.tomshardware.com/news/raspberry-pi-os-new-features-usb-booting

The tomshardware link has the workaround to get it working again.

Probably not that big a deal for most people, but figure it's worth a mention till they fix it.

Stay safe.

-Dave
legendary
Activity: 2380
Merit: 17063
Fully fledged Merit Cycler - Golden Feather 22-23
Raspberry just announced a new version coming out:

8GB Raspberry Pi 4 on sale now at $75

More interestingly, they also announced they are working on Raspian 64bit vesion, or rather Raspberry OS 64 Bit (just a rebranding, nothing changes).

Quote
But power users, who want to be able to map all 8GB into the address space of a single process, need a 64-bit userland. There are plenty of options already out there, including Ubuntu and Gentoo.

Not to be left out, today we’ve released an early beta of our own 64-bit operating system image. This contains the same set of applications and the same desktop environment that you’ll find in our regular 32-bit image, but built against the Debian arm64 port.

A first test here:
Raspberry Pi 4 (8GB) Tested: Double the RAM, New 64-Bit OS

Quote
The one area where the 8GB Raspberry Pi 4 really excelled was in copying extremely large files. When we ran IOzone, a synthetic test that measures reads and writes, with 4GB of data, the 8GB capacity crushed the 4GB model on read speeds, performing both random and sequential reads that were more than 20 times faster due to the larger Pi’s ability to cache the all the data.

Quote
So should you buy a Raspberry Pi 4 B (8GB)? If you currently own a 4GB model, there’s not a lot of reasons to upgrade right now, even if you use your Raspberry Pi as a full-fledged PC replacement. Even if you have a lot of tabs open and plenty of other apps running too, it’s difficult to use more than 4GB of RAM unless you’re running some kind of VM, giant database or RAM disk.

However, given that a fully-functional 64-bit operating system that promises to take advantage of the memory is on its way, the 8GB model is a good choice for folks who want to use their Pi as a desktop and don’t already have the 4GB capacity. For just $20 more, you are future-proofing your Pi for the next generation of software, and, other than the cost, there is no downside.


legendary
Activity: 3500
Merit: 6320
Crypto Swap Exchange
Correct for now, when the usb boot option becomes default for a pi4 just as it is now for the pi3 and the rest we can skip the firmware update part.
Lets hope they push it out the upcoming weeks. : )

You still need to find Raspberry Pi 4 that comes with newest firmware or kindly ask the seller to flash the newest firmware for us though.

I know you made the comment a few posts up about needing a micro SD card, and I really got to thinking.

If you have a RPi 3 that you have used at all already have the card. If you have a 4, then in theory unless it's the 1st one you are getting then you have a card. If it's the 1st, starting with the USB boot should not matter.

Either way, it's a micro SD. in most places they are available everywhere for cheap and if not someone you know probably has one you can borrow.

Stay safe.

-Dave

legendary
Activity: 2870
Merit: 7490
Crypto Swap Exchange
Correct for now, when the usb boot option becomes default for a pi4 just as it is now for the pi3 and the rest we can skip the firmware update part.
Lets hope they push it out the upcoming weeks. : )

You still need to find Raspberry Pi 4 that comes with newest firmware or kindly ask the seller to flash the newest firmware for us though.
hero member
Activity: 1568
Merit: 544
You still need microSD card to perform firmware upgrade, it's a bit annoying if you don't have any spare microSD and forced to buy one only to use it once.

Correct for now, when the usb boot option becomes default for a pi4 just as it is now for the pi3 and the rest we can skip the firmware update part.
Lets hope they push it out the upcoming weeks. : )
hero member
Activity: 1568
Merit: 544
We can skip the sd card for the pi4.
The pi3 could already boot from usb.
It is still in beta. https://tynick.com/blog/05-22-2020/raspberry-pi-4-boot-from-usb/
legendary
Activity: 3500
Merit: 6320
Crypto Swap Exchange
Just as a reminder. If you are going to buy an external SSD (or any drive for that matter) make sure you get one that has a "real" brand behind it.
Samsung, SanDisk, Seagate, WDC, Crucial, etc.

Having nothing to do with BTC, just issues I have been having with my "real job" that due to the Covid-19 locks-downs some things have been unavailable and people have been buying some off brand stuff because it's available and the main names are out of stock. Not saying that they are all bad. But I can say with the few I have been dealing with that they are slower and tend to be less stable.

Not a big sample set, but yeah I have seen it with a bunch I have been dealing with over the last 2 months.

Stay safe.

-Dave
legendary
Activity: 1232
Merit: 1002
This is why I have thanked everyone!

My ideea was to get a 1TB card.... But thanks to this topic now I know I need an external HD Smiley

The price for "sitting down" is 356 euros here!
legendary
Activity: 3500
Merit: 6320
Crypto Swap Exchange
I was thinking to set up a full btc node and was wondering where the hell I would find a 1TB SD card.....


Thank you all for the info!
Love to everyone

Do not put the blockchain on an SD card. Get an external SSD.
If that is not an option for some reason get an industrial high endurance card.
Something like this one: MTSD1T0AKC7MS-1WT

Now sit down......sitting?

Good...

click here for the price: https://www.mouser.com/ProductDetail/Micron/MTSD1T0AKC7MS-1WTCS?qs=sGAEpiMZZMtyMAXUUxCBEyyNWGvzIQqLJkNPd2KN5CDKtzB7QXtViw%3D%3D

Yeah, now go get the samsung 1TB USB SSD

-Dave
legendary
Activity: 2380
Merit: 17063
Fully fledged Merit Cycler - Golden Feather 22-23
I was thinking to set up a full btc node and was wondering where the hell I would find a 1TB SD card.....


Thank you all for the info!
Love to everyone

What you need a 1TB Sd Card for?
If you read this thread basically everyone has been telling that SD card are notoriously unreliable for continuous R/W operations required by running a node.
Or, better, the price of very reliable SD card is not justified for the "cheap" setup we are trying to discuss here.

So, the best option is to attach a decent SSD (superfast units are not required either) unit and use a 32 GB SD card to burn the raspi OS.

If in doubt, just follow his very simple guide:
https://stadicus.github.io/RaspiBolt/
legendary
Activity: 1232
Merit: 1002
I was thinking to set up a full btc node and was wondering where the hell I would find a 1TB SD card.....


Thank you all for the info!
Love to everyone
legendary
Activity: 3500
Merit: 6320
Crypto Swap Exchange
As an interesting aside I just did a "test" while I was setting up a mynode for someone.
RPi4 4 GB $50
32 GB Samsung PRO Endurance $10
500GB Samsun SSD $79
Authentic RPi Power Adapter $10
Cheap case with fan $15
So $165 + tax since I had a USB keyboard & mouse and the mini (micro?) HDMI to full size adapter sitting around. If you have to get them figure another $20
(all prices are US based)

Took about 20 minutes to put it all together and burn the SD card.
Plugged it into my cable at home which was actually working full speed the weekend.

And....it's done. Finished up overnight.
So if you have a good high speed connection and $200 lying around you can do this project easily.

Stay Safe

-Dave

* Due to corona prices & delivery for some of the stuff is all over the place. The SSD is now $110. but I can get it locally for less. The adapter HDMI cable that I know I paid like $5.00 a while ago on eBay from someone in Florida is now 0.99 but no firm ship date.

legendary
Activity: 3500
Merit: 6320
Crypto Swap Exchange
...snip...

Let me know how it goes for you.
Side note, be aware that the fanshim ( https://shop.pimoroni.com/products/fan-shim ) has been causing all kinds of issues and is no longer recommended.
There are a few screens with fans that power the fan from connectors on the back of the screen that are better. To an extent. The fans are not great but they are cheap and easy to replace so there is that.

-Dave
legendary
Activity: 3500
Merit: 6320
Crypto Swap Exchange
@DaveF Does RaspiBlitz support read existing blockchain files from your external HDD/SSD? I'd be interested if it's possible since myNode doesn't support such feature (unless i didn't check configuration/read documentation properly).

You can copy all the files to /mnt/hdd/bitcoin/blocks
You will probably have to play with the permissions
They do have another option to import according to the docs but I never used it:

Do you mean good support from developer, good support from community, have complete/easy-to-understand documentation or all of them?

All of the above. The docs are good, but make some assumptions at times about your linux knowledge.
I have never seen a support question go unanswered, but it does at times take a while.
And in Telegram you do get some people who think they are helping when they are not, but I find that in any user to user support when waiting for the dev.
And on the lightning side he has used (possibly correctly) the "talk to the lnd developers" line. But since I have never had an issue, I cannot comment on that.

-Dave
Pages:
Jump to: