ReadFile() fails on hardware RAID disk.How to detect that disk is RAID disk
- From: zzeeshan@xxxxxxxxx
- Date: Mon, 31 Dec 2007 20:09:48 -0800 (PST)
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
.
- Prev by Date: Re: Funny Vista/XP Boot change
- Next by Date: Re: Can't able to read arabic file
- Previous by thread: Re: Funny Vista/XP Boot change
- Next by thread: Re: Can't able to read arabic file
- Index(es):
Relevant Pages
|