Raspiblitz offline 500GB->1TB Upgrade

in #deutsch3 years ago (edited)

Heute ist mein #Raspiblitz traurig, aus zwei Gründen:
a) /dev/sda1 458G 448G 5.1G 99% /mnt/hdd

und b)
2021-08-27T19:13:44Z Potential stale tip detected, will try using extra outbound peer (last tip update: 2847 seconds ago)

Eine Zeit, in der keine neuen Blöcke rein kommen, ist doch perfekt für das eh geplante Upgrade der SSD auf 1TB, um eine lokale Version von mempool.space samt Explorer und Index hosten zu können.

Ich mache eine Wette: was ist zuerst fertig? Das rsync von alt auf neu, oder der überübernächste Block? Ich beginne die Aktion zu Blockzeit 697863.

raspiblitz-upgrade-ssd.jpg

Um die Chancen für den rsync zu erhöhen, nutze ich einen schnellen modernen Linux PC statt dem Raspi zum kopieren, an den ich die 500er und die 1TB SSD anschließe.
Wichtig für die neue disk ist nur, dass die Partition das Filesystem Label "BLOCKCHAIN" hat. Das erledigt der Befehl auf der als sdf erkannten neuen SSD nach anlegen einer Partition sdf1 mit fdisk.
mkfs.ext4 -L BLOCKCHAIN /dev/sdf1

Beide eingehängt
/dev/sde1 458G 448G 5.1G 99% /opt/blockchains/raspiblitz/500
/dev/sdf1 916G 77M 870G 1% /opt/blockchains/raspiblitz/1T

und der Spass kann (mit 150-200MB/s) beginnen
/opt/blockchains/raspiblitz# time rsync -avh --progress 500/ 1T/

Sort:  

Bitcoin hat das race gewonnen und ist bei Block 697868 angekommen.

sent 480.80G bytes received 399.91K bytes 146.07M bytes/sec
total size is 480.68G speedup is 1.00

real 54m51.473s
user 35m48.094s
sys 11m31.170s

Congratulations @schlafhacking! You have completed the following achievement on the Hive blockchain and have been rewarded with new badge(s) :

You received more than 2000 HP as payout for your posts and comments.
Your next payout target is 3000 HP.
The unit is Hive Power equivalent because your rewards can be split into HP and HBD

You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

Check out the last post from @hivebuzz:

Hive Power Up Month - Quick feedback
Feedback from the September 1st Hive Power Up Day