Patent ID: 8386707

Claim:
A computer-readable storage medium storing a virtual disk management program for causing a computer to carry out management of access to a storage device of which a storage area is divided into a plurality of slices for management, via a virtual disk, wherein the virtual disk management program causes the computer to carry out processing comprising: generating a virtual disk formed by a plurality of segments each having a same storage capacity as that of each slice, when a connection notice notifying connection of a storage device to be connected is received from a first disk node including the storage device to be connected in which data has already been stored; allocating one slice of a connected storage device other than the storage device to be connected to a predetermined one of the segments forming the virtual disk, as a data transfer destination slice; transmitting metadata for transferred data, which is indicative of a result of allocation of the data transfer destination slice, to a second disk node including the connected storage device; defining one slice of storage area in the storage device to be connected as a management information area, and transmitting a copy request for copying data in the management information area to the data transfer destination slice in the connected storage device, to the first disk node; allocating a plurality of slices obtained by dividing a storage area other than the one slice of storage area in the storage device to be connected, to segments other than the predetermined one of the slices of the virtual disk; transmitting a write request for writing metadata for existing data, which is indicative of correspondence between the slices of the storage device to be connected and the segments of the virtual disk, into the management information area, to the first disk node; and transmitting metadata for access, which is indicative of a relationship of allocation of slices to the segments of the virtual disk, to an access node for accessing the storage device to be connected and the connected storage device via the virtual disk.