TimeMachineBackup works intermittently

@AustinForest

Thanks for the logs.

Looks like you’re hitting a TimeMachine SMB Bug when setting the Time Machine Max Size parameter in the admin UI. Please set the Max Size for TM Backups to default. You may need to take a new backup or use AFP to workaround the issue.

[2021/02/25 20:29:25.213791, 0] …/source3/smbd/service.c:885(make_connection_snum)
CIFS: [ipv4:192.168.1.27:54000] connected to [TimeMachineBackup] as user [nobody].
[2021/02/25 20:29:25.233686, 0] …/lib/util/charset/codepoints.c:16656(get_conv_handle)
dos charset ‘CP850’ unavailable - using ASCII
[2021/02/25 20:29:25.300195, 0] …/source3/modules/vfs_fruit.c:6995(fruit_tmsize_do_dirent)
fruit_tmsize_do_dirent: tmsize overflow: bandsize [134217728] nbands [1026]
[2021/02/25 20:29:25.300267, 0] …/source3/smbd/dfree.c:307(sys_disk_free)
sys_disk_free: VFS disk_free failed. Error was : Success

https://linux.debian.bugs.dist.narkive.com/c4i4Xkt0/bug-974868-samba-can-t-serve-size-limited-time-machine-shares-on-i386
https://bugzilla.samba.org/show_bug.cgi?id=13622

1 Like

Thanks a lot for helping.

Hope it gets fixed in a future update.

Best

AF

1 Like

@SBrown Thanks again for helping out.

Do you know if this issue is solved with today’s release v5.11.112? (My NAS was automatically updated before the community was notified.)

Best,

[updated]

Well well

It is said to be fixed in v5.12.108: https://os5releasenotes.mycloud.com

Well well well
Not quite.
Updated to v5.12.108.
Set a TimeMachine limit to 2TB (26%)
Error is back (see picture below).

I will try to download the logs (they are not coming right now, after restarting the NAS). @WDStaff let me know if you need them. (I managed to download them with Firefox, Safari would not do it on macOS Big Sur for some reasons…)

1 Like

@AustinForest Yes, please send over the new system logs.

Hello,
Thanks. I did in PM. Let me know if it’s ok. Best.

Hello,

Did it get fixed with 5.13.115?

Updated on May 15th: it is not fixed. Still fails when a size limit is set.

Best

AF

@SBrown Did it get fixed with 5.14.105?

Updated on June 13th: it is not fixed. Still fails when a size limit is set.

After setting a size limit. And even after restarting the NAS.

Will send logs when the UI agrees to show up… It virtually unusable after restart see below (half the menus and infos are missing).

June 14th UPDATE

Hello everyone,

Thanks @SBrown for helping out.

Apparently, the size limit I set (20%), despite being significantly beyond the current use of the TM share was not enough. With his help, I tried with a 95% limit and it worked. I am now running with a 30% limit and it still works (with at least one of the three computers).

June 22nd UPDATE

It stopped working. I guess it reached some sort of size limit (although there is plenty of room if you compare the current size of the the backups and the size limit set) and instead of erasing older backups (if needed) it simply stopped working.

I let @WDStaff know.

Best

@SBrown and @WDStaff

I’ve a same issue! After the upgrade to OS5, the TimeMachine fails to backup one of the machines.

The machine starts the backup and after a while of transfering the data is losing the connection

Here is the error log for Time Machine:

