SD to SSD

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

wouterlet
Posts: 109
Joined: Tuesday 02 October 2018 20:52
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

SD to SSD

Post by wouterlet »

Hello guys,

I couldn't find a topic/manual for this. But a want to convert my domoticz installation from SD to SSD. But I would like to prevent an new installation, is this possible? Or do I have to completely start over?
User avatar
HansOtten
Posts: 50
Joined: Saturday 17 April 2021 9:29
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021-1
Location: Mierlo
Contact:

Re: SD to SSD

Post by HansOtten »

Easy. No reinstallation required.

Look at the general SD to SSD recipes for Raspberry Pi, it is just a matter of copying the SD image to the SSD.
https://github.com/billw2/rpi-clone for example

Make sure you have a USB 3.0 adapter that is supported, the ASmdia chipset works fine.
And have a look at the the EEPROM update and boot order in raspi-config.

Keep the SD safe until the SSD is working. You can always restart the process then.
Raspberry Pi 4, SSD, RFlink, P1 Smart Meter. Many Zigbee devices CR2562 USB stick. Bresser via Weather Underground
Switched to Home Assistant!
sammyke007
Posts: 204
Joined: Monday 08 May 2017 20:48
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: Belgium
Contact:

Re: SD to SSD

Post by sammyke007 »

This is the best thing you can do with your Pi in my opinion. Just keep your SD somewhere safe. If something fails, you can always revert to it without a problem. I use BENFEI and UGREEN SATA to USB adapters and both work fine for +1 year.

Just check your Pi version and see if it needs additional programming before booting from SSD or not.
wouterlet
Posts: 109
Joined: Tuesday 02 October 2018 20:52
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: SD to SSD

Post by wouterlet »

Ok,sounds good. My Pi is an 3B+. I'll have a look how to change the boot options.

Do you have any thoughts about this combination:

https://geekworm.com/products/x820-v3-0 ... 4783619160

Looks nice that I can build it all in a small housing. Or are there known issues with this board?
EddyG
Posts: 1042
Joined: Monday 02 November 2015 5:54
Target OS: -
Domoticz version:

Re: SD to SSD

Post by EddyG »

I use a similar housing from Geekworm for 2 ssd drives, I use those 2 ssd drive in raid 1, so if 1 ssd drive fails the system still runs.
I also use the power unit from Geekworm.
User avatar
HansOtten
Posts: 50
Joined: Saturday 17 April 2021 9:29
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021-1
Location: Mierlo
Contact:

Re: SD to SSD

Post by HansOtten »

wouterlet wrote: Wednesday 15 December 2021 10:37 Ok,sounds good. My Pi is an 3B+. I'll have a look how to change the boot options.

Do you have any thoughts about this combination:

https://geekworm.com/products/x820-v3-0 ... 4783619160

Looks nice that I can build it all in a small housing. Or are there known issues with this board?
Expensive. I use a USB 3 cableadapter (7,50 euro Pihut) and a SSD 240 GB 20 euro and a Raspbery Pi 4 and printed my own case.
Raspberry Pi 4, SSD, RFlink, P1 Smart Meter. Many Zigbee devices CR2562 USB stick. Bresser via Weather Underground
Switched to Home Assistant!
EddyG
Posts: 1042
Joined: Monday 02 November 2015 5:54
Target OS: -
Domoticz version:

Re: SD to SSD

Post by EddyG »

HansOtten wrote: Wednesday 15 December 2021 13:14 SSD 240 GB 20 euro and a Raspbery Pi 4 and printed my own case.
Cheap SSD my WDC_WDS250G2B0A costed around € 40,-- per pce
Can your case be found on Thingiverse?
thomasbaetge
Posts: 153
Joined: Wednesday 02 October 2019 11:47
Target OS: Linux
Domoticz version: 2023.1
Location: DE / BY / LT
Contact:

Re: SD to SSD

Post by thomasbaetge »

I did that last year, copied the image from SD to a small 120GB SSD from Amazon.
It took me about 30 minutes and the system is running 24/7 ever since. I think 120GB is plenty of storage for this purpose, I am running domoticz with 500+ devices, mosquitto, Phoscon and node-red on a headless buster installation and still have 95% free storage.
User avatar
HansOtten
Posts: 50
Joined: Saturday 17 April 2021 9:29
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021-1
Location: Mierlo
Contact:

Re: SD to SSD

Post by HansOtten »

EddyG wrote: Wednesday 15 December 2021 14:37
HansOtten wrote: Wednesday 15 December 2021 13:14 SSD 240 GB 20 euro and a Raspbery Pi 4 and printed my own case.
Cheap SSD my WDC_WDS250G2B0A costed around € 40,-- per pce
Can your case be found on Thingiverse?
A small SSD like 120GB is more than enough, you are only replacing a 16 GB SD. And they are about 20 euro now.

Yea, there are many cases on thingiverse, look for HDD + Raspberry. https://www.thingiverse.com/thing:2407893 is the one I use.
Raspberry Pi 4, SSD, RFlink, P1 Smart Meter. Many Zigbee devices CR2562 USB stick. Bresser via Weather Underground
Switched to Home Assistant!
Thorgal789
Posts: 815
Joined: Wednesday 15 August 2018 14:38
Target OS: -
Domoticz version:
Contact:

