# US 2022/0012130 A1 · Storage device with fault resilient read-only mode

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

- Number: US 2022/0012130 A1
- Document ID: US20220012130A1
- Status: Published application
- Kind: A1
- Application number: 17/109,041
- Filed: 2020-12-01
- Published: 2022-01-13
- Earliest claimed: 2020-07-13
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Yang Seok KI; Dong Gi Daniel LEE; Sung Wook RYU; Ehsan NAJAFABADI
- Web page: https://patentgrep.com/patent/US20220012130A1

## CPC

- G06F 11/1428: {with loss of hardware functionality}
- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/0634: {by changing the state or mode of one or more devices}
- G06F 3/0644: {Management of space entities, e.g. partitions, extents, pools}
- G06F 3/0649: {Lifecycle management}
- G06F 3/065: {Replication mechanisms}
- G06F 3/0673: {Single storage device}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 3/0689: {Disk arrays, e.g. RAID, JBOD}
- G06F 11/0754: {by exceeding limits}
- G06F 11/0772: {Means for error signaling, e.g. using interrupts, exception flags, dedicated error registers}
- G06F 11/0793: {Remedial or corrective actions (recovery from an exception in an instruction pipeline G06F9/3861; by retry G06F11/1402; for recovering from a failure of a protocol instance or entity H04L69/40)}
- G06F 11/1068: {in sector programmable memories, e.g. flash disk (G06F11/1072 takes precedence)}
- G06F 11/1076: {Parity data used in redundant arrays of independent storages, e.g. in RAID systems}
- G06F 11/1438: {Restarting or rejuvenating}
- G06F 11/1484: {involving virtual machines}
- G06F 11/203: {using migration}
- G06F 11/2089: {Redundant storage control functionality}
- G06F 11/2094: {Redundant storage or storage space (G06F11/2056 takes precedence)}
- G06F 11/3034: {where the computing system component is a storage system, e.g. DASD based or network based (digital input from or digital output to record carriers G06F3/06; digital recording or reproducing G11B20/18; for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS], H04L67/1097)}
- G06F 11/3037: {where the computing system component is a memory, e.g. virtual memory, cache (accessing, addressing or allocating within memory systems or architectures G06F12/00; checking stores for correct operation G11C29/00)}
- G06F 11/3072: {where the reporting involves data filtering, e.g. pattern matching, time or event triggered, adaptive or policy-based reporting}
- G06F 11/327: {Alarm or error message display}
- G06F 11/3409: {for performance assessment}
- G06F 12/0882: Page mode
- G06F 12/1009: using page tables, e.g. page table structures
- G06F 11/3058: {Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations (thermal management in cooling arrangements of a computing system G06F1/206)}
- G06F 11/3065: {Monitoring arrangements determined by the means or processing involved in reporting the monitored data (error or fault reporting or logging G06F11/0766)}
- G06F 2201/81: Threshold
- G06F 2201/85: Active fault masking without idle spares
- G06F 2212/262: configured as RAID
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A storage device, and a method for operating a storage device. In some embodiments, the storage device includes storage media, and the method includes: determining, by the storage device, that the storage device is in a fault state from which partial recovery is possible by operating the storage device in a first read-only mode; and operating the storage device in the first read-only mode, the operating in the first read-only mode including: determining that the age of a first data item stored in a page of the storage device has exceeded a threshold age, and copying the first data item into a rescue space in the storage device.

## Claims

### Claim 1

A method for operating a storage device comprising storage media, the method comprising:
determining, by the storage device, that the storage device is in a fault state from which partial recovery is possible by operating the storage device in a first read-only mode; and
operating the storage device in the first read-only mode,
the operating in the first read-only mode comprising:
determining that the age of a first data item stored in a page of the storage device has exceeded a threshold age, and
copying the first data item into a rescue space in the storage device.

### Claim 2 (depends on 1)

