Patent ID: 8799534

Claim:
A storage apparatus which provides a host computer with one or more storage areas which are storage areas for reading and writing data and which reads and writes data to the corresponding storage areas on the basis of commands supplied from the host computer, the storage apparatus comprising: a management unit which manages the number of commands that can be received; a storage unit which stores preconfigured management modes for managing the number of commands that can be received; and one or more ports connected to the host computers, wherein the management modes comprise at least one management mode among a first management mode for managing the number of receivable commands for each of the storage areas, a second management mode for managing the number of receivable commands in host group units which are sets of one or more of the host computers, and a third management mode for managing the number of receivable commands in identification information units assigned to the logged on host computers, wherein the management unit manages the number of receivable commands supplied from the host computer according to the management modes stored in the storage unit, wherein commands from the host computers are received via the ports, wherein a command queue having a predetermined number of entries is configured for each of the ports, and wherein the management unit, if the third management mode is configured as the management mode, divides the number of command queue entries, which are configured so as to correspond to the ports, among each of the identification information assigned to each of the host computers logged on via the ports and manages the number of receivable commands of each of the host computers so that the number of commands from the host computers stored in the command queue is in the range of the number of entries divided among the identification information assigned to the host computers.