The present invention relates to data storage systems and, more particularly, to a data storage system architecture which enables the distribution of protected storage tasks among a matrix of data storage devices.
Background of the Invention
Disk array storage systems include a plurality of hard disk drives, such as the 51/4 or 31/2 inch disk drives currently used in personal computers and workstations, which operate in parallel and appear to the host system as a single large disk drive. Numerous disk array design alternatives are possible, incorporating a few to many disk drives. Several array alternatives, each possessing different attributes, benefits and shortcomings, are presented in an article titled "A Case for Redundant Arrays of Inexpensive Disks (RAID)" by David A. Patterson, Garth Gibson and Randy H. Katz; University of California Report No. UCB/CSD 87/391, December 1987. The article, incorporated herein by reference, discusses disk arrays and the improvements in performance, reliability, power consumption and scalability that disk arrays provide in comparison to single large magnetic disks.
Complex storage management techniques are required in order to coordinate the operation of the multitude of data storage devices within an array to perform read and write functions, parity generation and checking, data restoration and reconstruction, and other necessary or optional operations. Array operation can be managed by a dedicated hardware controller constructed to control array operations, i.e., a hard array architecture, or through software routines executed by the host computer system, i.e., a software array architecture.
A hardware array improves data storage reliability and availability, and increases system performance without modifying user applications. A hardware controller removes many of the data storage tasks from the host system processor, permitting greater accommodation of other applications and tasks by the host system.
A software architecture allows existing system hardware and storage devices to be utilized as an array storage system. The increasing speed and power of advanced computer systems provides performance that is competitive with many hardware array products. A software array architecture can deliver this functionality at a lower cost of implementation than a hardware array. Greater configuration flexibility may also be provided. However, the host processor remains burdened with data storage tasks.
The hardware and software array alternatives discussed above provide improvements in performance, reliability, power consumption, scalability and capacity in comparison to single large magnetic disks. However, coincident with these improvements there exists a need to store and manage ever increasing amounts of data, and to utilize the host processor, array controller and storage devices in the most efficient and effective manner. Additional improvements to data storage systems are desired to better utilize the speed and power of current and next generation computer systems, particularly multiple processor computer systems.
Objects of the Invention
It is therefore an object of the present invention to provide a new and useful data storage system which overcomes many of the disadvantages associated with existing storage options.
It is another object of the present invention to provide a new and useful data storage system which includes a network of interconnected nodes, each node having a storage device and a processor possessing the capability for coordinating data storage and retreival operations at several nodes within the network.
It is yet another object of the present invention to provide such a data storage system wherein multiple storage operations may be performed concurrently, each operation being coordinated by a different node within the network.
Summary of the Invention
There is provided, in accordance with the present invention, a data storage system comprising a network of nodes interconnected to communicate with each other via a plurality of busses. Each node includes a data storage device, such as a magnetic disk drive unit, connected to receive data from and provide data to at least one of the plurality of busses, and a node processor connected to the bus for controlling the storage and retrieval of data at the node. The node processor is further capable of controlling the storage and retrieval of data at data storage devices associated with additional nodes within the network through communications between node processor and the additional nodes via the plurality of busses.
In the described embodiment, the plurality of busses includes a plurality of first busses for conducting data from and to a corresponding plurality of host system processors and a plurality of second busses, each one of the second busses intersecting with each one of the first busses. The network nodes are provided at each intersection. Each one of the nodes includes a disk storage device connected to receive data from and provide data to the first and the second busses associated with the node, and a processor connected to the first and second busses associated with the node for controlling the storage and retrieval of data at the node as well as being capable of controlling the storage and retrieval of data at other nodes within the network.
The above and other objects, features, and advantages of the present invention will become apparent from the following description and the attached drawings.
Brief Description of the Drawings
FIG. 1 is a diagrammatic illustration of a data storage system including a plurality of disk drives and inexpensive processors located within a matrix network, constructed in accordance with the present invention.
FIG. 2 is a block diagram showing the processor, disk drive, and associated elements located within each node of the matrix network illustrated in FIG. 1.
Detailed Description of the Preferred Embodiment
Referring now to FIGS. 1 and 2, there is seen a data storage system in accordance with the present invention. The architecture shown in FIG. 1 includes a host processor connection block 12 providing connection to one or more host system processors, not shown. The host processors are identified by reference numerals H.sub.0, H.sub.1, H.sub.2, . . . H.sub.m. Connection block 12 couples host processors H.sub.0, H.sub.1, H.sub.2, . . . H.sub.m to a network 14 of data storage nodes. Network 14 includes several busses, R.sub.0 through R.sub.m, arranged in rows, each bus connecting one of host processors H.sub.0 through H.sub.m with a group of storage nodes. Network 14 further includes several busses, C.sub.0 through C.sub.n, arranged in columns. A node is formed at every intersection between a row and column bus. The nodes are identified by pairs of coordinates, the first coordinate referring to the number of the row bus to which it connects, and the second coordinate identifying the column bus to which the node connects. The network includes nodes from (0, 0), at the intersection of busses R.sub.0 and C.sub.0, through (m, n), at the intersection of busses R.sub.m and C.sub.n.
H.sub.0 in the configuration shown is connected directly to storage nodes (0, 0) through (0, n) through bus R0. In addition, H.sub.0 is provided access to all the storage nodes on bus C.sub.0, i.e., nodes (1, 0) through (m, 0) by passing through node (0, 0). Nodes (0, 1 ) through (0, n) similarly provide access for processor H.sub.0 to the nodes on busses C.sub.1 through C.sub.n, respectfully. Each one of host processors H.sub.1 through H.sub.m has direct access to all the storage nodes on busses R.sub.1 through R.sub.m, respectively, and access through interconnecting nodes to all the storage nodes on network 14.
Host processor connection block 12 may include logic for executing group array algorithms, such as the RAID algorithms that are necessary for issuing I/O operations, handling error exception conditions, and performing data reconstruction, when a storage device in network 14 fails. Other functions of the logic included in connection block 12 may include diagnostic and group algorithm initialization executed in response to input provided by a system administration. In a high performance configuration, a host processor connection block will exist for every row bus (R.sub.0 through R.sub.m) that is shown in node network 14. The high performance configuration allows multiple I/O commands and data to flow over the attached row busses simultaneously. In a lower performance, lower cost configuration command and data flow over one row bus.
Each of storage nodes (0, 0) through (m, n) includes a storage device, node processor, buffers and interface logic as shown in FIG. 2. A block diagram showing the processor, disk drive, and associated elements located within node (m, n) of network 14 is shown.
Node (m, n) is seen to include an interface I/F 1 to column bus C.sub.n, a second interface I/F 2 to row bus R.sub.m, an inexpensive processor P, data buffers B1, B2, I and B3, and a storage element D, such as a Head Disk Assembly (HDA) for storing and retrieving data. Node processor P and data buffers B1, B2, I and B3 are connected to interface I/F 1 and thereby to network bus C.sub.n by a node bus identified as BUS 1. A second bus, identified as BUS 2, provides connection between node processor P and data buffers B1, B2, I and B3 and interface I/F 2, which thereby provides connection to network bus R.sub.m. Read/write buffer B3 also provides the node connection to storage element D. Nodes (0, 0) through (m, n) are similarly constructed.
Node processor P, in a conventional sense, controls the network protocols, buffer management, error recovery and storage media control such as head positioning, data encoding/decoding and defect handling. A typical example of the network node could be a Small Computer System Interface (SCSI) disk drive.
In operation, array storage requests are received from one or more host processors and directed to designated nodes within network 14 for execution. An exemplary array operation could be for H.sub.0 to issue a RAID level 5 write operation. The command is formed in a packetized mode for serial connections, or in handshake mode for parallel connections, and issued to appropriate nodes over bus R.sub.0. H.sub.0 could issue a write to any desired node (0,0) to (0,n) residing on bus R.sub.0. The node that receives the command will be referred to in the discussion which follows as the primary node. Remaining network nodes will be referred to as secondary nodes. The command contains information about secondary nodes that will be involved in subsequent read/write operations spawned by the primary node. Spawned operations are necessary to complete the RAID level 5 write command. The primary node upon receiving a command takes responsibility for the operation if no error conditions occur. The primary node will report status conditions to the appropriate host processors for irregular conditions.
The data storage system described above permits the distribution of the compute power necessary to execute the array algorithms and functions to the nodes of a generalized network. The network can consist of intelligent disk drives such that the array algorithms and most common functions are executed at the array nodes.
The host system is relieved of many of the array storage operations. Additionally, several array requests may be executed concurrently, each request being processed by a different primary node. The system thereby realizes increased performance beyond the capabilities of a storage system employing a single hardware controller.
The two main attributes of the described system are:
1. Increase in performance because each node contains sufficient processor power to relieve either the Host processor or the H/W array processor; and
2. Relieves the bandwidth bottleneck of the I/O connection since multiple I/O paths can be used to connect the array nodes.
The invention, therefore is very adaptable to various network architectures and provides improvements in network storage performance. This is due to the compute power which is available independent of host system application load. The invention is also intended to improve the incremental capacity and the reliability of computer networks.
It is important to note that network 14 can be a generalized switching arrangement that would provide a multitude of paths to the individual storage devices coupled to the network.
Listed below are example scenarios to show the execution of the exemplary operations by the storage system according to the present invention.
Operation 1:
H.sub.0 issues a RAID level 5 write to node (0,1). H.sub.0 passes commands and data to node (0, 1 ) processor P and buffer B1, respectively, over network bus R.sub.0 and node bus BUS 1. Node (0, 1) processor P decodes the command and determines a read-modify-write cycle is necessary involving secondary node (1,1). Node (0, 1) processor P issues a read command with node (0, 1) identified as the source to node (1,1). The command is communicated to node (1, 1) via bus C.sub.1.
Simultaneously processor P in node (0,1) issues a read to HDA device D in node (0,1) to read old data from HDA device D into Buffer I.
Node processor P in node (1,1) receives the read command via bus C.sub.1, interface block I/F 1, and node bus BUS 1. Node (1,1) processor P decodes the received read command and retrieves read data from HDA device D into buffer I. Node (0,1) and (1,1) complete their respective reads asynchronously. When the reads are complete, node (0,1) contains new data in buffer B1 and old data in buffer I. Node (1,1) contains old parity in its buffer I. Node (1,1) informs node (0,1) that old parity data is in buffer. Node (0,1) reads old parity data over column bus C.sub.1 into node (0,1) buffer B2. Node (0,1) now has new data, old data and old parity in its buffer.
To complete the RAID 5 write operation, node processor (0,1) orders an exclusive-OR of the data stored within buffers B1, B2 and I to generate the new parity data. The new parity is placed in buffer I and readied for transmission to node (1,1) for parity update. Simultaneously, node (0,1) writes the new data from buffer B1 to buffer B3 for writing to storage device D. Node (0,1) issues a normal write command of new parity from buffer I.
Node (1,1) informs node (0,1) that parity write is complete and, in turn, when node (0,1) completes write of new data, informs host processor H.sub.0 that the RAID level 5 write is complete.
Operation 2:
Host processor H.sub.1 issues a normal read to node (1,0) over row bus R.sub.1. Upon completion of the read, node (1,0) reports over bus R.sub.1 to processor H.sub.1 that the operation has completed.
Operation 3:
Operation 3 occurs identical to operation 1 except command and data is passed over row bus R.sub.2 and column bus C.sub.2 and report operation complete messages provided to host H.sub.2 over bus R.sub.2.
Operations 1, 2 and 3 may be performed concurrently.
As shown by the scenarios described above, the architecture enables multiple concurrent operations that distributes the RAID algorithms over the array of nodes. The nodes act as peers and operate in a dynamic client/server mode. This invention facilitates expansion of nodes in both row and column directions. Such expansion permits improvement in performance and capacity without impacting the host processor performance.
The node operation is generalized and could be implemented so that each node can manage as a primary or secondary mode and communicate over a multiplicity of channels.
It can thus be seen that there has been provided by the present invention a data storage system which provides increased performance beyond the capabilities of a host system managed storage system or a storage system employing a single hardware controller. The system described above permits the execution of multiple storage operations concurrently, each operation being coordinated by a different node within the storage network.
This architecture is scalable by design and may be expanded by the addition of nodes in both the row and column direction. In addition, the architecture is not limited to use with magnetic disk drive devices. It can be used to provide RAID technology on sequential access devices (e.g. QIC tapes, DAT tapes, etc.) as well as other direct access devices (e.g., optical disks and media changers) and robotic media changer storage devices. The system can be connected to a single host processor or may be interconnected with several host processors within a multiple processor computer system.
Although the presently preferred embodiment of the invention has been described, it will be understood that various changes may be made within the scope of the appended claims.