Nie wytłumaczę, ale jeśli przekroczysz 100% to zwalę na błąd zliczania.
jeszcze jedna sprawa , Zamontowałem Sambę nas według powyższej instrukcji .
Folder System utworzył się w config jak również w folderze media .
Chcę ustawić zapis z kamery po wykryciu ruchu jak powinna nazywać się ścieżka aby zapisywała na system czyli na dodanym dysku USB .
dam przykład : /system/zapis_z_kamery.m4
czy: /media/system/zapis_z_kamery.mp4
Cześć, Mam HA postawiony na raspberry pi4. Migrowany na dysk SSD. Chciałbym podłączyć dodatkową pamięć USB na dodatku samba NAS. Jednak coś idzie nie tak… poniżej logi
Samba NAS
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service init-automount: starting
[08:09:17] INFO: Protection Mode is true
[08:09:17] WARNING: MoreDisk and Automount ignored because ADDON in Protected Mode!
[08:09:17] WARNING:
[08:09:17] WARNING: A recommended add-on configuration option is not set.
[08:09:17] WARNING:
[08:09:17] WARNING: The configuration key 'protected' seems to be empty.
[08:09:17] WARNING:
[08:09:18] WARNING:
[08:09:18] WARNING: Consider configuring this because:
[08:09:18] WARNING: moredisk only work when Protection mode is disabled
[08:09:18] WARNING: Check the add-on manual for more information.
[08:09:18] WARNING:
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
[08:09:18] INFO: Hostname: Qwerthon
[08:09:18] INFO: Interfaces: wlan0 end0
[08:09:18] INFO: Enabling S.M.A.R.T for #
smartctl 7.4 2023-08-01 r5530 [aarch64-linux-6.1.73-haos-raspi] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org
[08:09:18] INFO: Docker Interface: hassio 172.30.32.0/23
#: Unable to detect device type
Please specify device type with the -d option.
Use smartctl -h to get a usage summary
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 qwerthon.
---------------------------------------------------
[08:09:18] INFO: Exposed Disks Summary:
[CONFIG] path = /homeassistant # TM:false FS:native RECYCLEBIN #
[ADDONS] path = /addons # TM:false FS:native RECYCLEBIN #
[SSL] path = /ssl # TM:false FS:native RECYCLEBIN #
[SHARE] path = /share # TM:false FS:native RECYCLEBIN #
[BACKUP] path = /backup # TM:false FS:native RECYCLEBIN #
[MEDIA] path = /media # TM:false FS:native RECYCLEBIN #
[ADDON_CONFIGS] path = /addon_configs # TM:false FS:native RECYCLEBIN #
---------------------------------------------------
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 smbd successfully started
s6-rc: info: service wsdd successfully started
s6-rc: info: service nmbd successfully started
s6-rc: info: service cifs-supervisor-mount: starting
s6-rc: info: service avahi successfully started
[08:09:18] INFO: Starting the AVAHI for Qwerthon...
Waiting for daemon ...
[08:09:18] INFO: MQTT support not enabled in config
s6-rc: info: service init-mqtt successfully started
[08:09:18] INFO: Starting the wsdd daemon for WORKGROUP/Qwerthon...
s6-rc: info: service cifs-supervisor-mount 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
s6-rc: info: service mqtt-handler successfully started
s6-rc: info: service legacy-services: starting
[08:09:18] INFO: Interfaces: -i wlan0 -i end0
s6-rc: info: service legacy-services successfully started
2024-03-22 08:09:19,346:wsdd INFO(pid 288): using pre-defined UUID cb6a33a0-b841-531d-a34e-09ecec492eb1
2024-03-22 08:09:19,349:wsdd INFO(pid 288): joined multicast group 239.255.255.250 on 192.168.18.36%end0
2024-03-22 08:09:19,354:wsdd INFO(pid 288): scheduling Hello message via end0 to 239.255.255.250%end0
2024-03-22 08:09:19,410:wsdd INFO(pid 288): joined multicast group [ff02::c] on fe80::7743:baef:616b:5a1%end0
2024-03-22 08:09:19,413:wsdd INFO(pid 288): scheduling Hello message via end0 to ff02::c%end0
2024-03-22 08:09:19,744:wsdd INFO(pid 288): 192.168.18.37 - - "POST /cb6a33a0-b841-531d-a34e-09ecec492eb1 HTTP/1.1" 200 -
2024-03-22 08:09:19,749:wsdd INFO(pid 288): 192.168.18.37 - - "POST /cb6a33a0-b841-531d-a34e-09ecec492eb1 HTTP/1.1" 200 -
nmbd version 4.18.9 started.
Copyright Andrew Tridgell and the Samba Team 1992-2023
smbd version 4.18.9 started.
Copyright Andrew Tridgell and the Samba Team 1992-2023
INFO: Profiling support unavailable in this build.
*****
Samba name server QWERTHON is now a local master browser for workgroup WORKGROUP on subnet 192.168.18.36
*****
*****
Samba name server QWERTHON is now a local master browser for workgroup WORKGROUP on subnet 172.30.32.1
*****
Moja konfiguracja
Pendrive sformatowany FAT32…
Dokładnie - Samba-NAS MUSI mieć podwyższone uprawnienia.
Może od razu uprzedzę o innych niedogodnościach - Dodatki startują później niż OS, więc mając w systemie podmontowane udziały takiej samohostowanej Samby będą błędy montowania na starcie - należy wtedy udziały przeładować ręcznie (lub zorganizować sobie jakąś automatyzację), jakkolwiek system system restartujemy rzadko (w zasadzie poza aktualizacjami systemu to zazwyczaj nigdy).
Mieliście rację! Wystartował po zmianie ochrony. Dziękuję!