#external harddrive
1 messages · Page 1 of 1 (latest)
by "supervised" I assume you actually mean HAOS. what is your actual goal here? using HA as a NAS?
Yes hasos indeed. The goal is just to put data on the harddisk such as Photos and movies
And i can access the files via a netwerkshare
This is not really something that HAOS is designed to do, however there are a few options. There is a custom App (Addon) called SambaNas on THIS repo with a readme HERE and documentation HERE however it is in maintenance mode whilst the dev works on SambaNas2 however I beleive it works and is probably the easiest way to do what you want.
I haven't used this app personally but have heard that people have got it working nicely.
Is there a way by just doing it by haOS itself? I tried to mount it via the terminal, but keeps saying I need root access
You would need to get to the host shell (not just the terminal app) then you can create a udev rule to mount the drive mounting it to a point inside the share directory. Then you can can use the official "Samba share" App. You have to be sure to exclude your share directory from backups though otherwise it will try and backup the external drive and fill your boot drive.
hmmm oke thanks. So the official samba share addon can run at the same time as the custom addon Samba nas ?
because i am running the samba share addon also now
I wouldn't think so, You would get a port clash.