WTH - Why can't I mount an SMB share, NFS, host volume, etc in HASSIO

A use case would be so MotionEye can save to an external drive / NAS

4 Likes

Another use case would be to store automatic snapshots to an external drive in case the storage medium gets corrupted.

1 Like

Sorry I wasnā€™t sure if you were responding to me or to the original poster.

To add to the other responders, there are many uses for additional disk space, or remote disk space.

I would love an NFS share for the config folder in Hassio, I find samba a bit flaky sometimes.

2 Likes

I have my supervised install mounted on a NFS share so the disk_use_percent sensor returns my NASā€™s free space

Iā€™ve got hassio running on top of Ubuntu (not a supported setup anymore it seems) and I mounted my nas with NFS into my /share folder. Works great, Iā€™ve got Motion Eye and Transmission addons saving onto the nas.

Turns out this ^ is a terrible idea. having NFS folder mounted in /share means my home assistant snapshots were trying to backup my entire NAS.

Is there a better way?

Canā€™t you exclude the /share folder from the snapshot?

Yes I have now! It was an unexpected change in behaviour though, as it didnā€™t follow the path to the nas when I set it up over a year ago

+1 Itā€™s hard to believe that this scenario is still not supported. It should be easy to add network drives via UNC to HASSIO for clip saving and such. Itā€™s insanity that this highly requested feature is being ignored.

Read the thread. It is supported.

Iā€™ve been trying for a while now (various methods from other threads on this forum) but so far have not succeeded. I want to mount my NAS music folder so that HA can see the files in the media Browser.

I think as far as the FR goes it should be a GUI option to select a source IP / folder etc to have it mounted, not by having to jump through hoops.

I guess youā€™ve assumed I havenā€™t? I appreciate your response, however, the point is it shouldnā€™t be this convoluted. Go to view, enter UNC. Why is this not a core feature?

There also isnā€™t much detail in how to achieve using the add-on you prescribe, and the packages you detail in this thread.

Because no one has written it.

You have posted here, thereby proving you can type. So type.

Thanks for the advice.

Possible and supported are not the same.

This is true. It is possible to mount NAS folder to the Media folder using shell_command: but although possible, this does not seem supported.
In fact, the documentation at Media Source - Home Assistant (home-assistant.io) seems to indicate it is not possible for remote folders to be added.
If someone can find official documentation for mounting a NAS folder to Home Assistant, then I am happy to be proven wrong, and will follow it myself to make it work :slight_smile:

I would actually like to map a folder for motionEye, as mentioned earlier in this thread, but not to the Media folder as I donā€™t want all my CCTV footage to appear in the Media Browser. Iā€™d like to have it map to a folder in the Share folder, but have not been able to get the mount to work. Can easily make the folder using shell_command and then mkdir command, but I canā€™t for the life of me work out how to mount the NAS folder to the dir.
Note: I am using Home Assistant OS on a Home Assistant Blue.

1 Like

I also would love to mount either an SMB share or an NFS export from HASSIO. My use case is:
I have integrated a Telegram bot into Node-RED running in HASSIO, and I want to be able to integrate either SMB or NFS commands to do the following:

  • Get directory listings
  • Change directory
  • Print the working/current directory
  • Download a file to my Telegram clientā€™s host (typically a mobile phone)
  • Upload a file from Telegram clientā€™s host (typically a mobile phone)

The main intent is to provide remote, secure (relative speaking, of course) access to files on my Synology NAS or other SMB or NFS device.

Why is there a plex addon if nas discs canā€™t be mounted?..
Should probably join forces and put u down a bounty for someone to implementā€¦

1 Like

Just donā€™t use ha os. Supervised on docker gives an almost identical experience and will solve ths