Re: WriteFile(), ReadFile() error codes

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Tom Stewart (tastewar_at_newsgroups.nospam)
Date: 08/05/04


Date: Thu, 5 Aug 2004 13:25:31 -0400

If you have a RAID controller that is doing it's job, it will hide the error from the OS,
but report it out-of-band so you can take action. You'll have to look elsewhere for
notification of such errors, and it's usually hardware specific.

--
Tom
"spinlock" <NullVoid@att.net> wrote in message news:2nf460F83ltU1@uni-berlin.de...
> Will NTFS return any error code for temporary errors that
> were recovered?
>
> For example, we have a RAID controller that is reporting
> "block reassigned" which means that a write failed, but,
> the block was reassigned and the write to the new location
> was successful.
>
> If the RAID controller reports this to the HBA/DD
> and the HBA/DD passes it on to NTFS, will NTFS
> pass something like this on to a WriteFile() call?
>
> If so, what LastError will be returned?
>
> Is there a table somewhere that shows what SCSI sense key/codes
> convert to what NTFS Error Codes?
>
> thanks,
>
>


Relevant Pages

  • Re: Maximize disk format space
    ... >> 149gb Windows NTFS ... > between EXT2 and NTFS. ... Windows report its disk size as GB or GiB? ...
    (comp.os.linux.hardware)
  • Re: HDD Health check: poor... what next? (astra32 info)
    ... shouldn't this be automatically handled by the raid controller? ... Sorry for asking if this is obvious: this was reported by Astra32... ... something a raid controller would report ie. if it tries to write in a ... sector and it is defective... ...
    (microsoft.public.windowsxp.hardware)
  • Re: WriteFile(), ReadFile() error codes
    ... if the errors are being reported, what will NTFS do ... not what should the RAID controller be doing. ... >> Will NTFS return any error code for temporary errors that ... we have a RAID controller that is reporting ...
    (microsoft.public.win32.programmer.kernel)
  • Re: [TEST] NTFS patch
    ... > reported against NTFS after my mount changes. ... > Please test & report. ... In this example, the perl script is ok on the file system, but mmap ...
    (freebsd-current)
  • Re: fbreseal corrupts user permissions
    ... If you can easy report the issue I'd suggest you to file a bug to Microsoft: ... (there was some problems reported about fbreseal and NTFS) ... Basically you'd want to check if SID list there include the ... login as "support", i could not set the folder options settings, ...
    (microsoft.public.windowsxp.embedded)