🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #2171

Re: HDD failure detection (raid1 configuration)

#2171
From: Bob Gonder
Date: Fri, 20 Apr 2007 15:00
15 lines
1552 bytes
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: <jljh235brppc4hqbp5rlf17kuog3ome0ci@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <46289607$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,9d50cca55661c4a2
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: HDD failure detection (raid1 configuration)
Date: Fri, 20 Apr 2007 08:00:35 -0700
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <jljh235brppc4hqbp5rlf17kuog3ome0ci@4ax.com>
References: <46289607$1@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 69.69.80.210
X-Trace: newsgroups.borland.com 1177081233 69.69.80.210 (20 Apr 2007 08:00:33 -0700)
Lines: 17
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail