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.
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
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]
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.
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!