IP Library Granted Patent US 8,135,677
Granted Patent B2
US 8,135,677 · App. 12/234,815 · Granted Mar 13, 2012

File management system and method

Assignee: Hitachi, Ltd.
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,135,677
App. No.
12/234,815
Granted
Mar 13, 2012
Kind
B2
Abstract

A proposal is made of a file management system and method capable of reliably deleting unnecessary data. In a file management console and method for reading or writing data of a file from or in a first volume, which is provided by a storage device, in response to a request sent from a host computer, one snapshot or multiple snapshots that relate to the first volume and can be updated are created. In response to an externally issued designated file deletion command, a designated file is deleted from all of the first volume and snapshots or part thereof specified in the deletion command. At this time, the data items of the designated file in the first volume and/or snapshots from which the designated file should be deleted are overwritten with invalid data. Moreover, pieces of management information on the designated file are changed to a reference-disabled state.

Claims (38)

1. A file management system that is connected to a storage device and reads or writes data of a file from or in a first volume, which is provided by the storage device, in response to a request sent from a host computer, comprising:

a snapshot creating unit that creates one snapshot or a plurality of snapshots which relates to the first volume and can be updated; and

a file deleting unit that, in response to an externally issued designated file deletion command, deletes a designated file from all of the first volume and snapshots or part thereof specified in the deletion command, wherein:

the file deleting unit overwrites the data items of the designated file in at least one of the first volume and the snapshots, from which the designated file should be deleted, with invalid data, and changes pieces of management information on the designated file into a reference-disabled state,

wherein:

when a file shared by the first volume and snapshot or by the plurality of snapshots is updated, the snapshot creating unit executes copying processing of copying the data of the file, which is obtained prior to the updating, into a second volume provided by the storage device;

the file deleting unit changes the referencing destination of the designated file, which is specified in the management information on the designated file in the first volume or snapshot from which the designated file should be deleted, into the referencing destination of the designated file specified in the management information on the designated file in the first volume or snapshot designated as a base snapshot among at least one of the first volume and snapshots from which the designated file should be deleted, overwrites the referencing destination of the designated file, which is specified in the management information on the designated file in the at least one of the first volume and snapshot other than the base snapshot among the at least one of the first volume and snapshots from which the designated file should be deleted, with invalid data, and collects the storage area, in which the data of the designated file overwritten with the invalid data has been stored, as an unused area;

the file deleting unit controls the snapshot creating unit so that the copying processing will be ceased;

the file deleting unit overwrites the position of the data of the designated file, which is specified in the management information on the designated file in the first volume, with invalid data;

the file deleting unit deletes the pieces of management information on the designated file in the at least one of the first volume and snapshots from which the designated file should be deleted; and

the file deleting unit controls the snapshot creating unit so that the copying processing will be resumed.

2. The file management system according to claim 1 , wherein:

the deletion command includes a filename division in which the filename of a designated file is specified, and a command name division in which a command name instructing that the file should be deleted from the first volume and all the snapshots is specified; and

when the deletion command is issued, the file deleting unit deletes the file, which has the filename thereof specified in the filename division of the deletion command, from all the first volume and snapshots.

3. The file management system according to claim 1 , wherein:

the unit of data deletion is a file;

the deletion command includes a filename division in which the filename of a designated file is specified, an optional division in which identification information or pieces of identification information on one snapshot or a plurality of snapshots from which the designated file should be deleted are specified, and a command name division in which a command name instructing that the file having the filename thereof specified in the filename division should be deleted from all the snapshots which have the pieces of identification information thereon specified in the optional division; and

when the deletion command is issued, the data deleting unit deletes the file, which has the filename thereof specified in the filename division of the deletion command, from all the snapshots which have the pieces of identification information thereon specified in the optional division.

4. A file management method for reading or writing data of a file from or in a first volume, which is provided by a storage device, in response to a request sent from a host computer, comprising:

a first step of creating one snapshot or a plurality of snapshots which relates to the first volume and can be updated;

a second step of, in response to an externally issued designated file deletion command, deleting a designated file from all of the first volume and snapshots or part thereof specified in the deletion command, wherein:

at the second step, data items of the designated file in at least one of the first volume and snapshots, from which the designated file should be deleted, are overwritten with invalid data, and pieces of management information on the designated file are changed to a reference-disabled state,

wherein:

at the first step, when a file shared by the first volume and snapshot or by the plurality of snapshots is updated, copying processing of copying the data of the file, which is obtained prior to the updating, to the second volume provided by the storage device is executed; and

at the second step:

the referencing destination of the designated file specified in the pieces of management information on the designated file in the at least one of the first volume and snapshots from which the designated file should be deleted is changed to the referencing destination of the designated file specified in the management information on the designated file in the first volume or snapshot, which is designated as a base snapshot, among the at least one of the first volume and snapshots from which the designated file should be deleted;

the referencing destination of the designated file specified in the management information on the designated file in the first volume and snapshot other than the base snapshot among the at least one of the first volume and snapshots from which the designated file should be deleted is overwritten with invalid data;

the storage area in which the data of the designated file overwritten with the invalid data has been stored is collected as an unused area;

the copying processing is ceased;

the position of the data of the designated file specified in the management information on the designated file in the base snapshot is overwritten with invalid data;

the pieces of management information on the designated data in the at least one of the first volume and snapshots from which the designated file should be deleted are deleted; and the copying processing is resumed.

5. The file management method according to claim 4 , wherein:

the deletion command includes a filename division in which the filename of a designated file is specified, and a command name division in which a command name instructing that the designated file should be deleted from the first volume and all the snapshots is specified;

at the second step, when the deletion command is issued, the file having the filename thereof specified in the filename division of the deletion command is deleted from all of the first volume and snapshots.

6. The file management method according to claim 4 , wherein:

the unit of data deletion is a file;

the deletion command includes a filename division in which the filename of a designated file is specified, an optional division in which identification information or pieces of identification information on one snapshot or a plurality of snapshots from which the designated file should be deleted are specified, and a command name division in which a command name instructing that the file having the filename thereof specified in the filename division should be deleted from all the snapshots which have the pieces of identification information thereon specified in the optional division; and

at the second step, when the deletion command is issued, the file having the filename thereof specified in the filename division of the deletion command is deleted from all the snapshots which have the pieces of identification information thereon specified in the optional division.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 22, 2008
From: MATSUZAWA, KEIICHI; SUTOH, ATSUSHI
To: HITACHI, LTD.
Reel/Frame 021563/0390 →
Priority Claims (1)
JP 2008-195363 · Jul 29, 2008 · national
Continuity (1)
Related Publication 20100030825A1 · Feb 4, 2010