Disk control system and control method of disk control system
View Patent ↗In order to assign logical devices efficiently to logical units, a disk control system that receives a process command for writing or reading of data from an information processing device, and performs a write or read process of data with respect to a logical device corresponding to a logical unit specified by that process command, includes means for managing logical devices, which are logical storage regions that have been set in a storage region provided by a disk drive, means for storing a correspondence between logical units, which are storage regions that have been set logically, and the logical devices, and means for assigning, when a process command has been received for a logical unit to which no logical device has been assigned, a logical device to that logical unit and performing processing with regard to that logical device.
1. A control method for a disk control system for managing, as units, logical devices, the logical devices being logical storage regions defined in a storage region provided by a disk drive, said disk control system further for storing a correspondence between said logical devices and logical units, said disk control system further for receiving a process command sent from an information processing device, said disk control system further for performing processing with respect to a logical device corresponding to the logical unit specified by said process command, the control method comprising:
a first step of receiving a process command for a logical unit to which no logical device has been assigned;
a second step of assigning to said logical unit a logical device when a process command has been received for said logical unit which requires data transfer with said logical unit; and
a third step of performing said process command with regard to said logical device assigned in said second step.
2. The method of claim 1 wherein if said process command is a write command, then assigning a logical device having available storage capacity greater than the amount of data associated with said write command.
3. The method of claim 1 wherein if said process command is a write command and if said logical device lacks available capacity to store data associated with said write command, then assigning an additional logical device having available storage capacity to store a remaining portion of said data.
4. The method of claim 1 wherein if said process command is in accordance with the SCSI standard, then determining whether or not to assign an additional logical device based on said process command.
5. A disk control system for managing, as units, logical devices which are logical storage regions that have been set in a storage region provided by a disk drive, the disk control system comprising:
a processor: and
a memory to store a correspondence between said logical devices and logical units, which are storage regions that have been set logically:
said processor configured to perform steps of:
receiving a process command for a logical unit to which no logical device has been assigned, the process command having been sent from an information processing device;
assigning to that logical unit a logical device, when a process command has been received for said logical unit which requires data transfer with said logical unit; and
performing said process command with regard to said logical device that has been assigned in said assigning step.
6. The system of claim 5 wherein if said process command is a write command, then assigning a logical device having available storage capacity greater than the amount of data associated with said write command.
7. The system of claim 6 wherein if said process command is a write command and if said logical device lacks available capacity to store data associated with said write command, then assigning an additional logical device having available storage capacity to store a remaining portion of said data.
8. The system of claim 6 wherein if said process command is in accordance with the SCSI standard, then determining whether or not to assign an additional logical device based on said process command.