# US 2020/0264971 A1 · Storage system and compression method

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

- Number: US 2020/0264971 A1
- Document ID: US20200264971A1
- Status: Published application
- Kind: A1
- Application number: 16/570,143
- Filed: 2019-09-13
- Published: 2020-08-20
- Earliest claimed: 2019-02-14
- Assignees: Hitachi, Ltd.; Hitachi Information & Telecommunication Engineering, Ltd.
- Applicants: Hitachi, Ltd.; Hitachi Information & Telecommunication Engineering, Ltd.
- Inventors: Junji OGAWA; Shigeo HOMMA
- Web page: https://patentgrep.com/patent/US20200264971A1

## CPC

- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 12/0292: {using tables or multilevel address translation means (G06F12/023 takes precedence; address translation in virtual memory systems G06F12/10)}
- G06F 2212/214: Solid state disk
- G06F 2212/401: Compressed data
- G06F 2212/657: Virtual address space management
- G06F 2212/7201: Logical to physical mapping or translation of blocks or pages
- G06F 2212/7202: Allocation control and policies
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A storage system including a storage controller for compressing a data from a host and a plurality of nonvolatile memory drives for writing the compressed data. The storage controller provides the host with a first logical address space as a logical storage area and includes a plurality of first physical address spaces corresponding to the first logical address space and manages storage areas of the plurality of nonvolatile memory drives. Each of the plurality of nonvolatile memory drives includes a second physical address space that manages a physical storage area of the nonvolatile memory and a second logical address space that corresponds to the second physical address space and to each of the plurality of first physical address spaces. The second logical address spaces and the first logical address space are managed with a common size and a common management size, and leading addresses are aligned with the management size.

## Claims

### Claim 1

A storage system having a storage controller connected to a host and a plurality of nonvolatile memory drives connected to the storage controller,
wherein the storage controller compresses a data from the host, provides the host with a first logical address space as a logical storage area, manages a before-compression data to be stored in the first logical address space, and manages an after-compression data to be written to a plurality of first physical address spaces that correspond to the first logical address space and that respectively manage storage areas of the plurality of nonvolatile memory drives,
wherein each of the plurality of nonvolatile memory drives includes a nonvolatile memory, includes a second physical address space that manages a physical storage area of the nonvolatile memory and a second logical address space that corresponds to the second physical address space and that corresponds to each of the plurality of first physical address spaces, manages the after-compression data to be stored in the second logical address space, and writes the compressed data to the second physical address space,
wherein the second logical address space and one of the plurality of first physical address spaces are managed with a common size and a common management size, and the first logical address space and the plurality of first physical address spaces are managed with a common size and a common management size, and
wherein, in the first logical address space, the plurality of first physical address spaces, and a plurality of the second logical address spaces, leading addresses are aligned with the management size.

### Claim 2 (depends on 1)

The storage system according to claim 1, wherein each of the plurality of nonvolatile memory drives has an expansion function for expanding the second physical address space so as to correspond to one of the plurality of first physical address spaces with a common size.

### Claim 3 (depends on 2)

The storage system according to claim 2, wherein the storage controller has after-compression data size information for managing an after-compression data size for each management size.

### Claim 4 (depends on 2)

The storage system according to claim 2, wherein each of the plurality of nonvolatile memory drives has a logical-physical conversion table for managing a correspondence relationship between a logical address of the second logical address space provided to the storage controller by each of the plurality of nonvolatile memory drives and a physical address of the nonvolatile memory.

### Claim 5 (depends on 2)

The storage system according to claim 2, wherein the storage controller
divides a write data according to configuration information when the write data is received from the host,
divides the divided write data with a before-compression management size,
compresses the write data divided with the before-compression management size to generate an after-compression data,
assigns a zero data to a difference between the after-compression data and the before-compression management size,
manages the after-compression data to be stored in the second logical address space, and
writes the compressed data to the second physical address space corresponding to the second logical address space.

### Claim 6 (depends on 5)

The storage system according to claim 5, wherein the storage controller writes, to the second physical address space,
a first data obtained by assigning the zero data to the after-compression data,
a second data obtained by reading an old data stored at an address of the first logical address space to which the write data is written and assigning the zero data to the read old data,
a third data obtained by reading a parity data of the old data as an old parity data and assigning the zero data to the old parity data, and
a new parity obtained by generating a parity from the first data, the second data, and the third data and removing the zero data from the generated parity.

### Claim 7

A data compression method for a storage system having a storage controller connected to a host and a plurality of nonvolatile memory drives connected to the storage controller,
wherein the storage controller compresses a data from the host, provides the host with a first logical address space as a logical storage area, manages a before-compression data to be stored in the first logical address space, and manages an after-compression data to be written to a plurality of first physical address spaces that correspond to the first logical address space and that respectively manage storage areas of the plurality of nonvolatile memory drives,
wherein each of the plurality of nonvolatile memory drives includes a nonvolatile memory, includes a second physical address space that manages a physical storage area of the nonvolatile memory and a second logical address space that corresponds to the second physical address space and that corresponds to each of the plurality of first physical address spaces, manages the after-compression data to be stored in the second logical address space, and writes the compressed data to the second physical address space,
wherein the second logical address space and one of the plurality of first physical address spaces are managed with a common size and a common management size, and the first logical address space and the plurality of first physical address spaces are managed with a common size and a common management size, and
wherein, in the first logical address space, the plurality of first physical address spaces, and a plurality of the second logical address spaces, leading addresses are aligned with the management size.

### Claim 8 (depends on 7)

The data compression method for a storage system according to claim 7, wherein each of the plurality of nonvolatile memory drives has an expansion function for expanding the second physical address space so as to correspond to one of the plurality of first physical address spaces with a common size.

### Claim 9 (depends on 8)

The data compression method for a storage system according to claim 8, wherein the storage controller
divides a write data according to configuration information when the write data is received from the host,
divides the divided write data with a before-compression management size,
compresses the write data divided with the before-compression management size to generate an after-compression data,
assigns a zero data to a difference between the after-compression data and the before-compression management size,
manages the after-compression data to be stored in the second logical address space, and
writes the compressed data to the second physical address space corresponding to the second logical address space.

### Claim 10 (depends on 9)

The data compression method for a storage system according to claim 9, wherein the storage controller writes, to the second physical address space,
a first data obtained by assigning the zero data to the after-compression data,
a second data obtained by reading an old data stored at an address of the first logical address space to which the write data is written and assigning the zero data to the read old data,
a third data obtained by reading a parity data of the old data as an old parity data and assigning the zero data to the old parity data, and
a new parity obtained by generating a parity from the first data, the second data, and the third data and removing the zero data from the generated parity.

### Claim 11

A storage system having a storage controller connected to a host to compress a data from the host and a plurality of nonvolatile memory drives connected to the storage controller to write a compressed data compressed by the storage controller to a nonvolatile memory,
wherein the storage controller provides the host with a first logical address space as a logical storage area and includes a plurality of first physical address spaces that correspond to the first logical address space and that respectively manage storage areas of the plurality of nonvolatile memory drives,
wherein each of the plurality of nonvolatile memory drives includes a second physical address space that manages a physical storage area of the nonvolatile memory and a second logical address space that corresponds to the second physical address space and that corresponds to each of the plurality of first physical address spaces, and
wherein all the second logical address spaces of the plurality of nonvolatile memories and the first logical address space are managed with a common size and a common management size, and leading addresses are aligned with the management size.
