#data disk issues, recommendations

26 messages · Page 1 of 1 (latest)

high bridge
#

Hello. I am new to Discord, and I do not know if I am in the proper place to ask a question regarding “Data Disk"?

I originally had an NVMe 250GB to run the system, in my OptiPlex. Because of Frigate data, I ran out of room. Since I could not add a second drive in OptiPlex to be used strictly for Frigate recordings, I decided to add a 1TB SSD to OptiPlex, and use the “MOVE DATA DISK” function, to achieve the same. Everything went well & was functional. After about a month, I found out the 1TB SSD is not large enough. I was hoping when I unplug the SSD from the Optiplex, HA will bootup again from the NVMe, but it does not.

I don’t know how to get the system to boot from the original boot drive NVMe again! Can the data disk be moved back to NVMe 250GB? I do have the backup from before the 1TB addition. Both drives are still in OptiPlex. NVMe is intact. I have been searching for a solution without any success. Would you help me, or guide me where I can find out how this could be done? Ty

high bridge
#

data disk issues

#

data disk issues, recommendations

dusky mica
high bridge
#

So from what I understand, the original NVMe 250GB is still available and it boots from it, but since the “hassos-data” label, or name has been changed to “hassos-data-old”, it will retrieve the data from 1TB SSD.
From your provided links, I understand that even though there is a way to use the “e2label /dev/disk/by-label/hassos-data-old hassos-data” command to go back and get the data from the original location on (NVMe 250GB), you are suggesting removing the 1TB SSD, flashing the NVMe 250GB with a new HA image, restart HA, and load the backup from before the “data move.”
Am I understanding correctly?

dusky mica
#

Yes but it probably doesn't hurt to try to rename the old label as explained.

#

I don't think the backup has to be from before the move.

high bridge
#

I am using “Advanced SSH & Web Terminal, Current version: 19.0.0,” in HA and it is very limited and restrictive with commands. It will not accept "e2label "

  1. Should the renaming be done with HA’s GUI or directly from the box?
  2. Before renaming, should I remove the 1TB SSD, or leave it in OptiPlex, and just change the name from “hassos-data-old” to “hassos-data”?
  3. In the links you provided, “JohnyDNU”, said “I bumped on the same situation.
    I actually don’t remember what keys I pressed (like Ctrl + Alt + F2, Ctrl + F1 and so on) but after some of them I got a usual login promt. I entered ‘root’ as login and it authorized me without any password.” What does bumping mean? Where, and at what point does it happen? And is it “Ctrl + Alt + F2” or “, Ctrl + F1”?

BTW, Thank you for your previous prompt response.

dusky mica
#

You have to use the OS CLI.

#

These keys change the tty.

high bridge
#

Thank you for the update.

Should the 1TB SSD removed?

I will follow the above, and if all fails, I will reflash and re-install from the back up. Crossing my fingers!

dusky mica
#

If both are attached you will have a conflict so yes I'd remove the second disk.

#

I can't really imagive that the old data partition is functional though. Why keep the space around?

high bridge
#

Makes sense.

The idea was to keep the existing NVMe 250GB (fast drive) and have Frigate write all of its recordings and data to a separate SSD. But from what I understand, you cannot have an additional drive internally or externally attached to HA for data usage.

So now I purchased a 2TB SSD, to perform the same thing I am trying to get out from. It is stupid, but I have no other choice!

Also, would you take out the NVMe 250GB, flash the 2TB SSD, load the backup (before the “data disk”) migration” and start from there?

dusky mica
#

HA makes for a poor NAS or NVR or things like that.

high bridge
#

Planning to replace the NVMe 250GB with a 2TB NVMe. What do you think?

dusky mica
#

Kind of overkill, no?

high bridge
#

I need to record 5-day recordings of 8 cameras. For 3 days, 8 camera recording size were 850GB, 5 days should be around 1.4TB. That's why I thought 2TB should be OK.

Price-wise NVMe is a better deal. Don't you agree? From Amazon
$145.00 - Crucial MX500 2TB 3D NAND SATA 2.5 Inch Internal SSD, up to 560MB/s - CT2000MX500SSD1
$113.00 - Western Digital 2TB WD Blue SN580 NVMe Internal Solid State Drive SSD - Gen4 x4 PCIe 16Gb/s, M.2 2280, Up to 4,150 MB/s - WDS200T3B0E

dusky mica
#

HDDs are cheaper and fast enough. I can't deal with their noise so I understand. Price performance wise yes but you usually have more SATA ports. Doesn't matter much for HAOS but you could virtualize.

high bridge
#

Thank you very much for your guidance.

high bridge
#

Here is an update for you. The data disk “1TB SSD” was removed and now I am booting from the original “NVMe 250GB”.

Following your guidance:

  1. Remove the “1TB SSD”
  2. Started the OptiPlex
  3. The system booted up and was waiting (every so often), looking for something. Then it said something like “waiting for CLI”
  4. I pressed Ctrl + F1, displayed Welcome to HA, and asked for “homeassistent login. " I entered root, and the prompt appeared.
  5. Navigated to /dev/disk/by-label, and found “hassos-data-old”
  6. Used "e2label /dev/disk/by-label/hassos-data-old hassos-data",
  7. Verified the name change and restated. (see the screen capture below)

OptiPlex started without any issues. Wow 🙂

Now that I’ve learned how to move disks around in an HA environment, I need your opinion about something. Would you:

  1. Keep the boot NVMe 250GB drive as the startup disk, and add a “2TB SSD” for the data disk.
  2. Or replace the replace the NVMe 250GB, with a Western Digital 2TB Blue SN580 NVMe Internal Solid State Drive SSD - Gen4 x4 PCIe 16Gb/s, M.2 2280, Up to 4,150 MB/s - WDS200T3B0E, to retain all OS and frigate recordings? One drive.

Somewhere I read, it’s not a good idea to keep both HAOS and large data files (frigate recording on the same disk! Is that true?

dusky mica
#

I'd move everything to the bigger disk for simplicity. You'd have to ask the people stating that why they think so.

high bridge
#

Will do. Thank you

#

Last question. I think you are suggesting to use only the Western Digital 2TB Blue SN580 NVMe?

dusky mica
#

Yes. Only one disk for simplicity.