The method of claim 1, wherein the threshold age is based on a retention period of the page of the storage device.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
receiving a read command, from a host connected to the storage device, for a second data item,
decoding the second data item,
returning an indication based on the decoding, and
determining that the size of a bad block management reserve space remaining in a portion of the storage media is less than a threshold size.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
determining that the size of available rescue space is less than a threshold size;
operating the storage device in a second read-only mode; and
sending, to a host connected to the storage device, a notification that:
the storage device is operating in the second read-only mode, and
a data item stored in the storage device will be allowed to expire.

### Claim 5 (depends on 4)

The method of claim 4, further comprising
receiving, by the host, the notification;
reading, by the host, a second data item from the storage device; and
writing, by the host, the second data item to another storage device.

### Claim 6 (depends on 5)

The method of claim 5, further comprising:
determining, by the host, a data rate based on an amount of data and a time to expiration of data stored in the storage device.

### Claim 7 (depends on 4)

The method of claim 4, further comprising:
receiving a read command, from a host connected to the storage device, for a second data item,
determining that the age of the second data item is greater than a second threshold age, and
returning to the host an indication based on the age of the second data item being greater than a second threshold age.

### Claim 8 (depends on 4)

The method of claim 4, further comprising:
receiving a read command, from a host connected to the storage device, for a second data item,
decoding the second data item, and
returning an indication based on the decoding.

### Claim 9 (depends on 1)

The method of claim 1, wherein the operating in the first read-only mode further comprises:
determining that the age of a second data item stored in a page of the storage device has exceeded the threshold age by an amount less than that of the first data item, and
copying the second data item into a rescue space in the storage device.

### Claim 10 (depends on 1)

The method of claim 1, further comprising compressing the first data item.

### Claim 11 (depends on 1)

The method of claim 1, further comprising:
creating a namespace for the rescue space, and
increasing the size of the namespace.

### Claim 12 (depends on 1)

The method of claim 1, further comprising:
tagging, by a host connected to the storage device, the first data item with a first importance indicator.

### Claim 13 (depends on 1)

The method of claim 1, further comprising:
tagging, by a host connected to the storage device, the first data item as being part of a first file, the first file being a file of a first file type.

### Claim 14 (depends on 1)

The method of claim 1, further comprising:
tagging, by a host connected to the storage device, the first data item as being part of a first file,
tagging, by the host connected to the storage device, a second data item as being part of the first file, and
copying the first data item into the rescue space.

### Claim 15

A system comprising a storage device,
the storage device comprising a processing circuit configured to:
determine, that the storage device is in a fault state from which partial recovery is possible by operating the storage device in a first read-only mode; and
operate the storage device in the first read-only mode,
the operating in the first read-only mode comprising:
determining that the age of a first data item stored in a page of the storage device has exceeded a threshold age, and
copying the first data item into a rescue space in the storage device.

### Claim 16 (depends on 15)

The system of claim 15, wherein the threshold age is based on a retention period of the page of the storage device.

### Claim 17 (depends on 15)

The system of claim 15, wherein the processing circuit is further configured to:
determine that the size of available rescue space is less than a threshold size;
operate the storage device in a second read-only mode; and
send, to a host connected to the storage device, a notification that:
the storage device is operating in the second read-only mode, and
a data item stored in the storage device will be allowed to expire.

### Claim 18

A system comprising a storage device,
the storage device comprising a means for processing configured to:
determine, that the storage device is in a fault state from which partial recovery is possible by operating the storage device in a first read-only mode; and
operate the storage device in the first read-only mode,
the operating in the first read-only mode comprising:
determining that the age of a first data item stored in a page of the storage device has exceeded a threshold age, and
copying the first data item into a rescue space in the storage device.

### Claim 19 (depends on 18)

The system of claim 18, wherein the threshold age is based on a retention period of the page of the storage device.

### Claim 20 (depends on 18)

The system of claim 18, wherein the means for processing is further configured to:
determine that the size of available rescue space is less than a threshold size;
operate the storage device in a second read-only mode; and
send, to a host connected to the storage device, a notification that:
the storage device is operating in the second read-only mode, and
a data item stored in the storage device will be allowed to expire.
