我正在尝试将 SMB 用于 Time Machine 备份。我目前使用的是 macOS 10.15.5、Samba 4.11.6-Ubuntu 和 Ubuntu 20.04 LTS。
这是我的conf:
[timemachine]
comment = Time Machine
path = /mnt/HD/Backup/timemachine
browseable = yes
writeable = yes
create mask = 0600
directory mask = 0700
spotlight = yes
vfs objects = catia fruit streams_xattr
fruit:aapl = yes
fruit:time machine = yes
fruit:time machine max size = 750G
我可以成功地将共享注册为时间机器磁盘,但是当它尝试备份时出现此错误:
[2020/07/17 05:53:28.442317, 0] ../../source3/modules/vfs_fruit.c:4637(fruit_pwrite_meta_netatalk)
fruit_pwrite_meta_netatalk: ad_pwrite [071FEBFA-ACF7-5694-9FB6-A02D91AE7861.sparsebundle:AFP_AfpInfo] failed
如果我通过 Finder 挂载共享,我可以成功创建文件和文件夹。
你有什么线索吗?谢谢