It is always a write error that disables a disk, although a read error can trigger a write error if as a result parity is used to reconstruct what should be on a sector and Unraid then tries to write that back to correct the read error, and that write then fails.