Somehow today I have managed to mess up my folder & share structure.
I was trying to create a specific share for FTP use, but somehow the main data share got lost.
my /data share has several subfolders, with some having their own share.
In CLI i can see the shares but not access them. The link to the data folder on /CACHEDEV1_DATA is gone, and cant see the data folder anymore.
But in the interface I can still see it under Shared Folders, as can be seen in the attached picture.
Share references at least partially are still there:
[/share/CACHEDEV1_DATA] # grep ‘path =’ /etc/config/smb.conf
path = /share/CACHEDEV1_DATA/Web
path = /share/CACHEDEV1_DATA/Public
path = /share/CACHEDEV1_DATA/homes
path = /share/CACHEDEV1_DATA/data
path = /share/CACHEDEV1_DATA/data/Temp/Extra
path = /share/CACHEDEV1_DATA/data/Finished
path = /share/CACHEDEV1_DATA/data/Series
path = /share/CACHEDEV1_DATA/data/MP3
path = /share/CACHEDEV1_DATA/data/Software
path = /share/CACHEDEV1_DATA/data/Downloads
path = /share/CACHEDEV1_DATA/data/Backup
path = /share/CACHEDEV1_DATA/data/Movies
path = /share/CACHEDEV1_DATA/Multimedia
path = %H
path = /share/CACHEDEV1_DATA/camera
path = /share/CACHEDEV1_DATA/omada
Visible under share
ls -l /share
total 4
lrwxrwxrwx 1 admin administrators 26 2025-08-10 12:36 Backup → CACHEDEV1_DATA/data/Backup
drwxr-xr-x 46 admin users 4096 2025-08-10 13:32 CACHEDEV1_DATA/
lrwxrwxrwx 1 admin administrators 21 2025-08-10 12:36 camera → CACHEDEV1_DATA/camera/
lrwxrwxrwx 1 admin administrators 29 2025-08-10 12:36 Downloads → CACHEDEV1_DATA/data/Downloads
…
but not under CACHEDEV1_DATA
/share/CACHEDEV1_DATA] # ls -l /share/CACHEDEV1_DATA/
total 48
-rwxr-xr-x 1 admin users 7168 2025-08-10 12:34 aquota.user*
drwxr-xr-x 6 admin users 4096 2024-08-28 22:10 camera/
drwxr-xr-x 10 admin users 4096 2025-08-10 09:42 homes/
drwxr-xr-x 2 admin users 16384 2020-10-09 11:07 lost+found/
drwxr-xr-x 4 admin users 4096 2022-01-27 04:59 Multimedia/
drwxr-xr-x 3 admin users 4096 2025-08-10 09:51 omada/
drwxr-xr-x 5 admin users 4096 2025-08-10 12:36 Public/
drwxr-xr-x 3 admin users 4096 2025-08-10 09:28 Web/
So how do i recover the data share, possibly with all subfolders in tact?
I do have backups of the most important data, but it would save me reconfiguration of a bunch of stuff
