With this SSD setup, would you suggest using locally saved MariaDB as recorder or stock recorder?
I tried Maria on my Pi3 when I thought that HA choked because of DB performance bottlenecks. (I did not realize at first that my system was running out of memory.) With the Pi4 with 8GB the standard Sqlite DB of HA is so fast that I see no reason to replace it. My recorder is set to hold 30 days of history. The DB file is approx. 4GB in size. And it stays fast and responsive.
Thanks @Egon, guide updated.
Added to the guide. Thanks @tldp, @KCYeoh and all the others who mentioned it.
So the SSD is running fine on USB-2…I had hoped however that the speed of the sensors with increase a bit.
When I used the Tradfri bridge the lights that are triggered by the sensor where always very fast…now there is a lag that I hoped the SSD would cure.
Would USB-3 make a difference on this?
The RPI is sleeping with a low load and plenty of ram available so thats not the culprit I suspect…
I am quite sure that the SSD link speed has nothing to do with the effect that you are witnessing. Any possibility that your Zigbee bridge’s signal is disturbed by the Pi’s USB3 ports or a nearby WLAN access point? Is your Pi connected to your LAN by wire (strongly recommended) or by WLAN?
The pi itself is close to a wifi router, but the zigbee device is connected on a long usb kabel and 1.5 meters away from everything…
… and the Pi connected through a LAN cable?
BTW: Zigbee radio some 1.5 m away from a WLAN AP can still very much saturate the radios antenna gate and impede communication. As an example I had to shield one of my KNX motion detectors with tin foil that was 2.5 m away from an AP and even had a wall in-between.
You could rule that out by temporarily placing the Pi and the Zigbee radio somewhere else but still close to the next Zigbee device. And Pi connected through LAN cable.
It is connect by Lan cable, I’ll see if moving it away have some effect, thanks.
Updated my RPi4 4GB from HA 5.3 to HA 5.10 believing that it would be stable. Unfortunately after a few hours HA completely froze and it was unreachable.
The exact same thing has happened with all the other newer versions of HA, and it seems that the issue is still present on the HA 5.10.
Anyone else having similar issues with USB3 SSD and HA 5.10?
Hardware used:
- RPi4 4GB
- Ugreen USB3.1 Gen2 SSD-case
- PNY CS900 480GB SSD (==Kingston A400 hardware inside)
- Raspbee II
HassOS 5.10 64bit on Rpi4 8Gb works perfectly.
Boot SSD without SD card
Rpi4 8Gb
board X825
SSD Kingston A400 120 Gb
Power supply 5V 4A
Identical for me. See GitHub issue 1119.
Home Assistant OS 5.x has always worked well on my system.
Home Assistant OS 5.10 64bit on Rpi4 4GB is very reliable.
Booting SSD on USB3 port, without SD card.
My hardware:
Rpi4 4GB
StarTech USB 3.0 to Sata adapter
Crucial BX500 240GB SSD
Raspberry Pi power supply 5V 3A
Conbee II
Started with HAoS 5.08 64bit 3 weeks ago
Rpi4 4Gb
board X862
Western Digital M2 SSD 120GB
Power supply 5V 4A
conbee II stick on extended cable with anti-distortion coils on it.
Boot SSD without SD card on USB3
succesfully upgraded to 5.9 and recently to 5.10
system runs very stable
It seemed to work for me in October, just tried it today to load the Jan 11 firmware and it did not update. How do I know when it is done? I.e ping the device, network light board green LED? Thanks
@bschatzow You will have to set your eeprom update flag from critical to stable before checking for and update.
sudo nano /etc/default/rpi-eeprom-update
Change critical to
FIRMWARE_RELEASE_STATUS="stable"
and then run
sudo rpi-eeprom-update
Those options are not available with the repair utility. I understood that i could boot using the standard raspberry OS and make these changes.
hi there,
i got the problem, that everything works fine until booting ha up.
Changing the boot order works, eeprom is fine and i also testet the booting with pi os flashed on the ssd an started. this worked. But as soon as i flashed the hassio image onto the ssd and tried to boot up, nothing happens. The SSD LEDs startet to blink for 2 sec and stayed on then but it wont boot up. (Connectet to usb2 and usb 3, nothing changed) Is there any idea out there? Thank you guys
What firmware version is on your Pi?
i have to say that i already got a working installation with an sd card an just wanted to change to an ssd.
5.4.83-v7l
And Raspbian Buster works fine out of the box with ssd
Edit: don’t know why and don’t k how but after reinstalling on ssd for the 6th time and trying different os on usb stick, ssd and SD, know I works and I could get my snapshot back. So everything is fine right now :-)))
Thanks for a great guide @Jpsy!
Had everything up and running in no time.
However…
I noticed on one of the inital reboots (had a monitor hooked up to the Pi) that it got stuck in BIOS.
Pulled the power, plugged it in and it started up fine.
Later I did a reboot from within Home Assistant and it got stuck again.
That got me worried and I did a number of reboots to see how relliable my setup was.
Turns out it doesn’t happen that often but every now and then, perhaps 1 out 5 times.
Using the Startech USB 3.1 to SSD adapter and an old Sandisk 32 GB SSD and running on a RPi 4b with 4 GB RAM.
Enclosing a screenshot taken with mobile.
Anyone else had some problem?
I couldn’t make any sense of the BIOS error message but perhaps someone can?