You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the partition is formatted exfat and I am able to write to it by mounting it on the mac i am trying to back up
I used to be able to back up another Mac to it (set up 3 years ago); lately i follow up with ~1 years of updates on HA and now i am not able to use it anymore as TM backup disk.
I suspect the set-up I had involved ssh into the container, but I can't recall the steps.
I can ssh to p 22222 .
thank you in advance for the time to read the issue and any eventual support you can offer.
Reproduction steps
no reproduction steps. any share does not get recognised as TimeMachine.
Addon Logs
-----------------------------------------------------------
Add-on: Samba NAS
Expose Home Assistant disc with SMB/CIFS
-----------------------------------------------------------
Add-on version: 12.2.0-nas2
You are running the latest version of this add-on.
System: Home Assistant OS 13.1 (aarch64 / raspberrypi4-64)
Home Assistant Core: 2024.8.3
Home Assistant Supervisor: 2024.08.0
-----------------------------------------------------------
Please, share the above information when looking forhelp
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
Log level is set to INFO
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
[21:23:16] INFO: Protection Mode is false
[21:23:16] INFO: MoreDisk or Automount option found!
---------------------------------------------------
Supported fs: ext3 ext2 ext4 squashfs vfat msdos f2fs erofs fuseblk hfsplus exfat ntfs3 btrfs xfs
Supported fusefs: apfs
---------------------------------------------------
[21:23:16] INFO: MediaLibrary disabled in config. Disk are mounted only for this addon!
---------------------------------------------------
[21:23:17] INFO: Available Disk Labels:
[21:23:17] INFO: EFI[vfat]
[21:23:17] INFO: Storage[ext4]
[21:23:17] INFO: Mac13[exfat]
[21:23:18] INFO: Mac15[hfsplus]
---------------------------------------------------
[21:23:18] INFO: MoreDisks to mount:
Mac13
Mac15
Storage
[21:23:18] INFO: Automount is Enabled!
---------------------------------------------------
[21:23:18] INFO: Checking Mounting disks for reserved names:
EFI
Mac13
Mac15
Storage
---------------------------------------------------
---------------------------------------------------
[21:23:18] INFO: Mounting disks:
EFI
Mac13
Mac15
Storage
---------------------------------------------------
[21:23:18] WARNING: Your EFI is vfat. Permissions and ACL don't works and this is an EXPERIMENTAL support[21:23:18] INFO: Mount EFI[vfat] Success![21:23:18] WARNING: Your Mac13 is exfat. Permissions and ACL don't works and this is an EXPERIMENTAL support
[21:23:18] INFO: Mount Mac13[exfat] Success!
mount: /mnt/Mac15: WARNING: source write-protected, mounted read-only.
[21:23:18] INFO: Mount Mac15[hfsplus] Success!
[21:23:19] INFO: Mount Storage[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
ENSEC backend 'sasl-EXTERNAL' registered
GENSEC backend 'ntlmssp' registered
GENSEC backend 'ntlmssp_resume_ccache' registered
GENSEC backend 'http_basic' registered
GENSEC backend 'http_ntlm' registered
GENSEC backend 'http_negotiate' registered
Got NTLMSSP neg_flags=0x62888215
Got user=[*] domain=[HOMEASSISTANT] workstation=[MAC-B030AB] len1=24 len2=288
check_ntlm_password: Checking password for unmapped user [HOMEASSISTANT]\[*]@[MAC-B030AB] with the new password interface
check_ntlm_password: mapped user is: [HOMEASSISTANT]\[*]@[MAC-B030AB]
Forcing Primary Group to 'Domain Users'for*
Forcing Primary Group to 'Domain Users'for*
auth_check_ntlm_password: sam_ignoredomain authentication for user [*] succeeded
Auth: [SMB2,(null)] user [HOMEASSISTANT]\[*] at [Sun, 25 Aug 2024 19:23:24.465931 UTC] with [NTLMv2] status [NT_STATUS_OK] workstation [MAC-B030AB] remote host [ipv4:192.168.1.191:50397] became [HOMEASSISTANT]\[*] [S-1-5-21-851995216-2590405848-3456420459-1000]. local host [ipv4:192.168.1.219:445]
{"timestamp": "2024-08-25T19:23:24.466146+0000", "type": "Authentication", "Authentication": {"version": {"major": 1, "minor": 2}, "eventId": 4624, "logonId": "0", "logonType": 3, "status": "NT_STATUS_OK", "localAddress": "ipv4:192.168.1.219:445", "remoteAddress": "ipv4:192.168.1.191:50397", "serviceDescription": "SMB2", "authDescription": null, "clientDomain": "HOMEASSISTANT", "clientAccount": "*", "workstation": "MAC-B030AB", "becameAccount": "*", "becameDomain": "HOMEASSISTANT", "becameSid": "S-1-5-21-851995216-2590405848-3456420459-1000", "mappedAccount": "*", "mappedDomain": "HOMEASSISTANT", "netlogonComputer": null, "netlogonTrustAccount": null, "netlogonNegotiateFlags": "0x00000000", "netlogonSecureChannelType": 0, "netlogonTrustAccountSid": null, "passwordType": "NTLMv2", "duration": 11265}}
check_ntlm_password: authentication for user [*] -> [*] -> [*] succeeded
lp_load_ex: refreshing parameters
Initialising global parameters
Processing section "[global]"
Processing section "[CONFIG]"
Processing section "[ADDONS]"
Processing section "[SSL]"
Processing section "[SHARE]"
Processing section "[BACKUP]"
Processing section "[MEDIA]"
Processing section "[ADDON_CONFIGS]"
Processing section "[EFI]"
Processing section "[MAC13]"
Processing section "[MAC15]"
Processing section "[STORAGE]"
adding IPC service
NTLMSSP Sign/Seal - Initialising with flags:
Got NTLMSSP neg_flags=0x62088215
NTLMSSP Sign/Seal - Initialising with flags:
Got NTLMSSP neg_flags=0x62088215
Failed to fetch domain sid for WORKGROUP
Adding homes service for user '*' using home directory: '/home/*'
Allowed connection from 192.168.1.191 (192.168.1.191)
string_to_sid: SID _ha_mount_user_ is not in a valid format
string_to_sid: SID * is not in a valid format
Forcing Primary Group to 'Domain Users'for*
Failed to fetch domain sid for WORKGROUP
Forced user root
Forced group root
make_connection_snum: Connect path is '/mnt/Mac13'for service [MAC13]
string_to_sid: SID _ha_mount_user_ is not in a valid format
string_to_sid: SID * is not in a valid format
Forcing Primary Group to 'Domain Users'for*
Initialising default vfs hooks
Initialising custom vfs hooks from [/[Default VFS]/]
Initialising custom vfs hooks from [catia]
load_module_absolute_path: Module '/usr/lib/samba/vfs/catia.so' loaded
string_to_sid: SID _ha_mount_user_ is not in a valid format
string_to_sid: SID * is not in a valid format
Forcing Primary Group to 'Domain Users'for*
mac-b030ab (ipv4:192.168.1.191:50397) signed connect to service MAC13 initially as user root (uid=0, gid=0) (pid 580)
process_name_query_request: Name query from 192.168.1.219 on subnet 192.168.1.219 for name WORKGROUP<1d>
process_name_query_request: Name query from 192.168.1.219 on subnet 192.168.1.219 for name WORKGROUP<1d>
process_name_query_request: Name query from 192.168.1.219 on subnet 192.168.1.219 for name WORKGROUP<1d>
process_name_query_request: Name query from 192.168.1.219 on subnet 192.168.1.219 for name WORKGROUP<1d>
add_name_to_subnet: Added netbios name HOMEASSISTANT<20> with first IP 192.168.1.219 ttl=0 nb_flags= 0 to subnet 192.168.1.219
add_name_to_subnet: Added netbios name HOMEASSISTANT<03> with first IP 192.168.1.219 ttl=0 nb_flags= 0 to subnet 192.168.1.219
add_name_to_subnet: Added netbios name HOMEASSISTANT<00> with first IP 192.168.1.219 ttl=0 nb_flags= 0 to subnet 192.168.1.219
add_name_to_subnet: Added netbios name WORKGROUP<00> with first IP 192.168.1.219 ttl=0 nb_flags=80 to subnet 192.168.1.219
add_name_to_subnet: Added netbios name WORKGROUP<1e> with first IP 192.168.1.219 ttl=0 nb_flags=80 to subnet 192.168.1.219
check_for_master_browser_fail: Forcing election on workgroup WORKGROUP subnet 192.168.1.219
add_name_to_subnet: Added netbios name HOMEASSISTANT<20> with first IP 172.30.32.1 ttl=0 nb_flags= 0 to subnet 172.30.32.1
add_name_to_subnet: Added netbios name HOMEASSISTANT<03> with first IP 172.30.32.1 ttl=0 nb_flags= 0 to subnet 172.30.32.1
add_name_to_subnet: Added netbios name HOMEASSISTANT<00> with first IP 172.30.32.1 ttl=0 nb_flags= 0 to subnet 172.30.32.1
add_name_to_subnet: Added netbios name WORKGROUP<00> with first IP 172.30.32.1 ttl=0 nb_flags=80 to subnet 172.30.32.1
add_name_to_subnet: Added netbios name WORKGROUP<1e> with first IP 172.30.32.1 ttl=0 nb_flags=80 to subnet 172.30.32.1
check_for_master_browser_fail: Forcing election on workgroup WORKGROUP subnet 172.30.32.1
check_elections: >>> Starting election for workgroup WORKGROUP on subnet 192.168.1.219 <<<
check_elections: >>> Starting election for workgroup WORKGROUP on subnet 172.30.32.1 <<<
process_name_query_request: Name query from 192.168.1.219 on subnet 192.168.1.219 for name WORKGROUP<1d>
process_name_query_request: Name query from 192.168.1.219 on subnet 192.168.1.219 for name WORKGROUP<1d>
write_browse_list: Wrote browse list into file /var/cache/samba/browse.dat
send_election_dgram: Sending election packet for workgroup WORKGROUP on subnet 192.168.1.219
send_election_dgram: Sending election packet for workgroup WORKGROUP on subnet 172.30.32.1
process_election: Election request from KIOSK at IP 192.168.1.220 on subnet 192.168.1.219 for workgroup WORKGROUP.
process_election: >>> Lost election for workgroup WORKGROUP on subnet 192.168.1.219 <<<
process_election: Election request from KIOSK at IP 192.168.1.220 on subnet 192.168.1.219 for workgroup WORKGROUP.
send_election_dgram: Sending election packet for workgroup WORKGROUP on subnet 172.30.32.1
process_election: Election request from KIOSK at IP 192.168.1.220 on subnet 192.168.1.219 for workgroup WORKGROUP.
send_election_dgram: Sending election packet for workgroup WORKGROUP on subnet 172.30.32.1
process_election: Election request from KIOSK at IP 192.168.1.220 on subnet 192.168.1.219 for workgroup WORKGROUP.
process_election: Election request from KIOSK at IP 192.168.1.220 on subnet 192.168.1.219 for workgroup WORKGROUP.
process_election: Election request from KIOSK at IP 192.168.1.220 on subnet 192.168.1.219 for workgroup WORKGROUP.
send_election_dgram: Sending election packet for workgroup WORKGROUP on subnet 172.30.32.1
process_election: Election request from KIOSK at IP 192.168.1.220 on subnet 192.168.1.219 for workgroup WORKGROUP.
process_election: Election request from KIOSK at IP 192.168.1.220 on subnet 192.168.1.219 for workgroup WORKGROUP.
send_election_dgram: Sending election packet for workgroup WORKGROUP on subnet 172.30.32.1
run_elections: >>> Won election for workgroup WORKGROUP on subnet 172.30.32.1 <<<
become_local_master_browser: Starting to become a master browser for workgroup WORKGROUP on subnet 172.30.32.1
become_local_master_browser: first stage - attempt to register ^1^2__MSBROWSE__^2^1
process_election: Election request from KIOSK at IP 192.168.1.220 on subnet 192.168.1.219 for workgroup WORKGROUP.
write_browse_list: Wrote browse list into file /var/cache/samba/browse.dat
process_election: Election request from KIOSK at IP 192.168.1.220 on subnet 192.168.1.219 for workgroup WORKGROUP.
add_name_to_subnet: Added netbios name ��__MSBROWSE__�<01> with first IP 172.30.32.1 ttl=0 nb_flags=80 to subnet 172.30.32.1
become_local_master_stage1: go to stage 2: register the WORKGROUP<1d> name.
add_name_to_subnet: Added netbios name ��__MSBROWSE__�<01> with first IP 172.30.32.1 ttl=0 nb_flags=80 to subnet UNICAST_SUBNET
make_connection_snum: Connect path is '/tmp'for service [IPC$]
Initialising default vfs hooks
Initialising custom vfs hooks from [/[Default VFS]/]
Initialising custom vfs hooks from [streams_xattr]
load_module_absolute_path: Module '/usr/lib/samba/vfs/streams_xattr.so' loaded
Initialising custom vfs hooks from [fruit]
load_module_absolute_path: Module '/usr/lib/samba/vfs/fruit.so' loaded
Initialising custom vfs hooks from [catia]
load_module_absolute_path: Module '/usr/lib/samba/vfs/catia.so' loaded
chdir_below_conn: Bad access attempt: . is a symlink outside the share path
conn_rootdir =/tmp
resolved_name=/run/s6-rc:s6-rc-init:BjGdDm/servicedirs/smbd
homeassistant (ipv4:127.0.0.1:41690) connect to service IPC$ initially as user nobody (uid=65534, gid=65534) (pid 588)
process_node_status_request: status request for name *<00> from IP 192.168.1.1 on subnet UNICAST_SUBNET.
homeassistant (ipv4:127.0.0.1:41690) closed connection to service IPC$
chdir_below_conn: Bad access attempt: . is a symlink outside the share path
conn_rootdir =/tmp
resolved_name=/
Server exit (NT_STATUS_END_OF_FILE)
write_browse_list: Wrote browse list into file /var/cache/samba/browse.dat
[21:23:18] WARNING: Your Mac13 is exfat. Permissions and ACL don't works and this is an EXPERIMENTAL support
I don't see in your log but after the start there is a summary of exposed shares where you can see the accepted flags and you should see that tm ( Time Machine supports) is only on acl capable fs.
Summary: in your configuration you can use as tm target only Storage share. Old macOS versions are able to backup also fat fs evolutions but from Big Sur it use cifs command for permissions.
To use exfat you can try to use unencrypted backup, if I remember correctly should work but my test are with old versions so I can't assume is the right way.
that's correct - thank you.
you gave me the right pointer: I needed to format it to ext4; now I am backing up.
I needed to do it with another rpi I had laying around as I could not do it with mac.
thank you for looking at it! :)
Addon
SambaNAS
Description
I am not able to use any share as TimeMachine back-up disk.
I checked all issues that had keyword TimeMachine but I was not able to find any info that could help me.
I followed this guide https://manjaro.site/how-to-configure-time-machine-to-backup-to-samba-shared-folder/, but I cannot create the image
the partition is formatted exfat and I am able to write to it by mounting it on the mac i am trying to back up
I used to be able to back up another Mac to it (set up 3 years ago); lately i follow up with ~1 years of updates on HA and now i am not able to use it anymore as TM backup disk.
I suspect the set-up I had involved ssh into the container, but I can't recall the steps.
I can ssh to p 22222 .
thank you in advance for the time to read the issue and any eventual support you can offer.
Reproduction steps
Addon Logs
Addon Config
Architecture
armv7
OS
HaOS
The text was updated successfully, but these errors were encountered: