NAS mount on HASS OS

eeh, okay, no problem, Iā€™m glad I could help, just donā€™t use vmware tools shared folderā€¦ thatā€™s why I wrote I need to update my articleā€¦ itā€™s super slow! Iā€™ve switched to SMB from host W10 to Debian (HA Supervised) and CPU usage dropped signifficantly and also speed increased :slight_smile: Hopefully Iā€™ll get to that in the eveningā€¦

2 Likes

Nah its fine not using vmware
using proxmox. For now i just use fstab entry for smb, but if i make fuse, it can automout on access,if it will work it would be awesome :slight_smile:

2 Likes

Huh? Fuse which I used is a filesystem. At least thatā€™s how I understood it. I donā€™t understand, but I wish you luck in solving that issue :slight_smile:
I already updated my post with short tutorial how to mount a frigate folder to the media folder over SMB/CIFS.

1 Like

The thing is when you mount a folder and the nas become unavailable the mount is not reconnecting. When you have fuse and autoffs ypu can force with to always try and recconect. Will check your post if i can gather some ideas :slight_smile: thx

1 Like

So no need to restart HASS OS, i hope im right :slight_smile:

Adding 16K views from this topic :smiley:

1 Like

Use-cases for NAS mount (SMB/CIFS or NFS) on Home Assistant OS:

  • Having an external Media source. (After all, a local /media directory is not good enough for people running the OS on SD card on Raspberry Pi or Odroid.)
  • Having a way to store stuff from downloader. (e.g. Saving the videos captured by your Ring Door Bell, which is an example in the official HA documentation)
  • Having a proper location for NVR tools (Network Video Recorder), such as Frigate.
  • Having MariaDB, InfluxDB (or Graphite, or Prometheus) running inside HA OS, but storing the long-term data onto a NAS.
  • Having all these large files outside the HA snapshots (backups), which will help making the snapshots much smaller and faster. (see this issue in influxdb add-on)
  • Having fewer writes to the SD card can make it last longer, offloading the writes to a dedicated NAS system that is optimized for storage.

There are two main needs:

  • Mount stuff to be available to the Home Assistant Core instance (running inside HA OS).
  • Mount stuff to be available to Add-ons (also running inside HA OS).

There is also the problem with the credentials. Where should those be stored? I trust HA developers can figure out a good solution.

I hope this way I can make it easier to understand why users want this kind of feature.

25 Likes

Thank you for your comment, i pinned it on the top.

1 Like

Better still, make the backup directly to the mounted NAS share, rather than create it on the HA device. This would be especially helpful for anyone running HA off an SD card (as the beginner instructions recommend.) Writing backups to the SD card is setting users up for failure.

Obviously that would require this feature request to be implemented, first.

2 Likes

Is there any option to mount the network disk to ha now?

1 Like

Option 1 (recomended):

Option 2:

1 Like

Upvoting this. Use case is the same as the original OP - I use the Frigate add-on, and would like to be able to store my recordings on my NAS rather than eating up my primary SSD. I currently use @ukro solution, but manually updating the fstab files after each OS update is a pain the !"Ā£$

The ability to keep mount points in /etc/fstab that persist across updates would allow people to keep network shares and secondary drives mounted easily for storage/backup purposes.

8 Likes

I completely agree. My NAS server is a lot slower then my HA server and would love to run jellyfin, plex and other stuff on my HA instance instead as running it in synology.

2 Likes

Itā€™s amazing that this isnā€™t possible. Why even have a Plex add-on without this ability. Seems like a massive oversight.

4 Likes

This is my use case as well, very similar to bjornb & othersā€¦ I spent a couple of days / late nights trying to figure out how I might achieve something like this before I finally gave up.

  • I want to use my QNAP NAS to serve my media files, but I want the frontend to run from Home Assistant OS on my Raspberry Pi
  • I also would like to store cam recordings, system backups, etc. directly on the NAS
5 Likes

I would love to see this implemented too.

1 Like

Lets go baby, more votes <3

1 Like

Being able to save / record to a network share would really be a smart choice.
I like that motionEye can record to network drive already but Frigate canā€™t for example and this is where an option like this would be very very useful :slight_smile:
Many thanks in advance!

3 Likes

Agreed, adding a network share right now is way too complicated for normal users

3 Likes

Also supporting this feature request. Not being able to mount a network drive is very restrictive and limiting.

2 Likes