Nowadays we have plenty of addons for hassio which would make of hassio a pretty nice “home NAS.” (Sunchthing, nextcloud, samba etc.) But unfortunately it is not a really valid solution due to limitation of SD card space/price ratio. On the other hand the external hardrive might be a really good option. But unfortunatly that would require mounting solution on host level (to share across multiple addons). It is probably doable through developer ssh access (ssh port 2222) but that would defeat the whole point of running HASSIO.
Can we implement automaticall mount of external media to share folder? Or even better present an option for the user via web interface to chose the action?
Why not just move the entire hass.io to an external HD and boot straight from it? If you’re on a Pi3 that will work just fine (I’m using a 120GB 2.5" disk with a USB adapter right now).
Yes, you can, but I would rather prefer to keep system essentials and data separated. As a bonus you can adjust spindown for HDD since most probably you will not have constant syncing and to reduce noise from HDD. Which is not a possible solution in case of system hosted on HDD as it constantly works with DBMS.
Or use for external backups. I guess, since the box is running 24x7 we can come up with multiple options, but for now the main blocking factor is inability to access the external media using standard interfaces. If the host is more or less standard linux distro (which I am not sure about) it is pretty trivial task as well, just another udev rule . But that is question to HASSIO developers of cause.
Thanks. Not exactly what I expected it basically syncs files only one way of cause you cant share content of the external drive to other addons for instance through nextcloud or syncthing.
I’d like to reinforce this feature request, it seems like a very useful solution when you think about storing years of monitoring data in a database such as influxdb. I’d like to mount a network drive to hassio and be able to create my influxDB into it.
I concur. I would love to be able to have the pictures taken from my cameras stored on my local NAS. An ability to mount an external device from HASS.IO would be awesome.
(yes, I know there are all kinds of workarounds for that but it would still be awesome)
Also, being old-school where it was a given that the operating system and dynamic data (i.e. databases, content, logs) shall not share the same physical device. It would just be following protocol to have more than a single storage device available.