Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Windos
win32.3rdparty
win32.directx.audio
win32.directx.ddk
win32.directx.graphics
win32.directx.input
win32.directx.managed
win32.directx.misc
win32.directx.networking
win32.directx.sdk
win32.directx.video
win32.dirx.grap.shaders
win32.gdi
win32.international
win32.kernel
win32.messaging
win32.mmedia
win32.networks
win32.ole
win32.rtc
win32.tapi
win32.tapi.beta
win32.tools
win32.ui
win32.wince
win32.wmi
windows.mediacenter
winfx.aero
winfx.announcements
winfx.avalon
winfx.collaboration
winfx.fundamentals
winfx.general
winfx.indigo
winfx.sdk
winfx.winfs
  
 
date: Thu, 6 Dec 2007 20:56:00 -0800,    group: microsoft.public.win32.programmer.tools        back       


ReadFile() fails on hardware RAID disk.How to detect that disk is   
hi

 

I have two questions regarding hardware RAID disk . I created it as hardware 
mirror disk. (I plugged it on marvel RAID controller)

 

1st question is that i want to read sectors from RAID disk, if i allocate 
memory in a function and that memory passes through more than 3 function 
calls to finally pass through ::ReadFile(), it gets failed with error code 
87, i.e. INVALID_PARAMETER. If there functions calls are less than 3, the 
fuction read data and is successfull.

 

For example,

Function1---> Function2---> Function3--->Function4--->Function5---> ReadFile()

 

if i allocated memory in Function4 and it is passed to Function5 and 
Function5 then calls ReadFile on that buffer, it is complete successfully. 
But if i allocate in that buffer in Function1 and that memory goes through 
Function2,Function3,Function4,Function5, and then calls Readfile that 
function fails. Note that these functions are in different classes.

 

Can anyone have idea????????

 

 

2nd question is that how can i know the disk which is controlled RAID 
controller or hardware RAID. Simply is there any method to detect whether it 
simple disk or hardware RAID disk.

 

 

Please any kind of help will be really appriciated
date: Thu, 6 Dec 2007 20:56:00 -0800   author:   Zeeshan

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us