修復故障的檔案系統

意外斷電、系統當機、不正當的裝置移除方式都有可能造成檔案系統的損壞。上述情況發生後,建議您對檔案系統進行「修復」,或至少進行一次「檢查」以避免未來發生資料遺失問題。

有些檔案系統要經過修復才能進行掛載或更動。即便「檢查」完並未回報任何錯誤,檔案系統仍有可能被標記為「不乾淨」並且要進行修復。

檢查檔案系統是否發生故障

  1. 從「概覽」啟動《磁碟》應用程式。

  2. 從左側邊欄的儲存裝置列表中,選擇有問題的磁碟;「儲存區」區域會顯示磁碟上的儲存區。假如磁碟上有多個儲存區,請選擇具有檔案系統的儲存區。

  3. 選擇欲修復的分割區後,點一下下方小工具列上的齒輪按鈕,選擇「檢查檔案系統…」。

  4. 根據檔案系統中所存放的資料多寡,檢查動作可能會花上一些時間。在彈出的訊息中點一下「確定」按鈕後便會開始檢查。

    執行該動作並不會對檔案系統進行任何更動,但會將其卸載。檢查過程請耐心等候。

  5. After completion you will be notified whether the filesystem is damaged. Note that in some cases even if the filesystem is undamaged it still may need to be repaired to reset an internal ‘dirty’ marker.

修復過程恐致資料遺失

If the filesystem structure is damaged it can affect the files stored in it. In some cases these files can not be brought into a valid form again and will be deleted or moved to a special directory. It is normally the lost+found folder in the top level directory of the filesystem where these recovered file parts can be found.

If the data is too valuable to be lost during this process, you are advised to back it up by saving an image of the volume before repairing.

This image can be then processed with forensic analysis tools like sleuthkit to further recover missing files and data parts which were not restored during the repair, and also previously removed files.

修復檔案系統

  1. 從「概覽」啟動《磁碟》應用程式。

  2. 從左側邊欄的儲存裝置列表中,選擇有問題的磁碟;「儲存區」區域會顯示磁碟上的儲存區。假如磁碟上有多個儲存區,請選擇具有檔案系統的儲存區。

  3. 選擇欲修復的分割區後,點一下下方小工具列上的齒輪按鈕,選擇「修復檔案系統…」。

  4. 根據檔案系統中所存放的資料多寡,修復動作可能會花上一些時間。在彈出的訊息中點一下「確定」按鈕後便會開始檢查。

    執行該動作將卸載檔案系統。修復動作會讓檔案系統回到一致的狀態,並將受損的資料移至特定資料夾存放。修復過程請耐心等候。

  5. After completion you will be notified whether the filesystem could be successfully repaired. In case of success it can be used again in the normal way.

    If the filesystem could not be repaired, back it up by saving an image of the volume to be able to retrieve important files later. This can be done by mounting the image read-only or using forensic analysis tools like sleuthkit.

    To make use of the volume again it has to be formatted with a new filesystem. All data will be discarded.