MacBook Pro 时间机器的备份恢复时提示异常,用 fsck_apfs 工具无法修复
电脑重置后用装在群晖的时间机器备份来恢复,提示备份异常,让我抹除后重新备份。
备份文件后缀为sparsebundle,我尝试用命令行恢复,结果报错了,提示 invalid o_cksum (0x30307473696c7062)
Object map is invalid.
从备份记录看,最新的备份是2025年3月16号,现在我想能否删除部分文件,恢复到24年某个时间点。
尝试的具体步骤和结果如下:
1、chflags -R nouchg "/Volumes/timemachine/XXXMacBook Pro.sparsebundle"
2、hdiutil attach -nomount -readwrite -noverify -noautofsck "/Volumes/timemachine/XXXMacBook Pro.sparsebundle"
3、fsck_ahfs -y /dev/disk4s2
输出结果:
** Checking the container superblock.
Checking the checkpoint with transaction ID 83778.
warning: container has been mounted by APFS version 2313.41.1, which is newer than 2142.140.9.703.1
warning: disabling overallocation repairs by default; use -o to override
** Checking the space manager.
** Checking the space manager free queue trees.
** Checking the object map.
** Checking volume /dev/rdisk5s1.
** Checking the APFS volume superblock.
The volume XXX的备份 was formatted by newfs_apfs (2142.140.9.701.2) and last modified by apfs_kext (2313.41.1).
** Checking the object map.
warning: (oid 0x5251b9d) om: btn: invalid o_cksum (0x30307473696c7062)
Object map is invalid.
** The volume /dev/rdisk5s1 was found to be corrupt and cannot be repaired.
** Verifying allocated space.
** The container /dev/disk4s2 could not be verified completely.
[经过版主编辑]
MacBook Pro 16″, macOS 13.7