столкнулся с невозможностью сделать бэкап на диск по протоколу SMB (доступ к папке не анонимный, а по паролю). Если расшарить диск по древнему протоколу AFP, то проблем нет.
Симптомы - на диске создаётся первоначальный "скелет" директорий для бэкапа, затем макбук задумывается и сообщает об ошибке "could'n backup". В логах макбука следующее (ключевое слово "Failed to read capabilities" )
2024-07-12 08:02:06 Backup requested to destination with ID 2AACC547-1010-40FB-BA50-F1B650EB7DA7. specifiedOptions: TMBackupOptions(rawValue: 1042)
2024-07-12 08:02:06 Starting backup with mode "manual backup"
2024-07-12 08:02:06 Rejecting candidate mount point: /Volumes/TimeMachine, not owned by root
2024-07-12 08:02:06 Attempting to mount 'smb://sanja@Keenetic%20CIFS._smb._tcp.local./TimeMachine'
2024-07-12 08:02:08 Failed to read capabilities for '/Volumes/TimeMachine', error: Operation not permitted
2024-07-12 08:02:08 Initial network volume options for 'TimeMachine' {disablePrimaryReconnect: 0, disableSecondaryReconnect: 0, reconnectTimeOut: 0, QoS: 0x0, attributes: 0x1C}
2024-07-12 08:02:08 Failed to read capabilities for '/Volumes/.timemachine/Keenetic CIFS._smb._tcp.local./F9C7BBE3-C862-42F5-A21C-5BDB224FB5DB/TimeMachine', error: Operation not permitted
2024-07-12 08:02:08 Configured network volume options for 'TimeMachine' {disablePrimaryReconnect: 0, disableSecondaryReconnect: 0, reconnectTimeOut: 30, QoS: 0x20, attributes: 0x1C}
2024-07-12 08:02:08 Mounted 'smb://sanja@Keenetic%20CIFS._smb._tcp.local./TimeMachine' at '/Volumes/.timemachine/Keenetic CIFS._smb._tcp.local./F9C7BBE3-C862-42F5-A21C-5BDB224FB5DB/TimeMachine' (1.01 TB of 1.01 TB available)
2024-07-12 08:02:08 Mountpoint '/Volumes/.timemachine/Keenetic CIFS._smb._tcp.local./F9C7BBE3-C862-42F5-A21C-5BDB224FB5DB/TimeMachine' is still valid
2024-07-12 08:02:08 Creating an encrypted diskimage
2024-07-12 08:02:08 Mountpoint '/Volumes/.timemachine/Keenetic CIFS._smb._tcp.local./F9C7BBE3-C862-42F5-A21C-5BDB224FB5DB/TimeMachine' is still valid
2024-07-12 08:02:08 Using a band size of 245.8 MB (on a volume with size of 1.01 TB)
2024-07-12 08:02:12 Mountpoint '/Volumes/.timemachine/Keenetic CIFS._smb._tcp.local./F9C7BBE3-C862-42F5-A21C-5BDB224FB5DB/TimeMachine' is still valid
2024-07-12 08:02:12 Successfully attached using DiskImages2 as 'disk4' from URL '/Volumes/.timemachine/Keenetic CIFS._smb._tcp.local./F9C7BBE3-C862-42F5-A21C-5BDB224FB5DB/TimeMachine/CF188161-89B3-5A01-87CB-C7F035BE8EC0_2024-07-12-080208.sparsebundle'
2024-07-12 08:02:14 Failed to get resource value 'NSURLVolumeURLForRemountingKey' for '/Volumes/.timemachine/Keenetic CIFS._smb._tcp.local./F9C7BBE3-C862-42F5-A21C-5BDB224FB5DB/TimeMachine', error: Error Domain=NSCocoaErrorDomain Code=257 "The file “TimeMachine” couldn’t be opened because you don’t have permission to view it." UserInfo={NSURL=file:///Volumes/.timemachine/Keenetic%20CIFS._smb._tcp.local./F9C7BBE3-C862-42F5-A21C-5BDB224FB5DB/TimeMachine/, NSFilePath=/Volumes/.timemachine/Keenetic CIFS._smb._tcp.local./F9C7BBE3-C862-42F5-A21C-5BDB224FB5DB/TimeMachine, NSUnderlyingError=0x60000236d7a0 {Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied"}}
2024-07-12 08:02:14 Failed to create volume info from disk '<TMDisk: 0x60000236e460> '/Volumes/.timemachine/Keenetic CIFS._smb._tcp.local./F9C7BBE3-C862-42F5-A21C-5BDB224FB5DB/TimeMachine'', error: missingURLForRemounting
2024-07-12 08:02:56 Failed to read capabilities for '/Volumes/TimeMachine', error: Operation not permitted
2024-07-12 08:04:00 Failed to read capabilities for '/Volumes/TimeMachine', error: Operation not permitted
2024-07-12 08:05:04 Failed to read capabilities for '/Volumes/TimeMachine', error: Operation not permitted
Чтение документации привело к тому, что в прошивке при установке галочки "TimeMachine" напротив шары должно быть прописано в Samba
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
Alexandre Bougakov
Добрый день!
столкнулся с невозможностью сделать бэкап на диск по протоколу SMB (доступ к папке не анонимный, а по паролю). Если расшарить диск по древнему протоколу AFP, то проблем нет.
Симптомы - на диске создаётся первоначальный "скелет" директорий для бэкапа, затем макбук задумывается и сообщает об ошибке "could'n backup". В логах макбука следующее (ключевое слово "Failed to read capabilities" )
Чтение документации привело к тому, что в прошивке при установке галочки "TimeMachine" напротив шары должно быть прописано в Samba
SMB_VFS_OBJECTS="fruit streams_xattr"
Подробнее - https://wiki.samba.org/index.php/Configure_Samba_to_Work_Better_with_Mac_OS_X , https://github.com/mbentley/docker-timemachine/discussions/174#discussioncomment-8118176
self-test_KN-1010_stable_4.01.C.7.0-1_router_2024-07-12T09-01-35.074Z.txt
Edited by Alexandre BougakovLink to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.