Thread: Is it possible to retrieve the HDSN of hard disks in a RAID array?

  1. #1
    Registered User
    Join Date
    Jul 2005
    Posts
    2

    Is it possible to retrieve the HDSN of hard disks in a RAID array?

    I've the code posted on this thread to retrieve the HDSN for IDE and SCSI drives.

    But I am wondering if it is possible to retrieve the HDSN of hard disks in a RAID array? Has anyone attempted or even better succeeded in this?

    Btw I am using W2K3 and VS 6.0 SP6.

  2. #2
    Registered User mitakeet's Avatar
    Join Date
    Jun 2005
    Location
    Maryland, USA
    Posts
    212
    However you do it you must interface with the API of the driver for the drive(s). Often that API an only be accessed by a privledged process (the lower-level the information, the more likely it will need admin rights). Needless to say, the API must expose that information for you to retrieve it at all and RAID drivers may not bother since most drives can be hot-swapped now adays.

    Free code: http://sol-biotech.com/code/.

    It is not that old programmers are any smarter or code better, it is just that they have made the same stupid mistake so many times that it is second nature to fix it.
    --Me, I just made it up

    The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man.
    --George Bernard Shaw

  3. #3

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. 2d array question
    By gmanUK in forum C Programming
    Replies: 2
    Last Post: 04-21-2006, 12:20 PM
  2. Hard Drive and RAID
    By xddxogm3 in forum Tech Board
    Replies: 4
    Last Post: 04-30-2005, 09:51 PM
  3. Hard Disks?
    By Liger86 in forum Tech Board
    Replies: 2
    Last Post: 06-21-2003, 09:23 AM
  4. Hi, could someone help me with arrays?
    By goodn in forum C Programming
    Replies: 20
    Last Post: 10-18-2001, 09:48 AM
  5. mode of an array
    By Need Help in forum C Programming
    Replies: 15
    Last Post: 09-17-2001, 08:03 AM