我无法使用 APFS 安装系统卷(根)。我只看到我的数据卷。
$ mkdir /tmp/snapshotbackup_root
$ mount_apfs -s com.apple.TimeMachine.2019-10-29-174444.local / /tmp/snapshotbackup_root
$ df -h /tmp/snapshotbackup_root
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
com.apple.TimeMachine.2019-10-30-121116.local@/dev/disk1s3 223Gi 97Gi 115Gi 46% 1904164 2340358076 0% /private/tmp/snapshotbackup_root
如您所见,它仅安装了/dev/disk1s3
,我无法安装系统卷/dev/disk1s1
。
$ mount_apfs -s com.apple.TimeMachine.2019-10-29-174444.local@/dev/disk1s1 / /tmp/snapshotbackup_root
mount_apfs: volume could not be mounted: No such file or directory
Time Machine 可以按如下所示安装它
$ df -h "/Volumes/com.apple.TimeMachine.localsnapshots/Backups.backupdb/MacBook Pro 840 G3/2019-10-29-174444/OSX"*
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
com.apple.TimeMachine.2019-10-29-174444.local@/dev/disk1s1 223Gi 10Gi 115Gi 9% 481433 2341780807 0% /Volumes/com.apple.TimeMachine.localsnapshots/Backups.backupdb/MacBook Pro 840 G3/2019-10-29-174444/OSX
com.apple.TimeMachine.2019-10-29-174444.local@/dev/disk1s3 223Gi 96Gi 115Gi 46% 1899738 2340362502 0% /Volumes/com.apple.TimeMachine.localsnapshots/Backups.backupdb/MacBook Pro 840 G3/2019-10-29-174444/OSX – data
答案1
mount_apfs -s com.apple.TimeMachine.2019-10-29-174444.local /dev/disk1s1 /tmp/snapshotbackup_root