# US 11,307,931 B1 · Using zones to manage capacity reduction due to storage device failure

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

- Number: US 11,307,931 B1
- Document ID: US11307931B1
- Status: Granted
- Kind: B1
- Application number: 17/207,426
- Filed: 2021-03-19
- Granted: 2022-04-19
- Earliest claimed: 2021-03-19
- Assignees: Micron Technology, Inc.
- Applicants: Micron Technology, Inc.
- Inventors: Luca Bert
- Web page: https://patentgrep.com/patent/US11307931B1

## CPC

- G06F 11/0772: {Means for error signaling, e.g. using interrupts, exception flags, dedicated error registers}
- G06F 11/1428: {with loss of hardware functionality}
- G06F 11/073: {in a memory management context, e.g. virtual memory or cache management (memory management G06F12/00; testing of static memory units G11C29/00)}
- G06F 11/1469: {Backup restoration techniques}
- G06F 2201/85: Active fault masking without idle spares
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A system and method for managing a reduction in capacity of a memory sub-system. An example method involving a memory sub-system: configuring the memory device with a zoned namespace comprising a plurality of zones; notifying a host system of a failure associated with a zone of the plurality of zones, wherein the failure affects stored data; receiving from the host system an indication to continue at a capacity that is reduced; recovering the stored data of the zone affected by the failure; and updating the set of memory devices to change the capacity to a reduced capacity.

## Claims

### Claim 1

A system comprising:
a memory device; and
a processing device, operatively coupled with the memory device, to perform operations comprising:
configuring the memory device with a zoned namespace comprising a plurality of zones;
notifying a host system of a failure associated with a zone of the plurality of zones, wherein the failure affects stored data;
receiving from the host system an indication to continue at a capacity that is reduced;
recovering the stored data of the zone affected by the failure; and
updating the set of memory devices to change the capacity to a reduced capacity.

### Claim 2 (depends on 1)

The system of claim 1, wherein recovering the stored data comprises:
accessing recovery data stored by the memory device, wherein the recovery data comprises parity data; and
generating the stored data affected by the failure based on the recovery data.

### Claim 3 (depends on 1)

The system of claim 1, wherein the operations further comprise:
locking the zone associated with the failure, wherein the locking comprises a write lock that enables reads by the host system and disables writes by the host system;
providing the host system with data that is recovered in response to a read request for the zone;
deleting all the data in the zone; and
generating recovery data for the set of memory devices based on the reduced capacity.

### Claim 4 (depends on 1)

The system of claim 1, wherein updating the set of memory devices to change the capacity to a reduced capacity comprise updating the zoned namespace to deactivate the zone.

### Claim 5 (depends on 1)

The system of claim 1, wherein the operations further comprise:
indicating to the host system that the capacity of the set of memory devices is unable to store recovered data;
receiving from the host system a storage location to store the recovered data, wherein the storage location is in a main memory of the host system; and
providing the recovered data for storage at the storage location.

### Claim 6 (depends on 1)

The system of claim 1, wherein the notifying comprises transmitting a message that indicates to the host system a set of one or more zones of the plurality of memory devices that are affected by the failure.

### Claim 7 (depends on 1)

The system of claim 1, wherein the system comprises a solid state drive (SSD) and wherein the processing device is a memory controller of the solid state drive.

### Claim 8

A method comprising:
configuring the memory device with a zoned namespace comprising a plurality of zones;
notifying a host system of a failure associated with a zone of the plurality of zones, wherein the failure affects stored data;
receiving, by a processing device, from the host system an indication to continue at a capacity that is reduced;
recovering the stored data of the zone affected by the failure; and
updating, by the processing device, the set of memory devices to change the capacity to a reduced capacity.

### Claim 9 (depends on 8)

The method of claim 8, wherein recovering the stored data comprises:
accessing recovery data stored by the memory device, wherein the recovery data comprises parity data; and
generating the stored data affected by the failure based on the recovery data.

### Claim 10 (depends on 8)

The method of claim 8, further comprising:
locking the zone associated with the failure, wherein the locking comprises a write lock that enables reads by the host system and disables writes by the host system;
providing the host system with data that is recovered in response to a read request for the zone;
deleting all the data in the zone; and
generating recovery data for the set of memory devices based on the reduced capacity.

### Claim 11 (depends on 8)

The method of claim 8, wherein updating the set of memory devices to change the capacity to a reduced capacity comprise updating the zoned namespace to deactivate the zone.

### Claim 12 (depends on 8)

The method of claim 8, further comprising:
indicating to the host system that the capacity of the set of memory devices is unable to store recovered data;
receiving from the host system a storage location to store the recovered data, wherein the storage location is in a main memory of the host system; and
providing the recovered data for storage at the storage location.

### Claim 13 (depends on 8)

The method of claim 8, wherein the notifying comprises transmitting a message that indicates to the host system a set of one or more zones of the plurality of memory devices that are affected by the failure.

### Claim 14 (depends on 8)

The method of claim 8, wherein the processing device is a memory controller of a solid state drive.

### Claim 15

A non-transitory computer-readable medium storing instructions, which when executed by a processing device, cause the processing device to perform operations comprising:
configuring a set of memory devices with a zoned namespace comprising a first zone and a second zone;
notifying a host system of a plurality of failures associated with the plurality of zones, wherein a first failure affects stored data of the first zone and a second failure affects stored data of the second zone;
receiving from the host system an indication to continue at a capacity that is reduced after each of the plurality of failures;
recovering the stored data of the first zone that was affected by the failure; and
updating the set of memory devices to change the capacity to a reduced capacity after each of the plurality of failures.

### Claim 16 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein recovering the stored data comprises:
accessing recovery data stored by the set of memory devices, wherein the recovery data comprises parity data; and
generating the stored data of the first zone based on the recovery data.

### Claim 17 (depends on 15)

The non-transitory computer-readable medium of claim 15, further comprising:
locking the first zone, wherein the locking comprises a write lock that enables reads by the host system and disables writes by the host system;
providing the host system with data that is recovered in response to a read request for the first zone;
deleting all the data in the first zone; and
generating recovery data for the set of memory devices based on the reduced capacity.

### Claim 18 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein updating the set of memory devices to change the capacity to a reduced capacity comprise updating the zoned namespace to deactivate the first zone.

### Claim 19 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the operations further comprise:
indicating to the host system that the capacity of the set of memory devices is unable to store recovered data;
receiving from the host system a storage location to store the recovered data, wherein the storage location is in a main memory of the host system; and
providing the recovered data for storage at the storage location.

### Claim 20 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the notifying comprises transmitting a message that indicates to the host system that the first zone is affected by the first failure.
