Raspberry Pi 4 Installation

So I’m trying to install this on a Raspberry Pi 4 with 4GB of RAM and it seems to be stuck at,
“LOG: database system is shut down”

Edit:
I waited a little more for the Pi to continue to see if it was me being impatient, and it was 50/50. The Pi continued however, I got a different error saying:
“docker: Error response from daemon: error creating overlay mount to /var/lib/docker/overlay2/Some weird String/merged: invalid argument.”

It hasn’t moved from this for a good 25+ minutes, I’m wondering if it should be this slow or if something is wrong?

Any help would be greatly appreciated,
~Blood

That sounds like a disk write error. May be caused by a non-ideal SD card.

What is the output of:

hdparm -Tt /dev/mmcblk0
dd if=/dev/zero of=./largefile bs=1M count=1024

?

Mine gets:

 sudo hdparm -Tt /dev/mmcblk0

/dev/mmcblk0:
 Timing cached reads:   1972 MB in  2.00 seconds = 986.72 MB/sec
 Timing buffered disk reads: 132 MB in  3.00 seconds =  44.00 MB/sec

root@raspberrypi:/var/discourse# dd if=/dev/zero of=./largefile bs=1M count=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 3.91817 s, 274 MB/s
2 Likes

My output is:

/dev/mcblk0:
 Timing cached reads:      1610 MB in    2.00 seconds = 806.34 MB/sec
 Timing buffered disk reads: 126 MB in   3.02 seconds =  41.75 MB/sec

root@pitwo: /var/discourse# dd if=/dev/zero of=./largefile bs=1M count=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 183.966 s, 5.8MB/s

Ouch, that disk write speed is 2% of mine. That will be troublesome and will indeed result in timeouts while committing the bootstrapped image to disk.

Yeah I’m using a a SanDisk Extreme 64 GB microSDXC Memory Card Red/Gold 160MB/s
Is there a better option I should be using for this?

1 Like

Okay, that first test on mine was maybe a dud. I just ran and got a more reasonable number:

sudo dd if=/dev/zero of=/home/pi/test bs=8k count=50k conv=fsync; sudo rm -f /home/pi/test
51200+0 records in
51200+0 records out
419430400 bytes (419 MB, 400 MiB) copied, 14.3804 s, 29.2 MB/s

Found the test and a table with good SD cards suggestions at microSD Card Benchmarks | Raspberry Pi Dramble

I just ordered a 128GB SanDisk Extreme Pro, does it matter between the A1 and the A2 App performance at all?