Files not appearing in mounted NAS

I’ve been reorganising storage on my Netgear ReadyNAS. I originally set up a ‘HomeAssistant’ share and connected it as Network Storage / NFS and everything was fine. After getting a couple of mount errors I have eventually got the HA mounts to connect. Backup works fine but a share folder to store blink videos is behaving oddly.

On HAOS I see this via ssh/port 22222:

/mnt/data/supervisor/mounts/ReadyNAS $ ls -al
total 3
drwxrwxrwx    1 98       98              58 Nov  2 22:58 .
drwxr-xr-x    4 root     root          4096 Nov  2 19:21 ..
drwxrwxrwx    1 98       98               0 Nov  2 22:58 backup
drwxrwxrwx    1 98       98               0 Nov  2 22:33 blink
/mnt/data/supervisor/mounts/ReadyNAS $ cd blink
/mnt/data/supervisor/mounts/ReadyNAS/blink $ ls -al
total 0
drwxrwxrwx    1 98       98               0 Nov  2 22:33 .
drwxrwxrwx    1 98       98              58 Nov  2 22:58 .

So that’s the working backup folder and an empty blink folder (created on the NAS).

But if I navigate to the /share folder in the HA terminal I get this:

➜  /share ls -al
total 16
drwxr-xr-x    4 root     root          4096 Nov  2 23:05 .
drwxr-xr-x    1 root     root          4096 Nov  2 23:06 ..
drwxr-xr-x    3 root     root          4096 Nov  2 23:05 ReadyNAS
drwxr-xr-x    2 root     root          4096 Nov  2 23:40 taildrop
➜  /share cd ReadyNAS
➜  ReadyNAS ls -al     
total 12
drwxr-xr-x    3 root     root          4096 Nov  2 23:05 .
drwxr-xr-x    4 root     root          4096 Nov  2 23:05 ..
drwxr-xr-x    3 root     root          4096 Nov  2 23:05 blink
➜  ReadyNAS cd blink          
➜  blink ls -al
total 12
drwxr-xr-x    3 root     root          4096 Nov  2 23:05 .
drwxr-xr-x    3 root     root          4096 Nov  2 23:05 ..
drwxr-xr-x    6 root     root          4096 Nov  2 23:05 snapshots
➜  blink cd snapshots
➜  snapshots ls -al      
total 24
drwxr-xr-x    6 root     root          4096 Nov  2 23:05 .
drwxr-xr-x    3 root     root          4096 Nov  2 23:05 ..
drwxr-xr-x    2 root     root          4096 Nov  2 23:40 camera.back_door
drwxr-xr-x    2 root     root          4096 Nov  2 23:40 camera.front_door
➜  snapshots cd camera.back_door
➜  camera.back_door ls -al
total 376
drwxr-xr-x    2 root     root          4096 Nov  2 23:40 .
drwxr-xr-x    6 root     root          4096 Nov  2 23:05 ..
-rw-r--r--    1 root     root         32388 Nov  2 23:05 20241102-2305.jpg
-rw-r--r--    1 root     root         47027 Nov  2 23:10 20241102-2310.jpg
-rw-r--r--    1 root     root         48549 Nov  2 23:15 20241102-2315.jpg
-rw-r--r--    1 root     root         48623 Nov  2 23:20 20241102-2320.jpg
-rw-r--r--    1 root     root         48421 Nov  2 23:25 20241102-2325.jpg
-rw-r--r--    1 root     root         48486 Nov  2 23:30 20241102-2330.jpg
-rw-r--r--    1 root     root         48568 Nov  2 23:35 20241102-2335.jpg
-rw-r--r--    1 root     root         48468 Nov  2 23:40 20241102-2340.jpg

So my automation to save a snapshot every 5 minutes is working and writing them to /share/ReadyNAS/blink… but this location isn’t the NAS because that’s still empty. Where exactly are these files going?

???

I should have been clearer. I have an automation to trigger blink cameras every 5 minutes and save the output to the NAS share

data:
  filename: >-
    /share/ReadyNAS/blink/snapshots/{{ '{{ entity_id.entity_id }}' }}/{{
    now().strftime("%Y%m%d-%H%M") }}.jpg

1 Like

File permission issue

HAOS is 98 but root owns the files you don’t see