2021-07-13 21:07:24.625116+0200  localhost backupd[72988]: (TimeMachine) [com.apple.TimeMachine:General] Failed to set checkpoint marker for directory at /Volumes/Time Machine-Backups/Backups.backupdb/xxx MacBook Pro/2021-07-13-101900.inProgress/5DDDFDDB-2355-4917-9233-5F60EDD9938C/Macintosh HD - Data/Users error: Error Domain=NSPOSIXErrorDomain Code=5 "Input/output error"
2021-07-13 21:07:24.672687+0200  localhost backupd[72988]: (TimeMachine) [com.apple.TimeMachine:General] Invalid mountpoint '/Volumes/.timemachine/MyCloudPR4100._smb._tcp.local./CCD54A51-2B7B-4B20-97C1-A957C8ABFF38/TimeMachineBackup' - no volume mounted at this path
2021-07-13 21:07:24.672756+0200  localhost backupd[72988]: (TimeMachine) [com.apple.TimeMachine:General] Mountpoint '/Volumes/.timemachine/MyCloudPR4100._smb._tcp.local./CCD54A51-2B7B-4B20-97C1-A957C8ABFF38/TimeMachineBackup'is still valid
2021-07-13 21:07:24.675692+0200  localhost backupd[72988]: (TimeMachine) [com.apple.TimeMachine:General] Failed to get string value for extended attribute 'com.apple.timemachine.private.directorycompletiondate' on '/Volumes/Time Machine-Backups/Backups.backupdb/xxx MacBook Pro/2021-07-13-101900.inProgress/5DDDFDDB-2355-4917-9233-5F60EDD9938C/Macintosh HD - Data', error: 5 Input/output error
2021-07-13 21:07:24.675771+0200  localhost backupd[72988]: (TimeMachine) [com.apple.TimeMachine:General] Failed finding checkpoint marker for directory at /Volumes/Time Machine-Backups/Backups.backupdb/xxx MacBook Pro/2021-07-13-101900.inProgress/5DDDFDDB-2355-4917-9233-5F60EDD9938C/Macintosh HD - Data error: Error Domain=NSPOSIXErrorDomain Code=5 "Input/output error"
2021-07-13 21:07:24.678600+0200  localhost backupd[72988]: (TimeMachine) [com.apple.TimeMachine:General] Failed to set string value '2021-07-13-210724' for extended attribute 'com.apple.timemachine.private.directorycompletiondate' on '/Volumes/Time Machine-Backups/Backups.backupdb/xxx MacBook Pro/2021-07-13-101900.inProgress/5DDDFDDB-2355-4917-9233-5F60EDD9938C/Macintosh HD - Data', error: 5 Input/output error
2021-07-13 21:07:24.716242+0200  localhost backupd[72988]: (TimeMachine) [com.apple.TimeMachine:General] Failed to set checkpoint marker for directory at /Volumes/Time Machine-Backups/Backups.backupdb/xxx MacBook Pro/2021-07-13-101900.inProgress/5DDDFDDB-2355-4917-9233-5F60EDD9938C/Macintosh HD - Data error: Error Domain=NSPOSIXErrorDomain Code=5 "Input/output error"
2021-07-13 21:07:26.813239+0200  localhost backupd[72988]: (TimeMachine) [com.apple.TimeMachine:General] Error writing to backup log.  NSFileHandleOperationException:*** -[NSConcreteFileHandle writeData:]: Input/output error
2021-07-13 21:07:26.863962+0200  localhost backupd[72988]: (TimeMachine) [com.apple.TimeMachine:General] Error writing to backup log.  NSFileHandleOperationException:*** -[NSConcreteFileHandle writeData:]: Input/output error

Mac is using MacOS 10.15.7.

The WD MyCloud PR4100 is currently running OS 5.14.105.

I’m using following settings:

Network:
SMB Protocol: SMB1, SMB2, SMB3
NT LAN Manager: NTMLv2 only

Mac Backup:
The Maxizime Size is set to 100%

Share Profile “TimeMachineBackup”
Public: ON
Mobile & Web App Access: ON and input element is readonly. I can’t change it to OFF.

Error Log:
CIFS: Authentication for user [GUEST] has FAILED.

The error message is logged multiple times, but alway right before the backup fails.

Thanks
Patrick

1 Like

@SBrown and @WDStaff

I have a My Passwort Ultra for Mac as my second backup volume. Here I can backup the Mac without any issues.

Issue returned in 5.19.117 although it worked for me in 5.18.117 with a 1TB limit on an 8TB EX2 Ultra.

The same here with 5.19.117 - Is there a way to go back to previous version?

What if you turn off SMB1?

Only SMB2 and SMB3 are enabled, but TmeMachine Backups are only working with no space limitation on the share. As soon as I set it to anything lower than a 100% the issue with not finding the share returns.

Bildschirmfoto 2022-01-25 um 09.36.43

This is a known one, please complain to support so they really try to fix it…

I regularly (every 1-2 days) get error messages saying that the backup disk image could not be accessed (error 16):

After rebooting MyCloud, backups resume for a day or so until the error comes back and I have to reboot again.

I set the maximum size to 100% for the Time Machine backups share:

I tried turning backups off and on, deleting and adding the disk in Time Machine preferences, setting up Time Machine using the admin account or as Guest - it does not matter. I tried creating a separate user and using its share, making the backup share private or public - nothing matters and the error always comes back.

Firmware version 5.19.117 and macOS 12.2.

on one version of mac os beta i did a fix alias command to my link to the nas and then did not get the error. As that got TM working I did not do more testing.

I’ve had the same problem and tried turning the “Drive Sleep” option off in settings. So far, the bundle can still be accessed without a reboot. Uptime as of now is roughly 48 hours.

Thanks. Unfortunately, it did not help in my case

Is yours working now? I’m running firmware 5.21.104 with macOS 12.3 and even with “Drive Sleep” enabled, it keeps backing up consistently.