Bitcoin Forum
November 12, 2024, 02:14:23 AM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: Full Node on Raspberry Pi 3  (Read 504 times)
jochemin
Member
**
Offline Offline

Activity: 133
Merit: 22



View Profile
February 21, 2018, 09:35:38 AM
 #21



I have a Bitcoin full node + lightning node running stable on a Raspberry Pi3. BTC blockchain is stored in an external usb drive, swap in a pendrive. Everything works fine.
Which LN node are you using? the C-lightning, the lnd or which one? The external USB drive you use to store the blockchain is an HDD with a USB connections to the PI? What is the size of the swap pendrive?
Could you please share the link you were using while you were working on the installation of the node?
Sorry for the lots of questions Smiley

Hi, i'm using c-lightning. I use the external pendrive for swap (2GB) and the external hard disk (500GB) to store Bitcoin data.


I have a step-by-step but it is in spanish and only BTC node --> https://medium.com/@jochemin/nodo-completo-bitcoin-en-raspberry-pi-3-3904c29d8ce1

To have c-lightning the difference with that document is to put swap on a pendrive (in the document I put it on the hard disk).
LoyceV
Legendary
*
Offline Offline

Activity: 3486
Merit: 17659


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
February 21, 2018, 01:29:44 PM
 #22

I'm not sure about the OS of Raspberry PI but if it's a linux, then it's not a good idea to run it on an SD card or USB flash drive. Or, I only need to move the swap partition to the HDD and it will solve the read/write cycle problem.
Do you really need the swap partition, or can you run without it? If at all possible, get enough RAM to run without swap.

But off topic: I have a 3 year old smartphone with a class 10 32gb micro SD card that is still going strong and not dying.
My phone has a similar micro SD card, but it only writes those 32 GB once a year. After that, it's full with images and videos, and I clean up for another year. My point is: phone writes are nothing compared to what a swap partition can do to it.

With SD cards, I doubt they are designed to function well under this kind of load.
Correct, SD cards don't have wear leveling.

▄▄███████████████████▄▄
▄█████████▀█████████████▄
███████████▄▐▀▄██████████
███████▀▀███████▀▀███████
██████▀███▄▄████████████
█████████▐█████████▐█████
█████████▐█████████▐█████
██████████▀███▀███▄██████
████████████████▄▄███████
███████████▄▄▄███████████
█████████████████████████
▀█████▄▄████████████████▀
▀▀███████████████████▀▀
Peach
BTC bitcoin
Buy and Sell
Bitcoin P2P
.
.
▄▄███████▄▄
▄████████
██████▄
▄██
█████████████████▄
▄███████
██████████████▄
███████████████████████
█████████████████████████
████████████████████████
█████████████████████████
▀███████████████████████▀
▀█████████████████████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀

▀▀▀▀███▀▀▀▀
EUROPE | AFRICA
LATIN AMERICA
▄▀▀▀











▀▄▄▄


███████▄█
███████▀
██▄▄▄▄▄░▄▄▄▄▄
████████████▀
▐███████████▌
▐███████████▌
████████████▄
██████████████
███▀███▀▀███▀
.
Download on the
App Store
▀▀▀▄











▄▄▄▀
▄▀▀▀











▀▄▄▄


▄██▄
██████▄
█████████▄
████████████▄
███████████████
████████████▀
█████████▀
██████▀
▀██▀
.
GET IT ON
Google Play
▀▀▀▄











▄▄▄▀
Pages: « 1 [2]  All
  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!