Patent ID: 8195874

Claim:
A storage apparatus comprising: a communication I/F that receives a data I/O request sent from an external apparatus; a storage medium controller that performs any one of writing and reading of data to and from a storage device configured to include a plurality of storage media, in response to the received data I/O request; a cache memory that stores any one of write data to be written to the storage device and read data read from the storage device; a control processor that serves for data transfer performed between at least one to another of the communication I/F, the storage medium controller, and the cache memory; an erase data generating part; and an erase data write request generating part, wherein the storage medium controller manages in a process wait queue a storage medium write request as a request to write the write data to the storage medium, reads the storage medium write request registered on the process wait queue, and writes the data to the storage medium in accordance with the storage medium write request that is read, the erase data generating part generates erase data as data to be written to the storage medium in order to shred the storage medium, and stores the generated erase data in the cache memory, and the erase data write request generating part generates a plurality of the storage medium write requests to write the erase data to the storage media, intended for the different storage media, respectively, and registers the generated storage medium write requests into the process wait queue.