Storage system and information transfer method for the same
AssigneeHitachi, Ltd.
InventorsAtsushi Ueoka, Toshio Otani
Life of this patent
Estimating the term…
Abstract
Before transferring a file, a CPU executes the following processing based on a transfer processing program: obtaining the directory tree structure of a transfer-source storage device; dividing the directory tree into directory trees so that each divided directory tree is structured within the full path length of a directory tree that can be handled by a transfer-destination storage device; associating the divided directory trees with each other; and then storing the associated directory trees in a volume of the transfer-destination storage device.
Claims10
A storage system comprising:
- a first storage device that includes a first file system;
- a second storage device that includes a second file system;
- and
- a control unit that controls transfer of a file stored in a storage area in the first storage device to a storage area in the second storage device, the control unit performing the following operations:
- collecting from the first storage device first information about a first management structure of the first file system, said first management structure being configured by a first directory tree having a path length;
- collecting from the second storage device second information about a second management structure of the second file system, said second management structure being configured by a second directory tree having a path length;
- comparing the first information with the second information and judging whether or not a first limit value for the first management structure exceeds a second limit value for the second management structure;
- and
- if the first limit value exceeds the second limit value, converting the first management structure so that the property of the first management structure does not exceed the second limit value, arranging the second file system so that it includes the converted management structure, and transferring the file stored in the first storage device serving as a transfer source storage device to the second storage device serving as a transfer destination storage device, using the converted management structure included in the second file system;
- wherein, if a maximum path length of the first directory tree created in the transfer-source storage device exceeds the full path length of a directory tree that can be handled by the transfer-destination storage device, the first directory tree in the transfer-source storage device is divided into a plurality of divided directory trees and the divided directory trees are created in the transfer-destination storage device and associated with each other using a symbolic link.
A storage system information transfer method, the storage system including:
- a first storage device having a first file system;
- a second storage device having a second file system;
- and a control unit that is connected via a network to the first storage device and the second storage device and controls information transfer between the first storage device and the second storage device, the control unit controlling transfer of a file stored in a storage area of the first storage device to a storage area of the second storage device,
- the method comprising the following steps performed by the control unit:
- a first step of collecting first information about a first management structure of the first file system from the first storage device, said first management structure being configured by a first directory tree having a path length;
- a second step of collecting second information about a second management structure of the second file system from the second storage device, said second management structure being configured by a second directory tree having a path length;
- a third step of comparing the first information with the second information and judging whether or not a first limit value for the first management structure exceeds a second limit value for the second management structure;
- a fourth step of converting, if the first limit value exceeds the second limit value, the first management structure so that the property of the first management structure does not exceed the second limit value;
- and
- a fifth step of arranging the second file system so that it includes the management structure converted in the fourth step and transferring the file stored in the first storage device serving as a transfer source storage device to the second storage device serving as a transfer destination storage device, using the converted management structure included in the second file system,
- wherein, if a maximum path length of the first directory tree created in the transfer-source storage device exceeds the full path length of a directory tree that can be handled by the transfer-destination storage device, the first directory tree in the transfer-source storage device is divided into a plurality of divided directory trees and the divided directory trees are created in the transfer-destination storage device and associated with each other using a symbolic link.
A storage system information transfer method, the storage system including:
- a first storage device that provides at least one logical storage area via a network;
- a second storage device that provides at least one logical storage area via the network;
- and a host system that controls information transfer between the first storage device and the second storage device via the network, the host system controlling transfer of information stored in the logical storage area of the first storage device to the logical storage area of the second storage device,
- the method comprising the following steps performed by the host system:
- a first step of collecting via the network a structure of a directory tree created in the logical storage area of the first storage device serving as a transfer source storage device;
- a second step of converting the structure of the directory tree collected in the first step so that it is structured within a maximum path length of a directory tree that can be handled by the second storage device;
- a third step of creating the directory tree converted in the second step in the logical storage area of the second storage device serving as a transfer destination storage device;
- and
- a fourth step of transferring a file stored in each directory tree of the logical storage area of the first storage device to the directory tree created in the third step;
- wherein in the second step, the host system divides the directory tree of the first storage device whose maximum path length exceeds that of the directory tree of the second storage device into a plurality of divided directory trees so that each divided directory tree will have a path length equal to or shorter than the maximum path length of the directory tree accepted in the second storage device only if the maximum path length of the directory tree of the first storage device exceeds the maximum path length of the directory tree of the second storage device, and
- in the third step, the host system associates and connects the plurality of divided directory trees with each other via link information, and the host system transfers files stored in the plurality of directories connected via the link information to the logical storage area of the second storage device.
Dependencies are inferred from the claim text.