Re: SD to SSD

Post by Thorgal789 »

And noone have tried eMMC card used with a SSD adaptator (no power needed) or a RasPiKey ?
Last edited by Thorgal789 on Wednesday 15 December 2021 17:39, edited 1 time in total.
thomasbaetge
Posts: 153
Joined: Wednesday 02 October 2019 11:47
Target OS: Linux
Domoticz version: 2023.1
Location: DE / BY / LT
Contact:

Re: SD to SSD

Post by thomasbaetge »

nope, small SSDs are dirt cheap, very reliable and don't need external power supply.
Total no-brainer with a lot of benefits ;)
Thorgal789
Posts: 815
Joined: Wednesday 15 August 2018 14:38
Target OS: -
Domoticz version:
Contact:

Re: SD to SSD

Post by Thorgal789 »

don't need external power supply
Yep but still need one, by the USB port, so more consumption, and less for other USB devices.
thomasbaetge
Posts: 153
Joined: Wednesday 02 October 2019 11:47
Target OS: Linux
Domoticz version: 2023.1
Location: DE / BY / LT
Contact:

Re: SD to SSD

Post by thomasbaetge »

not necessarily.
I have a z-wave stick, a conbee Zigbee stick and said SSD in the PI (3b+).
Plus it has a cooling fan.
it does not report undervoltage with the standard power supply and works perfectly fine.

maybe just because nobody told the PI that it may be too much ;)
RobertM
Posts: 2
Joined: Sunday 13 May 2018 19:15
Target OS: -
Domoticz version:
Contact:

Re: SD to SSD

Post by RobertM »

User avatar
HansOtten
Posts: 50
Joined: Saturday 17 April 2021 9:29
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021-1
Location: Mierlo
Contact:

Re: SD to SSD

Post by HansOtten »

Thorgal789 wrote: Wednesday 15 December 2021 17:40
don't need external power supply
Yep but still need one, by the USB port, so more consumption, and less for other USB devices.
Not true, most RPi's and small SSD's run fine without external power supply and are very fast and reliable.

And other USB devices? I have two more, the zigbee stick and a RFlink.

Do not over engineer!
Raspberry Pi 4, SSD, RFlink, P1 Smart Meter. Many Zigbee devices CR2562 USB stick. Bresser via Weather Underground
Switched to Home Assistant!
User avatar
HansOtten
Posts: 50
Joined: Saturday 17 April 2021 9:29
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021-1
Location: Mierlo
Contact:

Re: SD to SSD

Post by HansOtten »

RobertM wrote: Wednesday 15 December 2021 21:25 RPi SD Card Copier ;)

https://linuxhint.com/how-to-clone-a-ra ... i-sd-card/
Good advice!
Raspberry Pi 4, SSD, RFlink, P1 Smart Meter. Many Zigbee devices CR2562 USB stick. Bresser via Weather Underground
Switched to Home Assistant!
thomasbaetge
Posts: 153
Joined: Wednesday 02 October 2019 11:47
Target OS: Linux
Domoticz version: 2023.1
Location: DE / BY / LT
Contact:

Re: SD to SSD

Post by thomasbaetge »

just remember, if you clone a 16GB SD card to a 120GB SSD you will still have a 16GB image, not 120 ;)
EddyG
Posts: 1042
Joined: Monday 02 November 2015 5:54
Target OS: -
Domoticz version:

Re: SD to SSD

Post by EddyG »

HansOtten wrote: Thursday 16 December 2021 11:19
Not true, most RPi's and small SSD's run fine without external power supply and are very fast and reliable.

And other USB devices? I have two more, the zigbee stick and a RFlink.

Do not over engineer!
See what power is needed for an SSD, just to get an idea: https://www.anandtech.com/show/8747/sam ... -review/10
You will have to set "max_usb_current=1" in the config.txt to be able to power an USB SSD drive properly.
For an Raspberry Pi 4B you will have to buy a 3 Amps charger because the Raspberry Pi 4B can consume 6 Watts.
thomasbaetge
Posts: 153
Joined: Wednesday 02 October 2019 11:47
Target OS: Linux
Domoticz version: 2023.1
Location: DE / BY / LT
Contact:

Re: SD to SSD

Post by thomasbaetge »

I would not make it more complicated than it actually is.
I've just picked the first no-name SSD from Amazon, put my image on it and fired it up.
No undervoltage reported, no crashes or any issues for more than a year in 24/7 operation.

If I would search the internet long enough I will for sure find a website that tells me that it is a shitty idea, but I tend to not solve problems, that I don't have in the first place. :lol:
User avatar
user4563
Posts: 96
Joined: Tuesday 19 October 2021 17:24
Target OS: Windows
Domoticz version: 2023.2
Contact:

Re: SD to SSD

Post by user4563 »

It would be wise to get a SSD that is proven to be reliable through unless you don't mind starting over (Samsung, Plextor, WD, Kingston, etc)
Domoticz 2023.2 running as a service on Windows 10 w/ Aeotec Z-Stick Gen5+, HAProxy (remote access)
Domoticz for Android
Domoticz Scenes add-on in Kodi
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 0 guests