Storage apparatus and its file control method and storage system
AssigneeHitachi, Ltd.
InventorsNobumitsu Takaoka, Hitoshi Kamei
Life of this patent
Estimating the term…
Abstract
Decrease in the write speed is prevented even when overwriting the entire file. When a NAS apparatus receives a file size change request from a computer as an access request source for changing the size of a file, the NAS apparatus creates a new file related to the file in a file system with a processing performance that is higher than a file system containing the file as an entity of that file, associates the new file and the foregoing file, deletes the file on the condition that the new file and the file has been associated, and executes data write processing of writing data into the new file on the condition of subsequently receiving a data write request from the access request source for writing data into the file.
Claims13
A storage apparatus, comprising:
- a storage device having a plurality of volumes configured by being separated into different groups based on processing performance as logical storage areas of data;
- and
- a controller having a hierarchy file system that is virtually hierarchized by integrating a plurality of file systems containing files which are hierarchically established on the plurality of volumes, and which manages the hierarchy file system as an access target to an access request source;
- wherein, when the controller receives a file size change request from the access request source, the controller extracts an access target file that is designated in the file size change request from the files belonging to the hierarchy file system, extracts a first file system among the plurality of file systems to which a real file to become an entity of the extracted access target file belongs, extracts a second file system to become a virtual migration destination of the real file, creates a new file related to the real file in the extracted second file system, associates the created new file and the access target file, and, upon subsequently receiving a data write request from the access request source for writing data into the access target file, executes data write processing of writing data into the new file.
A file control method performed by a storage device having a plurality of volumes configured by being separated into different groups based on processing performance as logical storage areas of data, and a controller having a hierarchy file system that is virtually hierarchized by integrating a plurality of file systems containing files which are hierarchically established on the plurality of volumes, and which manages the hierarchy file system as an access target to an access request source,
- wherein the controller performs the method comprising:
- a step of extracting an access target file that is designated in the file size change request from the files belonging to the hierarchy file system, extracting a first file system among the plurality of file systems to which a real file to become an entity of the extracted access target file belongs, and extracting a second file system to become a virtual migration destination of the real file upon receiving a file size change request from the access request source;
- a step of creating a new file related to the real file the second file system extracted in the step of extracting a second file system;
- a step of associating the new file created in the foregoing step and the access target file;
- and
- a step of executing data write processing of writing data into the new file upon subsequently receiving a data write request from the access request source for writing data into the access target file.
A storage system, comprising:
- a storage device having a plurality of volumes configured by being separated into different groups based on processing performance as logical storage areas of data;
- and
- a file server having a hierarchy file system that is virtually hierarchized by integrating a plurality of file systems containing files which are hierarchically established on the plurality of volumes, and which manages the hierarchy file system as an access target to an access request source;
- and
- a computer that is connected to the file server via a communication network and which sends and receives information to and from the file server with the hierarchy file system as an access target;
- wherein the file server includes:
- a file truncate processing unit which, upon receiving a file size change request from the computer as the access request source, extracts an access target file that is designated in the file size change request from the files belonging to the hierarchy file system, extracts a first file system among the plurality of file systems to which a real file to become an entity of the extracted access target file belongs, extracts a second file system to become a virtual migration destination of the real file, creates a new file related to the real file in the extracted second file system, and associates the created new file and the access target file;
- and
- a data write processing unit for executing data write processing of writing data into the new file upon receiving a data write request of writing data into the access target file after receiving the file size change request from the computer.
Dependencies are inferred from the claim text.