Skip to main content
本繁體中文版使用機器翻譯,譯文僅供參考,若與英文版本牴觸,應以英文版本為準。

驗SnapLock 證功能設定

貢獻者

您可以使用 volume file fingerprint startvolume file fingerprint dump 用於檢視檔案與磁碟區的重要資訊的命令、包括檔案類型(一般、 WORM 或 WORM 可擴充)、磁碟區到期日等。

步驟
  1. 產生檔案指紋:

    volume file fingerprint start -vserver SVM_name -file file_path

    svm1::> volume file fingerprint start -vserver svm1 -file /vol/sle/vol/f1
    File fingerprint operation is queued. Run "volume file fingerprint show -session-id 16842791" to view the fingerprint session status.

    此命令會產生一個工作階段 ID 、您可以將其用作輸入 volume file fingerprint dump 命令。

    註

    您可以使用 volume file fingerprint show 使用工作階段 ID 來監控指紋操作的進度的命令。在嘗試顯示指紋之前、請先確認作業已完成。

  2. 顯示檔案的指紋:

    volume file fingerprint dump -session-id session_ID

    svm1::> volume file fingerprint dump -session-id 33619976
            Vserver:svm1
            Session-ID:33619976
            Volume:slc_vol
            Path:/vol/slc_vol/f1
            Data Fingerprint:MOFJVevxNSJm3C/4Bn5oEEYH51CrudOzZYK4r5Cfy1g=Metadata
            Fingerprint:8iMjqJXiNcqgXT5XuRhLiEwIrJEihDmwS0hrexnjgmc=Fingerprint Algorithm:SHA256
            Fingerprint Scope:data-and-metadata
            Fingerprint Start Time:1460612586
            Formatted Fingerprint Start Time:Thu Apr 14 05:43:06 GMT 2016
            Fingerprint Version:3
            **SnapLock License:available**
            Vserver UUID:acf7ae64-00d6-11e6-a027-0050569c55ae
            Volume MSID:2152884007
            Volume DSID:1028
            Hostname:my_host
            Filer ID:5f18eda2-00b0-11e6-914e-6fb45e537b8d
            Volume Containing Aggregate:slc_aggr1
            Aggregate ID:c84634aa-c757-4b98-8f07-eefe32565f67
            **SnapLock System ComplianceClock:1460610635
            Formatted SnapLock System ComplianceClock:Thu Apr 14 05:10:35 GMT 2016
            Volume SnapLock Type:compliance
            Volume ComplianceClock:1460610635
            Formatted Volume ComplianceClock:Thu Apr 14 05:10:35 GMT 2016
            Volume Expiry Date:1465880998**
             Is Volume Expiry Date Wraparound:false
            Formatted Volume Expiry Date:Tue Jun 14 05:09:58 GMT 2016
            Filesystem ID:1028
            File ID:96
            File Type:worm
            File Size:1048576
            Creation Time:1460612515
            Formatted Creation Time:Thu Apr 14 05:41:55 GMT 2016
            Modification Time:1460612515
            Formatted Modification Time:Thu Apr 14 05:41:55 GMT 2016
            Changed Time:1460610598
            Is Changed Time Wraparound:false
            Formatted Changed Time:Thu Apr 14 05:09:58 GMT 2016
            Retention Time:1465880998
            Is Retention Time Wraparound:false
            Formatted Retention Time:Tue Jun 14 05:09:58 GMT 2016
            Access Time:-
            Formatted Access Time:-
            Owner ID:0
            Group ID:0
            Owner SID:-
            Fingerprint End Time:1460612586
            Formatted Fingerprint End Time:Thu Apr 14 05:43:06 GMT 2016