Hi everyone,
I have a rpi 4 running hassio and I’m moving the data from the micro sd to ssd. I leave the boot on the micro sd as suggested by developers. Once I plug in the ssd and make the command:
# ha os datadisk move /dev/sda
(where sda is the name of the ssd) the following error appears:
After that putty reports a closed network connection and rpi stops, server goes down and I need to restart it manually power it off directly from the plug (which is absolutely not cool and could damage rpi 4 but… it’s the only way).
HA restarts and server starts again normally, data are still in the micro sd. Anyone knows what happens?
Thanks!
I have the exact same issue but I don’t have to reboot but HA reboots automatically.
I have tried from the UI also - no go.
I have a 32GB HA Blue with a 128GB USB thumb drive in a USB slot - aka /dev/sda
Any ideas what to do anyone - thanks!
Running HA on a Pi4, USB Boot on the SSD, and never experienced any issue. So I wonder why not just make a snapshot, install HA on your Pi4 with USB boot and restore the snapshot?
There are several topics, of which this one:
This is not the official procedure. Developers suggest always to leave the boot on the micro sd. For now I leave the datas on the sd, hope it will be released soon an official integration to do such work.
I used an SD card and a 500GB SSD. I attempted to use the move data disk feature from the user interface after creating an EXT4 partition for the full volumen on my SSD. Like in your case it hangs and after 35min I need to manually reboot the rpi4, but the data is still on the SD card. I have a bit of hard time telling if it has worked but the OS drive still show only the available approx 24GB from the SD card and if I unplugg the SSD it still works as before. I suspect that there is some kind of software issue here since there is not that much that I as a user can do wrong. Any tips for resolution is apreciated.
The third line shows that the system has set up the partition for home assistant data. You should also be able to observe the activity LED on the drive every time it is accessed.
Same problem. I have been trying for several days and everything stops me every time. many times it disconnects from the network and every time I have to disconnect the power supply, insert a new sd and reload HA to restart … I tried to move the data disk with an HA installation without anything and as I go to load the snapshot it re-locks . I’m going crazy.
Hi everyone, sorry for my late reply, it’s been a long time I didn’t log in into the community. Since some months developers integrated the data migration to an external SSD. Procedure is really simple and I’d not have problems since I did so, check system —> host, click on the 3 dots and move data disk. Then select your external SSD and you got it. Hope it will help.
Hi,
I marked as solution in this post the official ssd move procedure which it has been implemented since the beginning of 2022. Strongly recommend that way, more easy so far.
Migrate from SD to SSD worked. But does anyone know how to migrate an existing SSD datadisk to another (fresh) HA OS installation? So: how do I configure HA to use a datadisk without overwriting the datadisk?
Does that restore the data to the SSD on the new system even when I didn’t configure that to use an SSD? How does it know which SSD is to be used? Or should I first move the (almost empty) datadisk on the new system, and then restore?