for those are interested…in combinaison with https://community.home-assistant.io/t/add-on-hassos-ssh-port-22222-configurator/264109 the mount works automaticaly…after install this add on…
First i install the samba add on and as i said in my previous post, it works on the first boot, but not after a reboot of HassOs.
Then i try to mount my sdb1 disk manually, what works but just mannually and i dont find any solution to make it mount automaticaly (like with the ssh@terminal Add on and his “init_command” option).
Then i found this post about the 22222 port ssh add on, try it, it works for ssh from putty on port 22222 with root privileges.
After a reboot i try to mount my sdb1 disk with no luck in terminal of the the ssh&terminal addon, and the mount command provide a “no such file or directory” and i realise that the disk sdb1 is already mount as expected, i have a the “usbstorage” folder (who is the label of my disk in ext4 format) in /media !!!
then i type “df” in terminal and see the sdb1 mount in /media/usbstorage.
Works after reboot host and restart HA.
so nice!!!
hope it can help other. For me its to store the recording stream of my ESP32-cam and RpiZeroW cam with motion eyeOs.
the folder is accessible with samba add on too with a Win10 PC on my LAN, and is visible with multimedia navigator in HA, so i can play and watch the video encoded in H264 with ffmpeg of all my ESP32-cam or motioneye cam based on Rpi0W.