Verificare le impostazioni SnapLock
È possibile utilizzare volume file fingerprint start
e. volume file fingerprint dump
Comandi per visualizzare informazioni chiave su file e volumi, tra cui il tipo di file (normale, WORM o appendice WORM), la data di scadenza del volume e così via.
-
Generare un'impronta digitale del file:
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.
Il comando genera un ID sessione che è possibile utilizzare come input per
volume file fingerprint dump
comando.È possibile utilizzare
volume file fingerprint show
Comando con l'ID di sessione per monitorare l'avanzamento dell'operazione di impronte digitali. Assicurarsi che l'operazione sia stata completata prima di provare a visualizzare l'impronta digitale. -
Visualizzare l'impronta digitale per il file:
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