外部驱动器导致聚光灯和索引错误

外部驱动器导致聚光灯和索引错误

我的外置硬盘出了问题。我的电脑是一台运行 Lion 的新 Macbook Air。今天我连接了一个外置硬盘,包括 TM 备份,以获取一些文件。我看到以下输出/var/log/system.log(这不会导致系统问题):

Sep  3 02:13:11 Jonathans-MacBook-Air mds[61]: (/Volumes/g_drive/.Spotlight-V100/Store-V2/CCEAAA21-72B7-4D1A-9B47-B86FFC0B3C81)(Error) IndexCI in     _CISyncContextSync:indexPrepareForSyncBulk error:2
Sep  3 02:13:11 Jonathans-MacBook-Air kernel[0]: 
Sep  3 02:13:13: --- last message repeated 59 times ---

后来我遇到了系统问题,例如

Broadcast Message from [email protected]                        
        (no tty) at 18:40 PDT...                                               

Sep  3 18:40:59 Jonathans-MacBook-Air kernel[0]:                               


Broadcast Message from [email protected]                        
    (no tty) at 18:41 PDT...                         

我之前看到过这个输出:

Sep  3 17:31:19 Jonathans-MacBook-Air fseventsd[20]: event logs in /Volumes/g_drive_mini/.fseventsd out of sync with volume.  destroying old logs. (24811 0 206316)
Sep  3 17:31:19 Jonathans-MacBook-Air fseventsd[20]: log dir: /Volumes/g_drive_mini/.fseventsd getting new uuid: 0573E4F8-3F32-4553-9DE8-B34ECA704B4A
Sep  3 17:31:23 Jonathans-MacBook-Air kernel[0]: 
Sep  3 17:31:23: --- last message repeated 5 times ---
Sep  3 17:31:23 Jonathans-MacBook-Air diskarbitrationd[15]: unable to mount /dev/disk2s1 (status code 0x00000001).
Sep  3 17:31:23 Jonathans-MacBook-Air kernel[0]: 
Sep  3 17:31:23: --- last message repeated 6 times ---
Sep  3 17:31:23 Jonathans-MacBook-Air mds[62]: (/Volumes/g_drive_mini/.Spotlight-V100/Store-V2/15C61CE8-48BE-4408-95BC-6B8EA4A3F8B1)(Error) IndexGeneral in commit_sync_datastore:commitSyncReverseStore err:14
Sep  3 17:31:23 Jonathans-MacBook-Air mds[62]: (/Volumes/g_drive_mini/.Spotlight-V100/Store-V2/15C61CE8-48BE-4408-95BC-6B8EA4A3F8B1)(Error) IndexCI in _CISyncContextCommitData:postSync error:14 6
Sep  3 17:31:23 Jonathans-MacBook-Air kernel[0]: 
Sep  3 17:31:33: --- last message repeated 10151 times ---
Sep  3 17:31:33 Jonathans-MacBook-Air mds[62]: (/Volumes/g_drive_mini/.Spotlight-V100/Store-V2/15C61CE8-48BE-4408-95BC-6B8EA4A3F8B1)(Warning) IndexGeneral in _SIOpenIndex:datastore clean, reverse store dirty
Sep  3 17:31:33 Jonathans-MacBook-Air kernel[0]: 
Sep  3 17:31:47: --- last message repeated 21829 times ---
Sep  3 17:31:47 Jonathans-MacBook-Air Image Capture Extension[491]: Failed to register for death of process with pid: 578

在外部驱动器上索引 Spotlight 是否存在问题?内核紧急消息是由这个事件造成的,还是可能是由更早的事件造成的?

答案1

一个可能有效的方法是完全删除索引文件夹并强制 TM 从头开始​​索引(这不会删除任何备份,只会删除 Spotlight 索引)。为此,您可以在终端中输入以下内容:

`sudo mv /Volumes/g_drive_mini/.Spotlight-V100 /Volumes/g_drive_mini/Spotlight-V100-old`

(您需要输入管理员密码)

然后重启电脑。这将强制重新索引您的数据,因为上面刚刚删除了对聚光灯索引的所有引用。

您还可以清理现在出现在硬盘上的文件夹“Spotlight-V100-old”。

相关内容