Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Determine Volume Status

0 views
Skip to first unread message

Jon Reeves

unread,
Apr 18, 2005, 6:32:42 AM4/18/05
to
Hi,

I am trying to create a script to monitor the status of a RAID 1
(mirrored) volume.

I want to know when there is a problem with the mirror so that I can
take appropriate action, but can't find any WMI classes that report
this info (such as that shown in disk management)

Any help greatly appreciated

Regards
Jon

Reply

Jon Reeves

unread,
Apr 25, 2005, 6:32:29 AM4/25/05
to
If anyone else is trying to do this, you can use diskpart.exe to get
the RAID status.
Diskpart comes with XP and server 2003 as standard, but I think you
need to install the Support Tools with Windows 2000

Just run diskpart from a cmd prompt and use a script to catch and
process the output

DISKPART> list volume

Volume ### Ltr Label Fs Type Size Status
Info
---------- --- ----------- ----- ---------- ------- ---------
--------
Volume 0 D Images NTFS Mirror 128 GB Healthy
Pagefile
Volume 1 E CD-ROM 0 B
Volume 2 C NTFS Partition 19 GB Healthy
System

DISKPART> quit

0 new messages