I recently migrated HA OS to raspi 5 with pineberrypi hatdrive (pcie gen 2&3) and nvme ssd (gen3); boot from micro sd and data disk moved to nvme ssd. I definitely notice performance improvement but want to make sure its optimally configured. From what I know raspi 5 runs at pcie 2 but can be forced in boot config to use gen 3. Is this possible with HA OS, how? How can I benchmark disk speed?
I tried to enable debugging on 22222 with no luck. So I pulled the sd card and there is no config.txt in hassos-system0 mnt/boot. Does this get moved with data disk to nvme. Do I have to move data back to sd to edit and then back to nvme?
Same here. Also want to know. Or maybe, am I doing this correctly.
Followed this guide to enable SSH to the Operating system. How to enable SSH on Home Assistant OS
An then connected to it using SSH to port 22222 and the certificate I created.
And after some searching think the corresponding file in Home Assistant OS is
/mnt/boot/config.txt
So in there I appended the following at the end under the “all” stanza
dtparam=pciex1_gen=3
Then I tested a reboot and throughput using the dd command. And the results were strange.
A full reboot (timed by an automation) went from 532 sec to 525 sec, so that can be written off as no change.
Using this dd command, found here. Test disk read and write speed?
you made it further than me. i wish we could get an official answer for this. yea, pcie gen3 can reach 3500MB/s, so should’ve seen an significant increase
My nvme was detected automatically. Could it be a bad ribbon? I’m assuming you tested the nvme drive. My self (if everything been tested), I would full back up ha, flash micro SD with latest ha for rpi5, restore backup during setup, and then attempt data disk migration.
I’m using Crucial P3 1TB PCIe Gen3 - CT1000P3SSD8 with Argon neo 5, and also used with Pineberry hatdrive. They both worked flawless. I’m still waiting for an easier way to force gen3 on rpi5 in haos
Hi francisp, I used the SSH 22222 add-on to place my public key, but when I try to login using the cmd you suggested it says denied.
I tried accessing with putty and it asked for a username, root didn’t work, which is where my original question came from.
I’m trying the method you have pointed towards and I’m stuck at the first hurdle… How to create a partition on a usb called CONFIG. All I can find is how to create a primary partition, using diskpart. I’ve been in disk management as well but when I right click on my usb drive most options are greyed out.
I’ll keep looking but if it’s easy and I’m just being a simpleton, I’d welcome a pointer.