# US 2022/0291855 A1 · Reclassification of files in a hierarchical storage management system

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0291855 A1
- Document ID: US20220291855A1
- Status: Published application
- Kind: A1
- Application number: 17/199,488
- Filed: 2021-03-12
- Published: 2022-09-15
- Earliest claimed: 2021-03-12
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Tohru Hasegawa; Hiroshi Itagaki; Tsuyoshi Miyamura; Shinsuke Mitsuma; Atsushi Abe; Noriko Yamamoto
- Web page: https://patentgrep.com/patent/US20220291855A1

## CPC

- G06F 3/0647: {Migration mechanisms}
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/0685: {Hybrid storage combining heterogeneous device types, e.g. hierarchical storage, hybrid arrays}
- G06F 16/164: {File meta data generation}
- G06F 16/185: Hierarchical storage management [HSM] systems, e.g. file migration or policies thereof (details of archiving G06F16/11)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

In an approach to automatically reclassifying files in an HSM system, responsive to occurrence of a recall to move a file on a hierarchical storage system from a secondary storage to a primary storage, whether stub metadata exists for the file is determined. Responsive to determining that stub metadata exists for the file, whether reclassification of the file is necessary is determined based on the stub metadata. Responsive to determining that the reclassification of the file is necessary, the file is reclassified, where the reclassification uses a latest classification model, and further where the stub metadata is updated with results of the reclassification. The file is migrated from the primary storage to the secondary storage based on the stub metadata.

## Claims

### Claim 1

A computer-implemented method comprising:
responsive to occurrence of a recall to move a file on a hierarchical storage system from a secondary storage to a primary storage, determining, by one or more computer processors, whether stub metadata exists for the file, wherein the stub metadata comprises an identifier identifying a model version;
responsive to determining that stub metadata exists for the file, determining, by the one or more computer processors, whether reclassification of the file is necessary based on a check of the stub metadata against a database of classification models;
responsive to determining that the reclassification of the file is necessary, reclassifying, by the one or more computer processors, the file, wherein the reclassification uses a latest classification model, and further wherein the stub metadata is updated with results of the reclassification; and
migrating, by the one or more computer processors, the file from the primary storage to the secondary storage, wherein the file is migrated to the secondary storage based on the stub metadata.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein responsive to determining that the reclassification of the file is necessary, reclassifying, by the one or more computer processors, the file, wherein the reclassification uses the latest classification model further comprises:
determining, by the one or more computer processors, whether the stub metadata is based on the latest classification model; and
responsive to determining that the stub metadata is not based on the latest classification model, determining, by the one or more computer processors, that the reclassification of the file is necessary.

### Claim 3 (depends on 2)

The computer-implemented method of claim 2, further comprising:
responsive to determining that the stub metadata is based on the latest classification model, migrating, by the one or more computer processors, the file to the secondary storage; and
storing, by the one or more computer processors, the stub metadata in a file stub on the primary storage.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein migrating the file from the primary storage to the secondary storage, wherein the file is migrated to the secondary storage based on the stub metadata further comprises:
selecting, by the one or more computer processors, a tape for migration, wherein the tape is selected based on the stub metadata;
storing, by the one or more computer processors, the file on the tape; and
storing, by the one or more computer processors, the stub metadata in a file stub on the primary storage.

### Claim 5 (depends on 4)

The computer-implemented method of claim 4, wherein the file is migrated to a plurality of tapes.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein responsive to determining that the stub metadata exists for the file, determining whether the reclassification of the file is necessary based on the stub metadata and responsive to determining that the reclassification of the file is necessary, reclassifying the file, wherein the reclassification uses the latest classification model, and further wherein the stub metadata is updated with the results of the reclassification comprises:
responsive to determining that the stub metadata does not exist for the file, classifying, by the one or more computer processors, the file, wherein the classification uses the latest classification model; and
updating, by the one or more computer processors, the stub metadata with a results of the classification.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein migrating the file from the primary storage to the secondary storage, wherein the file is migrated to the secondary storage based on the stub metadata comprises:
bringing, by the one or more computer processors, the file into a resident state; and
responsive to initiating a new migration cycle, migrating, by the one or more computer processors, the file to the secondary storage based on the stub metadata.

### Claim 8

A computer program product comprising one or more computer readable storage media and program instructions stored on the one or more computer readable storage media, the program instructions including instructions to:
responsive to occurrence of a recall to move a file on a hierarchical storage system from a secondary storage to a primary storage, determine whether stub metadata exists for the file, wherein the stub metadata comprises an identifier identifying a model version;
responsive to determining that stub metadata exists for the file, determine whether reclassification of the file is necessary based on a check of the stub metadata against a database of classification models;
responsive to determining that the reclassification of the file is necessary, reclassify the file, wherein the reclassification uses a latest classification model, and further wherein the stub metadata is updated with results of the reclassification; and
migrate the file from the primary storage to the secondary storage, wherein the file is migrated to the secondary storage based on the stub metadata.

### Claim 9 (depends on 8)

