So I saw in the release notes that as of Home Assistant OS version 10 there is support for mounting NFS.
I would like to do this to enable the Frigate Add-on to store it’s data on an external NFS-server.
Are there any recent documentation or guides on how to do this?
Hi,
I’ ve been looking for the same answer. Update at the end My setup is:
HASSOS on PROXMOX, network share and Frigate
Home Assistant 2023.5.3
Supervisor 2023.04.1
Operating System 10.1
Frontend 20230503.3 - latest
running under pve in container (size:32GB) and the fileserver (Debian GNU/Linux 11 (bullseye)) in lxc with Cockpit. The shared dirs everywhere else are working (smb and nfs with full access and Timemachine also)
I have Cams, and Frigate add-on installed (not supporting volume settings).
(Full Access)
Current version: 0.12.0
The recordings and clips should not to be saved to HAOS container.
What i tried
mount -t nfs4 -o rw 192.168.1.234:/media/dockervolumes/frigate /media/frigate
result allways the followings:
Read-only and didn’t mount it
mount: /media/frigate: cannot mount 192.168.1.234:/media/dockervolumes/frigate read-only.
dmesg(1) may have more information after failed mount system call.
Now google is my friend, and searched the web and found the followings:
You just need to achive the access i to the container which is also explained in one of the subjects…cant find it while typing this answer but will see if i can add it in a second
I followed the links but the guides are all dated before the 10.0 release.
According to the release notes for Homes Assistant 10 was released on 17 April 2023 and it had this:
Add support for NFS and SMB/CIFS network file systems (#2446)
So my assumption is that there is now a easier way to do this, but maybe there are no guides yet?
Hi,
The guide is correct, I tried and have success.
As I wrote before, I use HASSOS in proxmox container, and I have an empty ubuntu container for testing purposes.
I stpped HA an modified the ubuntu srv conf to mount hassos disk.
I modified the fstab for my needs, because I use nfs share.
So the relevant fstab row is:
Reminder guyz, after update of HA may change the fstab again. For now the option with automated script works for me fine, some time back i updated the script to have logs and take fstab from RW partition.
And as mentioned, Changes aren’t visible to other add-ons if you do it differently.
Working solution: