howto determine raid volumes ?

Discussion in 'Windows Vista Drivers' started by Tom, Jul 15, 2004.

  1. Tom

    Tom Guest

    how can i programmatically determine if a storage volume is on a Raid
    Array ? -and gather information about what type of Raid etc. ?
    Tom, Jul 15, 2004
    1. Advertisements

  2. hardware raid or software raid?

    for the former, you can't really. You can check the bus type in the adapter
    descriptor retrieved using IOCTL_STORAGE_QUERY_PROPERTIES but that's not
    100% reliable. Even if you find out it's a RAID controller, there's no
    standard interface for querying what RAID configuration (if any) is being
    used for the device so this won't get your second bit.

    if the latter, you can look at IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS in MSDN
    and see if that will give you what you're looking for. Of course that only
    works for stuff using Windows built-in RAID software - third party stuff may
    have it's own interfaces.

    Peter Wieland [MSFT], Jul 15, 2004
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.