My original #Bitcoin Core node (from Nov 2019!) finally maxed out its 500GB ssd a few days ago.
Bought a 1TB and cloned the old drive.
Quick 🧵 on how to swap your SSD:
I use @SpecterWallet so first I backed up my Specter data and Bitcoin Core's wallets dir using `scp` from my Macbook. `scp` uses the same login credentials as ssh.
(obv your directories on your Pi will vary)
Opted for this SK hynix 1TB ssd.
* I powered down my node (Pi1)
* Moved its 500GB ssd to a different, already running Pi (Pi2)
* Also plugged the new SSD into Pi2
amazon.com/dp/B07SNHB4RC/…
* On Pi2 I ran `lsblk` to list the drives. In my case the old 500GB ssd was "sda" and the new 1TB ssd was "sdb".
(screenshot is from a diff setup, but you get the idea. Easy to identify which ssd is which by the SIZE col)
* Cloned the old ssd to the new one with `dd`:
sudo dd if=/dev/sda of=/dev/sdb status=progress bs=64K
`if` is the input (source) drive. `of` is the output (destination) drive.
Will take a while to copy 500GB. Go have lunch.
* Unplugged the 1TB ssd from Pi2 and plugged it into Pi1 for the first time.
* (crosses fingers)
* Once it booted I `ssh`ed in and ran:
sudo raspi-config
* Advanced Options > Expand Filesystem
This ensures that the OS uses the full capacity of the new ssd.
* Finish and reboot
* `ssh` back in and confirm capacity with `df -h`
Yeehaw! 439GB now available!
Share this Scrolly Tale with your friends.
A Scrolly Tale is a new way to read Twitter threads with a more visually immersive experience.
Discover more beautiful Scrolly Tales like this.