The computer program product of claim 8, wherein responsive to determining that the reclassification of the file is necessary, reclassify the file, wherein the reclassification uses the latest classification model, and further wherein the stub metadata is updated with the results of the reclassification further comprises one or more of the following program instructions, stored on the one or more computer readable storage media, to:
determine whether the stub metadata is based on the latest classification model; and
responsive to determining that the stub metadata is not based on the latest classification model, determine that the reclassification of the file is necessary.

### Claim 10 (depends on 9)

The computer program product of claim 9, further comprising one or more of the following program instructions, stored on the one or more computer readable storage media, to:
responsive to determining that the stub metadata is based on the latest classification model, migrate the file to the secondary storage; and
store the stub metadata in a file stub on the primary storage.

### Claim 11 (depends on 8)

The computer program product of claim 8, wherein migrate the file from the primary storage to the secondary storage, wherein the file is migrated to the secondary storage based on the stub metadata further comprises one or more of the following program instructions, stored on the one or more computer readable storage media, to:
select a tape for migration, wherein the tape is selected based on the stub metadata;
store the file on the tape; and
store the stub metadata in a file stub on the primary storage.

### Claim 12 (depends on 11)

The computer program product of claim 11, wherein the file is migrated to a plurality of tapes.

### Claim 13 (depends on 8)

The computer program product of claim 8, wherein responsive to determining that the stub metadata exists for the file, determine whether the reclassification of the file is necessary based on the stub metadata and responsive to determining that the reclassification of the file is necessary, reclassify the file, wherein the reclassification uses the latest classification model, and further wherein the stub metadata is updated with the results of the reclassification comprises one or more of the following program instructions, stored on the one or more computer readable storage media, to:
responsive to determining that the stub metadata does not exist for the file, classify the file, wherein the classification uses the latest classification model; and
update the stub metadata with a results of the classification.

### Claim 14 (depends on 8)

The computer program product of claim 8, wherein migrate the file from the primary storage to the secondary storage, wherein the file is migrated to the secondary storage based on the stub metadata comprises one or more of the following program instructions, stored on the one or more computer readable storage media, to:
bring the file into a resident state; and
responsive to initiating a new migration cycle, migrate the file to the secondary storage based on the stub metadata.

### Claim 15

A computer system comprising:
one or more computer processors;
one or more computer readable storage media; and
program instructions stored on the one or more computer readable storage media for execution by at least one of the one or more computer processors, the stored program instructions including instructions to:
responsive to occurrence of a recall to move a file on a hierarchical storage system from a secondary storage to a primary storage, determine whether stub metadata exists for the file, wherein the stub metadata comprises an identifier identifying a model version;
responsive to determining that stub metadata exists for the file, determine whether reclassification of the file is necessary based on a check of the stub metadata against a database of classification models;
responsive to determining that the reclassification of the file is necessary, reclassify the file, wherein the reclassification uses a latest classification model, and further wherein the stub metadata is updated with results of the reclassification; and
migrate the file from the primary storage to the secondary storage, wherein the file is migrated to the secondary storage based on the stub metadata.

### Claim 16 (depends on 15)

The computer system of claim 15, wherein responsive to determining that the reclassification of the file is necessary, reclassify the file, wherein the reclassification uses the latest classification model, and further wherein the stub metadata is updated with the results of the reclassification further comprises one or more of the following program instructions, stored on the one or more computer readable storage media, to:
determine whether the stub metadata is based on the latest classification model; and
responsive to determining that the stub metadata is not based on the latest classification model, determine that the reclassification of the file is necessary.

### Claim 17 (depends on 16)

The computer system of claim 16, further comprising one or more of the following program instructions, stored on the one or more computer readable storage media, to:
responsive to determining that the stub metadata is based on the latest classification model, migrate the file to the secondary storage; and
store the stub metadata in a file stub on the primary storage.

### Claim 18 (depends on 15)

The computer system of claim 15, wherein migrate the file from the primary storage to the secondary storage, wherein the file is migrated to the secondary storage based on the stub metadata further comprises one or more of the following program instructions, stored on the one or more computer readable storage media, to:
select a tape for migration, wherein the tape is selected based on the stub metadata;
store the file on the tape; and
store the stub metadata in a file stub on the primary storage.

### Claim 19 (depends on 15)

The computer system of claim 15, wherein responsive to determining that the stub metadata exists for the file, determine whether the reclassification of the file is necessary based on the stub metadata and responsive to determining that the reclassification of the file is necessary, reclassify the file, wherein the reclassification uses the latest classification model, and further wherein the stub metadata is updated with the results of the reclassification comprises one or more of the following program instructions, stored on the one or more computer readable storage media, to:
responsive to determining that the stub metadata does not exist for the file, classify the file, wherein the classification uses the latest classification model; and
update the stub metadata with a results of the classification.

### Claim 20 (depends on 15)

The computer system of claim 15, wherein migrate the file from the primary storage to the secondary storage, wherein the file is migrated to the secondary storage based on the stub metadata comprises one or more of the following program instructions, stored on the one or more computer readable storage media, to:
bring the file into a resident state; and
responsive to initiating a new migration cycle, migrate the file to the secondary storage based on the stub metadata.
