Example: Writing to a failed disk unit

 

This topic gives you an example of what happens when a write operation fails. A write operation from a system detects that the disk unit that is to contain the data has failed. The write operation is to disk unit 3, sector 1. The following actions occur:

  1. The original data is lost on disk unit 3, sector 1, because of the failure.

  2. The new parity data is calculated by reading disk unit 1, sector 1, and disk unit 2, sector 1.

  3. New parity information is calculated.

  4. New data cannot be written to sector 1 on disk unit 3 because of the failure.

  5. New parity information is written to parity sector 1 on disk unit 4.

    Write operations require multiple read operations (number of disk units-2 reads) and only one write operation for the new parity information. Data from disk unit 3 will be rebuilt during synchronization after disk unit 3 is replaced.

 

Parent topic:

Device parity protection examples