Hi,
i wanted to use persistence with influxDB and grafana. I did read that the microsd cards break fast. So I am wondering if I should copy the filesystem to a SSD.
Unfortunately I am not sure what kind of SSD I should take. Sata, mSata or m.2?
Is mSata and m.2 in a usb case even compatible to the Pi?
Is it a good idea to use one of these usb-sticklike m.2 cases and stick them in the Pi, or are they too big and will block the usb ports?
I think I would prefer mSata.They have nice shape and are small.
Could I just take a random chinese mSata? I have 32gb sd card. Can use a 16gb mSata with openhabian-config, or do I need a workaround?
I just use one with a usb to 2/5" sata adapter with a 275gb Crucial SSD
If you’re using m.2/mSata, how are you physically connecting it to the Raspberry pi?
And if it’s in any way attached to the usb bus, you’re restricted there for performance, but as you say, you’re not really doing it for performance, but for longevity.
Yes, the concern is the quality of the drive and the drive controller.
The drive controller is everything when it comes to SSD longevity. It managed the flash cells to “rotate” data is order to minimise wear.
I am aware that price is an issue it but look for a known brand
The RPI has to connect via USB. There is no SATA controller.
The type of SSD doesn’t really matter much. You can even use NFS.
I’d be more afraid of running OH and Grafana on the same RPi. I’d use a second one.
And be aware that there’s currently a number of problems with Grafana/PhantomJS. Search the forum for more info.
The speed doesn’t matter much. You are limited by the speed of USB bus, which is slower than any drive. So a m.2 drive will not give any better performance, and using a m.2 drive to achieve better speed performance won’t work.
Does graphana consume so much resources?
I just want to display temperature and humidity of three sensors. Somebody on the board told me to use influxdb and graphana.
What is a good alternative to graphana and a second Rpi?
You can use the built it graphing capabilities on openHAB, influx and grafana are nice to have but not necessary for graphing, especially when your scope is limited like yours
yes - MapDB and for some items RRD. But the main persistence is a MariaDB on my NAS.
nope. I do backup regularly (only config, still trying to figure Amanda out!)=
I don’t know…
hmm… I’m not sure, I think I read sometime ago, that for spinup the HD needs a bit more power, but in “real life” it wouldn’t make much difference?
My HD-housing came with an Y-cable so I have a seperate USB-Port just for power (I could also use some PIN with 5V power. But I already use a powered USB-Hub which works fine.