[New Addon] Samba NAS. (Mount external disk and share it )

i created an FUSE exfat 1.3.0 disk formatted etc… empty specially for samba NAS usage. It’s totally empty.
I tried to create folder on the root of the disk : it worked : “new folder” appear, but no way to rename/delete. Same for files in the folder.

i turn the disk to ext4 and now everything work.
can we have 2 disks and one to be used for backup the first?

After installing your samba share, windows side show system error 67 has occurred, the network name cannot be found. If I use the old samba share, the network share is ok. Please help.

Can you share your config and addon logs?
I suggest to open a issue in the project GitHub repository. Is a better place to track and resolve issues.

L

Hi Lucio,

Please see below.

workgroup: WORKGROUP
username: homeassistant
password: xxxxxxxx
interface: ‘’
allow_hosts:

  • 10.0.0.0/8
  • 172.16.0.0/12
  • 192.168.2.0/24
  • ‘fe80::/10’
    moredisks:
  • /1111
    veto_files:
  • ._*
  • .DS_Store
  • Thumbs.db
  • icon?
  • .Trashes
    compatibility_mode: false
    autodiscovery: {}

[s6-init] making user provided files available at /var/run/s6/etc…exited 0.
[s6-init] ensuring user provided files have correct perms…exited 0.
[fix-attrs.d] applying ownership & permissions fixes…
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts…
[cont-init.d] automount.sh: executing…
[20:35:18] INFO: Protection Mode is false
[20:35:18] WARNING: MoreDisk option found!
[20:35:18] INFO: More Disks mounting… /1111
[20:35:18] INFO: Mount /1111
[20:35:21] INFO: Success!
[cont-init.d] automount.sh: exited 0.
[cont-init.d] mqtt.sh: executing…
[cont-init.d] mqtt.sh: exited 0.
[cont-init.d] samba.sh: executing…
[20:35:22] INFO: Hostname: debian
tdbsam_open: Converting version 0.0 database to version 4.0.
tdbsam_convert_backup: updated /var/lib/samba/private/passdb.tdb file.
Added user homeassistant.
[cont-init.d] samba.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
nmbd version 4.12.9 started.
Copyright Andrew Tridgell and the Samba Team 1992-2020
daemon_ready: daemon ‘nmbd’ finished starting up and ready to serve connections
[20:35:22] INFO: Starting the MQTT daemon for disks info…
[20:35:22] INFO: Starting the AVAHI daemon for debian…
Server version: avahi 0.7; Host name: debian.local
smbd version 4.12.9 started.
Copyright Andrew Tridgell and the Samba Team 1992-2020
INFO: Profiling support unavailable in this build.
daemon_ready: daemon ‘smbd’ finished starting up and ready to serve connections
[20:35:22] INFO: Sending MQTT autodiscovery…
Established under name ‘debian’


Samba name server DEBIAN is now a local master browser for workgroup WORKGROUP on subnet 172.17.0.1



Samba name server DEBIAN is now a local master browser for workgroup WORKGROUP on subnet 172.30.32.1


any hints for me ?

Please format your code. Also, given by that you should’ve been given a warning about that, you should probably read How to help us help you - or How to ask a good question.

Could you help me to set external disk path for transmission download destination,

You are at on Debian non on ha operating system right? I suggest you to don’t use the NAS addon to expose disk and use the native host system.

If you need mount the disk from nas addon need to mount its from network via cifs protocol. I don’t know if you can in trasmission addon.

L

How did you manage to write files on your USB drive?
When I try it from my windows 10 computer it says that I don’t have the permissions. :frowning:

Edit: I fix it by formatting the disk drive on the format ext4.

What error?

Hello, thanks for your great work.
I am running into something when i try to update the configuration of the plex app you created.

When i want to update the config and press save, the changed settings are deleted and the default config is back.

I run on Rapsberyy PI 3b … the Samba share app is working. Can you help me?

If you do not save the configurations there is probably an error and they are invalid. You should have the description on screen.
Can you post the configuration you are trying to save?

thanks for your help but there is nothing posted as error messag… you can fill in anything you want… press save and the default config is back (as per my screenshot above) … I don’t see anything in the HA error log… is there any other way of updating the config other then in this part of the add on?

You can change the config manually on host but is not an option. If your config resets there is a problem.

  • Have you try to remove and readd the addon?
  • Have you try an host reboot?
  • What is your operating system and supervisor version?

L.

Hi lucio,

I readded but that did not work… neither did the reboot.
see below my version overview

image

Thanks for your help!

Core version?
I need you post an example of config you try to save. It is the first time I meet this issue.

I think you’re confused about what to put in networkdisks.

how can i disable protection mode ? i want to use two external disks (hdd) installed in single enclosure connected to hass os running on raspi 4 8gb version. i have this add-on installed already but don’t know how can i add those external disks to be used as storage in homeassistant.

It’s in the main addon page. If you can’t find it, send a screenshot.