自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

Windows 10命令行:使用StorDiag.exe診斷磁盤和文件系統(tǒng)問題

系統(tǒng) Windows 系統(tǒng)運(yùn)維
StorDiag.exe是微軟在 Windows 10周年更新中新添加的存儲(chǔ)和文件系統(tǒng)診斷工具,StorDiag.exe屬于命令行系統(tǒng)工具,它主要用于收集和識(shí)別存儲(chǔ)相關(guān)的問題,可主動(dòng)識(shí)別 NTFS 文件系統(tǒng)損壞。

[[172855]]

StorDiag.exe 是微軟在 Windows 10 周年更新中新添加的存儲(chǔ)和文件系統(tǒng)診斷工具,該工具屬于命令行系統(tǒng)工具,它主要用于收集和識(shí)別存儲(chǔ)相關(guān)的問題,可主動(dòng)識(shí)別 NTFS 文件系統(tǒng)損壞。最為重要的是,StorDiag.exe 可以執(zhí)行 ETW Trace 以及檢查 NTFS 文件系統(tǒng)的一致性,在排錯(cuò)時(shí)非常實(shí)用。

該命令的使用非常簡單,主要還是看結(jié)果日志:

  1. StorDiag [-collectEtw] [-out <PATH>] 

  • -collectEtw 收集 30 秒時(shí)長的 ETW Trace
  • -checkFSConsistency 檢查 NTFS 文件系統(tǒng)一致性
  • -out <PATH> 指定日志文件輸出路徑

如果你在執(zhí)行 StorDiag 診斷命令時(shí)未指定任何參數(shù),默認(rèn)日志文件會(huì)打包輸出到 %TEMP%\StorDiag.zip。當(dāng)然,要獲得最為詳盡的存儲(chǔ)和文件系統(tǒng)診斷日志信息,必需要指定 StorDiag 的參數(shù),也可以像以下示例一樣將日志保存位置進(jìn)行更改:

  1. StorDiag.exe -collectEtw -checkFSConsistency -out d:\ 

取決于當(dāng)前 Windows 10 所連接存儲(chǔ)設(shè)備的速度和數(shù)量,整個(gè)診斷過程可能會(huì)花幾分鐘甚至更長時(shí)間,StorDiag.exe 會(huì)在后臺(tái)自動(dòng) ChkDisk 所有分區(qū)、收集 30 秒 ETW trace 日志等操作后進(jìn)行統(tǒng)一輸出。

以下為 StorDiag 會(huì)輸入的所有日志文件列表:

  • CDROM.reg
  • ChkDsk <盤符>.txt
  • DiskDrive.reg
  • FileSystem.reg
  • HDC.reg
  • LocaleMetaData 目錄
  • Microsoft-Windows-DataIntegrityScan-Admin.evtx
  • Microsoft-Windows-DataIntegrityScan-CrashRecovery.evtx
  • Microsoft-Windows-DiskDiagnostic.evtx
  • Microsoft-Windows-Ntfs.evtx
  • Microsoft-Windows-Partition.evtx
  • Microsoft-Windows-Storage-ATAPort.evtx
  • Microsoft-Windows-Storage-ClassPnp.evtx
  • Microsoft-Windows-Storage-Storport.evtx
  • Microsoft-Windows-StorageManagement-Operational.evtx
  • Microsoft-Windows-StorageSpaces-Driver-Diagnostic.evtx
  • Microsoft-Windows-StorageSpaces-Driver-Operational.evtx
  • Microsoft-Windows-StorageSpaces-SpaceManager-Operational.evtx
  • Microsoft-Windows-Volume.evtx
  • Microsoft-Windows-VolumeSnapshot-Driver.evtx
  • perflog.etl
  • PSLogs.txt
  • SCSIAdapter.reg
  • System.evtx
  • VolMgr.reg
  • VolSnap.reg
  • Volume <盤符> Corruption.txt
  • Volume.reg

StorDiag.exe 對(duì) IT Pro 來說確實(shí)是一款非常不錯(cuò)的命令行存儲(chǔ)、文件系統(tǒng)診斷工具,用它可以更加深入地幫我們發(fā)現(xiàn)并了解存儲(chǔ)狀態(tài),也可以大大加快故障的診斷過程。

責(zé)任編輯:武曉燕 來源: 系統(tǒng)極客
相關(guān)推薦

2018-01-10 12:42:09

Linux磁盤文件系統(tǒng)

2009-10-12 11:14:51

LinuxLinux磁盤文件系統(tǒng)管理

2019-06-17 09:30:50

命令行Windows 10管理密碼

2016-03-29 11:03:30

DISM命令Windows 10

2009-10-13 14:31:26

:Linux系統(tǒng)磁盤系統(tǒng)管理

2019-10-11 11:36:27

Windowscmd命令行工具

2019-10-10 16:13:55

WindowsLinuxWindows 10

2016-10-12 08:38:24

Windows 10Defender命令行

2011-02-23 17:07:47

FileZillaSe

2020-11-19 08:44:35

Linux

2023-09-03 17:09:58

LinuxSAN LUN磁盤

2023-09-05 15:17:48

LinuxLUN磁盤

2020-12-24 10:00:33

Windows 10Windows微軟

2017-11-23 15:25:28

命令隱藏windows

2012-11-20 16:16:05

Windows

2010-10-12 17:29:22

MySQL命令行

2010-04-07 18:42:42

Unix命令

2016-12-27 10:48:59

Linux命令磁盤與文件系統(tǒng)

2023-10-27 14:54:04

CipherWindows

2010-04-09 16:26:20

Unix操作系統(tǒng)
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號(hào)