read() retries on a faulty SCSI disk



Hi

I am curious about knowing how scsi disk drivers behave with a faulty
disk. I am having a faulty disk and "read()" system call on that disk
will cause 45 retries (about 10 - 15 minutes) before it return with a
failure.

Nevertheless, I got to know from the error policy of SCSI services
stack for HP-UX pre 11.31 release, that this is the expected behavior
of read() on a faulty disk, ie read() retries 45 times before reporting
error, and that pass-through IO's are not retried. ( Am I correct ?). I
am working on 11.11 and 11.23 OS.

I am eager to know an alternative which I can use instead of read(), to
get notified of error condition without a delay. I cannot use "dd" to
identify this as it hangs on a bad disk making infinite retries.

Please oblige by providing pointers to the same.

.



Relevant Pages

  • Summary: Raid manager utility
    ... I replaced the faulty disk, ... Nicca mentioned that a failed disk could cause the rm6 to slow down. ... destroy any hard copies and notify the sender. ...
    (SunManagers)
  • SUMMARY: iostat reports Transport Errors
    ... seems to have caused hard errors on the other two devices which have since ... worked fine (subsequent to the faulty disk being replaced.) ... of office AutoReply' to list mail. ...
    (SunManagers)
  • Re: read() retries on a faulty SCSI disk
    ... I am curious about knowing how scsi disk drivers behave with a faulty ... I am having a faulty disk and "read" system call on that disk ...
    (comp.periphs.scsi)
  • read() retries on a faulty SCSI disk
    ... I am curious about knowing how scsi disk drivers behave with a faulty ... I am having a faulty disk and "read" system call on that disk ...
    (comp.periphs.scsi)
  • Re: metareplace - cant find component in unit
    ... Replacing a faulty disk on server SUN FIRE V480 OS Solaris 9 ... As you can see, from the example above, the faulty disk is disk 0 ... This command is the administrator command for /dev and /devices. ... Command will initialise submirror d25 concatenated of disk c0t0d0s5 ...
    (comp.unix.solaris)