Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 [Samba NAS] external HDD not showing up #207

Closed
nixxon94 opened this issue Jan 27, 2024 · 2 comments
Closed

🐛 [Samba NAS] external HDD not showing up #207

nixxon94 opened this issue Jan 27, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@nixxon94
Copy link

Addon

SambaNAS

Description

formatted drive in ext 4 and added drive name to automount. drive is not showing up in media or file browser.

Reproduction steps

formatted drive in ext 4 and added drive name to automount. drive is not showing up in media or file browser.
running on rpi 4 b

Addon Logs

Supported fs: 	ext3	ext2	ext4	squashfs	vfat	msdos	f2fs	fuseblk	ntfs3	exfat	btrfs	xfs
Supported fusefs: apfs  
---------------------------------------------------
[15:51:06] INFO: MediaLibrary disabled in config. Disk are mounted only for this addon!
---------------------------------------------------
[15:51:06] INFO: Available Disk Labels:
[15:51:06] INFO: 	data[ext4]
---------------------------------------------------
[15:51:06] INFO: MoreDisks to mount:

	data
[15:51:06] INFO: Automount is Enabled!
---------------------------------------------------
[15:51:06] INFO: Checking Mounting disks for reserved names:

	data
---------------------------------------------------
---------------------------------------------------
[15:51:07] INFO: Mounting disks:

	data
---------------------------------------------------
[15:51:08] INFO: Mount data[ext4] Success!
s6-rc: info: service init-automount successfully started
s6-rc: info: service init-smartd: starting
s6-rc: info: service init-samba: starting
s6-rc: info: service hd-idle: starting
s6-rc: info: service hd-idle successfully started
[15:51:08] INFO: Hostname: homeassistant
[15:51:08] INFO: Interfaces: end0 wlan0 
[15:51:08] INFO: Docker Interface: hassio 172.30.32.0/23
[15:51:08] INFO: Enabling S.M.A.R.T for /dev/sda
smartctl 7.4 2023-08-01 r5530 [aarch64-linux-6.1.63-haos-raspi] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org

Read Device Identity failed: scsi error unsupported field in scsi command

If this is a USB connected device, look at the various --device=TYPE variants
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
s6-rc: info: service init-smartd successfully started
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.
---------------------------------------------------
[15:51:09] INFO: Exposed Disks Summary:
[CONFIG]                path = /homeassistant # TM:false#
[ADDONS]                path = /addons # TM:false#
[SSL]                   path = /ssl # TM:false#
[SHARE]                 path = /share # TM:false#
[BACKUP]                path = /backup # TM:false#
[MEDIA]                 path = /media # TM:false#
[ADDON_CONFIGS]         path = /addon_configs # TM:false#
[DATA]                  path = /mnt/data # TM:true#
---------------------------------------------------
s6-rc: info: service init-samba successfully started
s6-rc: info: service init-mqtt: starting
s6-rc: info: service wsdd: starting
s6-rc: info: service smbd: starting
s6-rc: info: service nmbd: starting
s6-rc: info: service avahi: starting
s6-rc: info: service wsdd successfully started
s6-rc: info: service nmbd successfully started
s6-rc: info: service smbd successfully started
s6-rc: info: service cifs-supervisor-mount: starting
s6-rc: info: service avahi successfully started
s6-rc: info: service cifs-supervisor-mount successfully started
[15:51:09] INFO: Starting the wsdd daemon for WORKGROUP/homeassistant...
[15:51:09] INFO: Starting the AVAHI for homeassistant...
Waiting for daemon ...
[15:51:09] INFO: MQTT support not enabled in config
s6-rc: info: service init-mqtt successfully started
s6-rc: info: service mqtt-disk-handler: starting
s6-rc: info: service mqtt-disk-handler successfully started
s6-rc: info: service mqtt-handler: starting
[15:51:09] INFO: Interfaces: -i end0 -i wlan0 
s6-rc: info: service mqtt-handler successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
2024-01-27 15:51:10,218:wsdd INFO(pid 349): using pre-defined UUID cb6a33a0-b841-531d-a34e-09ecec492eb1
2024-01-27 15:51:10,222:wsdd INFO(pid 349): joined multicast group 239.255.255.250 on 192.168.178.75%end0
2024-01-27 15:51:10,228:wsdd INFO(pid 349): scheduling Hello message via end0 to 239.255.255.250%end0
2024-01-27 15:51:10,240:wsdd INFO(pid 349): joined multicast group [ff02::c] on fe80::d762:620c:44af:f8c1%end0
2024-01-27 15:51:10,242:wsdd INFO(pid 349): scheduling Hello message via end0 to ff02::c%end0
2024-01-27 15:51:10,283:wsdd INFO(pid 349): 192.168.178.43 - - "POST /cb6a33a0-b841-531d-a34e-09ecec492eb1 HTTP/1.1" 200 -
2024-01-27 15:51:10,292:wsdd INFO(pid 349): fe80::973c:c25c:3db8:ee - - "POST /cb6a33a0-b841-531d-a34e-09ecec492eb1 HTTP/1.1" 200 -
nmbd version 4.18.9 started.
smbd version 4.18.9 started.
Copyright Andrew Tridgell and the Samba Team 1992-2023
Copyright Andrew Tridgell and the Samba Team 1992-2023
INFO: Profiling support unavailable in this build.
*****

Samba name server HOMEASSISTANT is now a local master browser for workgroup WORKGROUP on subnet 192.168.178.75

*****
*****

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

*****

Addon Config

workgroup: WORKGROUP
username: homeassistant
allow_hosts:
  - 10.0.0.0/8
  - 172.16.0.0/12
  - 192.168.0.0/16
  - 169.254.0.0/16
  - fe80::/10
  - fc00::/7
automount: true
moredisks:
  - data
mountoptions:
  - nosuid
  - relatime
  - noexec
available_disks_log: true
medialibrary:
  enable: false
veto_files:
  - ._*
  - .DS_Store
  - Thumbs.db
  - icon?
  - .Trashes
compatibility_mode: false
recyle_bin_enabled: false
wsdd2: false
mqtt_nexgen_entities: false
autodiscovery: {}
other_users: []
acl: []
interfaces: []
password:

Architecture

armv7

OS

HaOS

@nixxon94 nixxon94 added the bug Something isn't working label Jan 27, 2024
@dianlight
Copy link
Owner

Media library is disabled in config so you can't see the share inside the ha media folder but only from network.


medialibrary:
  enable: true

@nixxon94
Copy link
Author

Thank you so much! works perfectly :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants