Pri*_*ett 12 raid windows-7 command-line diskpart
我在 Windows 7 Ultimate Box 媒体中心上使用软件 RAID。不幸的是,Windows 决定它需要比我想要的更频繁地重建我的软件 RAID 对。查看重建 RAID 进度的最常见方法是使用diskmgmt.msc. 但是,这启动起来很慢,需要我直接在机器上或使用远程桌面查看结果。
我想用它diskpart来检查我的 RAID 重建的状态,因为它运行得更快,而且我可以通过 SSH 连接到机器(到 BitVise SSHD)并检查状态——当显示器处于活动状态时,这非常有帮助电影或电视节目。但是,它只说RAID是否正在重建,而不是重建的进度:
DISKPART> list volume
Volume ### Ltr Label Fs Type Size Status Info
---------- --- ----------- ----- ---------- ------- --------- --------
Volume 0 C NTFS Mirror 1862 GB Rebuild Boot
Volume 1 System Rese NTFS Mirror 100 MB Healthy System
Volume 2 D DVD-ROM 0 B No Media
Run Code Online (Sandbox Code Playgroud)
这表明卷 0 当前正在重建过程中,因此我选择它以获取更多信息:
DISKPART> select volume 0
Volume 0 is the selected volume.
DISKPART> detail volume
Disk ### Status Size Free Dyn Gpt
-------- ------------- ------- ------- --- ---
Disk 0 Online 1863 GB 0 B *
Disk 1 Online 1863 GB 0 B *
Read-only : No
Hidden : No
No Default Drive Letter: No
Shadow Copy : No
Offline : No
BitLocker Encrypted : No
Installable : Yes
Volume Capacity : 1862 GB
Volume Free Space : 229 GB
Run Code Online (Sandbox Code Playgroud)
如您所见,这提供了有关卷的更多信息,但并未提供对重建进度的任何洞察。
关于如何从diskpart或其他命令行工具获取重建进度的任何提示?
通过 PowerShell 和 WMI 可以获得更多信息:
\n\n获取 WmiObject \xe2\x80\x93List
\n\n获取 WmiObject \xe2\x80\x93List | 选择字符串-模式“磁盘”
\n\n获取 WmiObject \xe2\x80\x93List | 选择字符串模式“音量”
\n\n获取 WmiObject Win32_Volume
\n\n我不确定它是否包含您正在搜索的信息,但与命令行工具相比,它包含大量信息,当然值得挖掘。
\n