It is with great pleasure that I announce the availability of version 9.5.1-nas1 of this add-on.
The most exciting new feature is THE POSSIBILITY TO MOUNT DISKS DIRECTLY FROM THE HOST so that they are visible also to other addons and to the Media Browser.
The price for the functionality is to have a HassOS installation (it doesn’t work with other installation types) and to have configured SSH access on port 22222 of the host.
WARNING: It’s an experimental feature, even if I’ve tested it for more than a month without having problems it could cause corruption in the data and in the installation.
WARNING: It is necessary to pass the private key ssh in the configuration of the add-on so eye to security.
So I used a rpi3 to format a 3.7tb hard drive. Then removed the external har drive and plugged into my pi 4 running this add on. The add on runs fine, but I don’t see the external. I figure I need to add to the configuration but what exactly? Thank you
@Lucio_Tarantino Thank you for your addon! I just started looking into the new medialibrary option and realized that you only support RSA keys (as the filename id_rsa is hardcoded in automount.sh. Would you consider making the filename/key type configurable (so as to allow id_ed25519 keys, for example)? Or would you be open to accepting a PR for that?
I read through the previous messages but I am running into some issues. I installed the add-on on Debian 11 and it runs fins but I am seeing data in all shares.
config maps ok to /usr/share/hassio/homeassistant
backup maps ok to /usr/share/hassio/backup
media maps ok to /usr/share/hassio/media
but the addons folder is empty and I seem to be unable to add other folders.
I tried to add my /home path in the moredisk section but mapping does not seem to work. Any idea on how I could troubleshoot ?
Hello,
Just installed the addon and it woks great.
Only one thing is weird, I have 2 drives connected to usb ports, and in the log I see both get Mounted with success.
But When I browse to it through SMB, I only see one.
And even weirder I see the name of the first drive but in fact the content is from the second drive
[15:46:53] INFO: Protection Mode is false
[15:46:53] INFO: MoreDisk option found!
[15:46:53] INFO: MediaLibrary disabled in config. Disk are mounted only for this addon!
[15:46:53] INFO: More Disks mounting… My-Book
Drive-2
[15:46:53] INFO: Mount My-Book
FUSE exfat 1.3.0
[15:46:54] INFO: Success!
[15:46:54] INFO: Mount Drive-2
[15:46:55] INFO: Success!
[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...
[14:15:55] INFO: Protection Mode is false
[14:15:56] INFO: MoreDisk option found!
[14:15:56] INFO: MediaLibrary option found!
Warning: Permanently added '[192.168.100.2]:22222' (ECDSA) to the list of known hosts.
Tue Nov 2 14:15:57 CET 2021
[14:15:57] INFO: SSH connection to 192.168.100.2:22222 OK
[14:15:57] INFO: Available Disk Labels:
External
[14:15:57] INFO: More Disks mounting.. External
[14:15:57] INFO: Mount External
mount: mounting /dev/disk/by-label/External on /mnt/data/supervisor/media/External failed: No such file or directory
[14:15:57] WARNING: Host Mount Fail!
[14:16:33] INFO: Success!
[cont-init.d] automount.sh: exited 0.
If I manually make missing directory the error changes to “Permission denied”, regardless of permissions on the directory.
Using an ext4 disc via USB in a pi4, and accessing from Linux.
Any ideas?
Not enough information. I need to know your addon config ( mask sensible information like password, key etc ) and your environment ( hw, hassos version etc etc ).
I also ask to open a issue on Issues · dianlight/hassio-addons · GitHub is a better place to trace it.