Why is it so difficult to mount a secondary HDD?

I’m sure there are lots of people in the same situation.

For me, I want one HDD for my OS and a secondary 4TB NVMe to store all my Frigate recordings.

I was previously running Proxmox with a Home Assistant VM and a separate Blue Iris VM for surveillance — which was using 140 kWh per month. Overkill! :sweat_smile: Now I’ve switched to running just Home Assistant OS on a Dell Optiplex micro.

All I want is a simple way to mount my secondary drive so I can point Frigate to it and store everything there.

The drive shows up when running ha hardware info, but it’s not visible in the GUI — under Settings → Storage you only see your OS drive, so there’s no way to manage it there.

I’ve tried Advanced SSH with a public key. whoami shows root, but trying to mount the drive always gives “permission denied (are you root?)”.

There doesn’t seem to be a workaround for this.

I understand the devs want a locked-down Linux for HA, but surely something like this is in demand, right? Or is it just me? :face_with_monocle:

Proxmox with HA via a VM from a power consumption perspective shouldn’t be that different unless you had a seriously overprovisioned host.

I use a dell optiplex 7080 micro and run proxmox with HA and various other VM’s and LXCs with no issue, using only a few watts when idle.

Your real power consumption will come from Frigate using the CPU, and that I suspect makes no difference where ever its hosted.

I probably should’ve clarified that a bit better. Sorry for the confusion. I wasn’t running proxmox on the optiplex prior… I bought the optiplex for home assistant + frigate.

I run Proxmox on a server with a number of other VMs as well, including TrueNAS for network storage — it’s a pretty beefy server setup, hardware wise…Even with just HA and Blue Iris running, there’s still a fair bit of power draw having it on 24/7.

Now I’ve moved HA over to the Optiplex and switched to Frigate for simplicity. That alone has dropped power usage a lot. The server still gets used, but only when I actually need it — not running all the time anymore.

I’m actually happy running HAOS natively — that part’s working great. My only issue is… why is mounting a secondary HDD to HA so difficult as mentioned in my op.

Because HA isn’t meant to run as a NAS let alone a NVR. HA is built to run your house, which typically doesn’t require a secondary hard drive. HA has built in options to connect to a remote NAS, in settings → system → storage.

I think I’m confusing everyone.
I’m not running a NAS on home assistant?

I want a secondary drive for frigate storage.

I’m only running HA + Frigate. That’s all.

That would be an NVR :wink:

Frigate is a custom application, custom integration, and has no official affiliation with HA. Frigate could build something to use HA’s additional storage options. I’m not sure if they have.

I posted in the wrong section didn’t I? :face_with_peeking_eye:

No not really, you’re asking why it’s difficult and the answer is “It’s not a priority”.

Ok got it.

Your problem is not unique and is a bit of an unnecessary pain.

Mounting multiple drives is native to linux and there shouldn’t be much effort needed, regardless of ‘priority’.

Besides for frigate storage, there is also media and local backup storage needs, that should be supported and available from haos/hass for the user to leverage, and to keep that storage from over-filling the hass data drive.

You can use a secondary drive for HASS data storage, you can access this @ settings > system > storage > move data disk.

I have a 256g boot, and 2tb data ssd’s in a dedicated haos micro pc.

Adding local storage should be a simple, and just use the same dialog/workflow as adding network storage… Just need to auto mount additional drives and add a user selectable local path.

Consider a NAS and mount it to HAOS or point your Frigate to it… :grinning:

You’ll appreciate the added backup capacity and local copies of HA backups if needed. :pray:

If you are using HAOS, then mounting a drive in there can and usually does lead to a drive that gets into the backup path, and when you have 3tb on the mounted drive and 1tb in the main HA drive where the tmp file for the backup is stored, the drive fills up and it all crashes. (Ask me how I know.)

Yes there are ways. If you use the search here you will find them. In your journey you will hopefully learn enough how to avoid problems like I mentioned, so for that reason I don’t hand people the link, rather let them find it.

I think you are confusing the request with the motive. Home assistant is home automation which would (should) include security. And there was no request for HA to provide NAS service. But the need for more/separate storage without installing an external repository (particularly in a power restricted mobile installation) could be driven by things other than video.

I understand it "not being a priority", but implying HA is not to be used for security is a bit odd. Being able to utilize an internal local drive doesn't seem an outlandish request.

Are you meaning you have HA installed on a Mobile Device ?

I’ts not and it’s feasible

Joining 1 day ago, or just created “a new” user-id ?, anyhow read up and explain your “lack of options” ?

As explained in this (actually closed/explained) Topic , it’s possible to add additional storage, but HA is not mend as an NVR ( for obvious reasons ) , thou still capable to provide both several Cam-recordings aswell as “home security” features … probably beyond your current imagination

Mobile installation, not mobile device. Motor coach, RV, etc.

I was responding to the OP claiming what I said. If the topic was closed, how was I able to respond? Did you mean "meant" or "mend"? Are you saying you can "mend" HA to support additional internal drives? And again, why one wants to use additional storage is quite irrelevant. Everything I have read indicates HA does not support addtional internal drives, where is this resolved?

internal disk: Move Data Disk
external Disk(i.e Nas): Add network storage

No third part(external repository) involved

I am not. You can add data disks or network storages. You just can’t add one that frigate can use, which is what OP is commenting on. Well, you can, but it’s a pain.