Snapdrive for Unix
本繁體中文版使用機器翻譯,譯文僅供參考,若與英文版本牴觸,應以英文版本為準。

啟用及停用記錄檔

貢獻者

如果您要啟用記錄檔、請在您要啟用的記錄檔名稱-值配對中指定檔案名稱作為值。如果您要停用檔案、請勿輸入記錄檔名稱參數的值。

您必須以root使用者的身分登入。

步驟
  1. 在文字編輯器中開啟「snapdrive.conf」檔案。

  2. 選擇適當的選項以啟用或停用記錄檔。

    如果您想要…​ 然後…​

    啟用記錄檔

     Specify a file name as the value in the name-value pair of the log file you want to enable. SnapDrive for UNIX only writes log files if it has the name of a file to write to. The default names for the log files are as follows:
    ** 稽核日誌:「d-Audit .log」
    ** 恢復日誌:「d-recovery.log」
    ** 追蹤記錄:「d-trace.log」
    註 這些檔案的路徑可能會因主機作業系統而異。

    停用記錄檔

     Do not enter a value for the log file name parameter. If you do not supply a value, there is no file name to which SnapDrive for UNIX can write the log information.
    *範例*此範例會停用稽核記錄檔。「稽核記錄檔=」
  3. 完成所有變更後、請儲存「snapdrive.conf」檔案。

    UNIX版的還原功能會在每次啟動時自動檢查此檔案。SnapDrive您必須重新啟動SnapDrive UNIX版的功能、變更才會生效。