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
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.
thanks i found it. i have added the external usb drive to my raspi 4, added the label to configuration but can’t see it. the format of this external drive is exfat.
i have a local hdd in my INTEL NUC that i want to use as a motion eye storage
can i mount it to a path using this addon ?
after starting the addon its crashing after a few seconds
end of log shows this
s6-maximumtime: warning: unable to wait for child process: Operation timed out
[cont-finish.d] mqtt.sh: exited 99.
[cont-finish.d] umount.sh: executing…
[10:12:56] INFO: Unmount drivers.
umount: /dev: target is busy.
[cont-finish.d] umount.sh: exited 32.
[cont-finish.d] done.
[s6-finish] waiting for services.
s6-svwait: fatal: unable to subscribe to events for /var/run/s6/services/nmbd: Read-only file system
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
Trying to connect my WD My Book 4TB to be exposed as a NAS so I can use for for mac backups (Time Machine). The DAS works when I connect it directly to my mac.
But using this add on, I am encountering the following error message in the logs:
[15:44:24] INFO: Protection Mode is false
[15:44:24] WARNING: MoreDisk option found!
[15:44:24] INFO: More Disks mounting.. MyBookOren
[15:44:24] INFO: Mount MyBook
mount: /MyBook: wrong fs type, bad option, bad superblock on /dev/sda2, missing codepage or helper program, or other error.
[15:44:24] WARNING: Unable to mount external drivers!
Any idea how to go about solving this?
What type of FS you use on WD My Book for the partition MtBookOren?
AFS and HFS+ is not supported. You need to use an ext4 partition. Remember that ha works on top of a Linux host.
L.
This is the filesystem that my Mac automatically formatted it to work with Time Machine.
Do you know how can I get it to work with Time Machine as an ext4?
A local timemachine disk is different from a remote.
Your disk is a local, you connect to Mac by usb/th and needed to be afs or hfs+.
A remote disk is exposed by a NAS and the fs need to be rw for nas.
You need to reformat the partition with a Linux box and then after mount by Smbnas select as external tm target. You lose the current backup and need to begin from scratch.
L
I had this working fine until I broke my home assistant, no snapshots so couldnt restore so I have had to start a fresh.
Anyway as I say it worked fine but now it will not mount the drive at all.
[13:47:01] INFO: Starting the Plex Media Server...
[13:47:01] INFO: Network Disks mounting.. \192.168.1.23/share
[13:47:01] INFO: Mount \192.168.1.23/share
mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
[13:47:12] WARNING: Protection mode is ON. Unable to mount external drivers!
Protection mode is OFF but it says its on ?
as far as I can tell everything is the same as it was before but now it wont mount the drive
claim_code: claim-***********************
webtools: false
networkdisks:
- \\192.168.1.23/share
cifsusername: shaved-ape***************
cifspassword: ***************
cifsversion: '3.0'
ive tried \192.168.1.23\share and //192.168.1.23/share etc nothing seems to work very confusing as I say it definately worked previously
edit im an idiot I had my vpn connected
The addon may be stopping me from creating snapshots.
I was able to create a snapshot fine until I installed the addon and now I get errors like system is in start up state etc
This was the case in my previous HA too but I wasnt sure it was this addon this time however i tried snapshots when I had installed something new.
** EDIT
So this was working perfectly before my recent issues and I cant figure out whats wrong now.
If i have a vpn running my network share will not mount and access to it will be blocked if i turn on the vpn after mounting. Ive disabled firewalls and searched and searched for anything else that might work. I can be on the host machine where the share is which also contains my VM Hass and soon after enabling the vpn I can no longer access anything on the plex server.
If anyone has any idea how I can fix this I would be very very grateful.
i mounted a seagate external harddisk and connect from windows, i tried copy or delete file but failed, say its write protected, in the log shows this:
fruit_unlink_internal: Forced unlink of [System Volume Information/tracking.log:AFP_Resource] failed [Read-only file system]
can anyone teach me how to fix this?
Hello everybody!
i have mount with sucess :
[23:04:10] WARNING: MoreDisk option found!
[23:04:10] INFO: More Disks mounting.. cameras
[23:04:10] INFO: Mount cameras
[23:04:10] INFO: Success!
and have the folder visible and usable with windows pc,
but when i want to record my cameras streams (under Home Assistant with a script) in /cameras it doesnt work. It only works in /media
I have put in config.yaml
media_dirs:
local: /media
cameras: /cameras
i get this error :
Not a directory for dictionary value @ data['media_dirs']['cameras']
i tried :
media_dirs:
cameras: '/dev/disk/by-label/cameras'
and
media_dirs:
cameras: '/dev/sdb1/cameras'
same error doesnt passed config check
any idea please?
i am under HassOs, latest core and supervisor.
please @Lucio_Tarantino can you help? is there a way to write to the “moredisk” option define in the settings of your addon please?
EDIT : find a better way : add a SSD dedicated to camera streams record : [SOLVED] Mount USB drive in Hassio to be used on the Media Folder with udev customization - #5 by paoloantinori
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.