Article View: borland.public.cppbuilder.nativeapi
Article #2176Re: HDD failure detection (raid1 configuration)
From: Paul
Date: Mon, 23 Apr 2007 07:48
Date: Mon, 23 Apr 2007 07:48
33 lines
2077 bytes
2077 bytes
Thanks for the answer, I have problems with DeviceIoControl(). I don't know how to get a handle for the second disk. Because the System see the 2 disks as one. I think the problem is the Raid Controller? VDS I have a look on it, but the function I think they are right require Vista. Or I am false? Correct me please. Thanks for any help Paul "Bob Gonder" <notbg@notmindspring.invalid> schrieb im Newsbeitrag news:jljh235brppc4hqbp5rlf17kuog3ome0ci@4ax.com... > Paul wrote: > >>I am developing a C++ application which has to detect when a HDD stops >>working properly. >>HDDs are connected to a RAID controller, and the PC is running Windows XP. >>How could I get a state, or a anything else? Is there a API funtion which >>is >>able to read the states from the controller? > > I'm thinking DeviceIoControl() > Perhaps with FSCTL_IS_VOLUME_MOUNTED > > There might also be something in the VDS > http://msdn2.microsoft.com/en-us/library/aa381442.aspx > > You might also check with the manufacturer of your controler. > >
Technical Details
Message-ID:
<462c64e2$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<46289607$1@newsgroups.borland.com> <jljh235brppc4hqbp5rlf17kuog3ome0ci@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,9d50cca55661c4a2 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "Paul" <ppik34@web.de> From: "Paul" <ppik34@web.de> Newsgroups: borland.public.cppbuilder.nativeapi References: <46289607$1@newsgroups.borland.com> <jljh235brppc4hqbp5rlf17kuog3ome0ci@4ax.com> Subject: Re: HDD failure detection (raid1 configuration) Date: Mon, 23 Apr 2007 09:48:51 +0200 Lines: 35 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 87.139.121.224 Message-ID: <462c64e2$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1177314530 87.139.121.224 (23 Apr 2007 00:48:50 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail