# US 2017/0285980 A1 · Allocating data based on memory device performance in a dispersed storage network

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

- Number: US 2017/0285980 A1
- Document ID: US20170285980A1
- Status: Published application
- Kind: A1
- Application number: 15/237,820
- Filed: 2016-08-16
- Published: 2017-10-05
- Earliest claimed: 2016-03-29
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Greg R. Dhuse; Jason K. Resch
- Web page: https://patentgrep.com/patent/US20170285980A1

## CPC

- G06F 11/1076: {Parity data used in redundant arrays of independent storages, e.g. in RAID systems}
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/061: {Improving I/O performance}
- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/0631: {by allocating resources to storage systems}
- G06F 3/0635: {by changing the path, e.g. traffic rerouting, path reconfiguration}
- G06F 3/064: {Management of blocks}
- G06F 3/0644: {Management of space entities, e.g. partitions, extents, pools}
- G06F 3/0647: {Migration mechanisms}
- G06F 3/0653: {Monitoring storage devices or systems}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/067: {Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]}
- G06F 11/1092: {Rebuilding, e.g. when physically replacing a failing disk}
- G06F 11/1662: {the resynchronized component or unit being a persistent storage device (re-synchronization of failed mirror storage G06F11/2082; rebuild or reconstruction of parity RAID storage G06F11/1008)}
- 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/3051: {Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs (verification or detection of system hardware configuration G06F11/2247)}
- G06F 11/3684: {for test design, e.g. generating new test cases}
- G06F 11/3688: {for test execution, e.g. scheduling of test suites}
- G06F 11/3692: {for test results analysis}
- H03M 13/1515: {Reed-Solomon codes}
- H03M 13/616: {Matrix operations, especially for generator matrices or check matrices, e.g. column or row permutations}
- H04L 67/1097: 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]
- G06F 2201/805: Real-time
- G06F 2201/82: Solving problems relating to consistency
- H03M 13/373: {with erasure correction and erasure determination, e.g. for packet loss recovery or setting of erasures for the decoding of Reed-Solomon codes}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H03M: CODING; DECODING; CODE CONVERSION IN GENERAL (using fluidic means F15C4/00; optical analogue/digital converters G02F7/00; coding, decoding or code conversion, specially adapted for particular applications, see the relevant subclasses, e.g. G01D, G01R, G06F, G06T, G09G, G10L, G11B, G11C, H04B, H04L, H04M, H04N; ciphering or deciphering for cryptography or other purposes involving the need for secrecy G09C)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A method for execution by a dispersed storage and task (DST) processing unit includes generating a request for mapping parameters for transmission a storage unit in a dispersed storage network (DSN) and receiving mapping parameter data in response. Namespace mapping data is generated, indicating a mapping of possible slice names to a plurality of memory devices of the storage unit by performing a first deterministic mapping function based on the mapping parameter data. Slice name subset data is generated, indicating a subset of the possible slice names based on a health status indicators corresponding to the plurality of memory devices. A slice name corresponding to a first encoded slice of a first data object is selected from the subset indicated by the slice name subset data. A first write request that includes the first encoded slice is generated for transmission via the network to the storage unit.

## Claims

### Claim 1

A method for execution by a dispersed storage and task (DST) processing unit that includes a processor, the method comprises:
generating a first request for mapping parameters for transmission via a network to a first one of a plurality of storage units in a dispersed storage network (DSN) and receiving first mapping parameter data in response;
generating first namespace mapping data that indicates a mapping of a plurality of possible slice names to a first plurality of memory devices of the first one of the plurality of storage units by performing a first deterministic mapping function based on the first mapping parameter data;
generating slice name subset data indicating a subset of the plurality of possible slice names based on a plurality of health status indicators corresponding to the first plurality of memory devices;
selecting a first slice name corresponding to a first encoded slice of a first data object from the subset indicated by the slice name subset data; and
generating a first write request for transmission via the network that includes the first encoded slice to the first one of the plurality of storage units.

### Claim 2 (depends on 1)

The method of claim 1, further comprising receiving memory device status data from the one of the plurality of storage units via the network that includes the plurality of health status indicators.

### Claim 3 (depends on 2)

The method of claim 2, wherein the memory device status data is received from the one of the plurality of storage units in response to the first request for mapping parameters.

### Claim 4 (depends on 1)

The method of claim 1, wherein generating the slice name subset data includes comparing each of the plurality of health status indicators to a health status threshold, and wherein a one of the plurality of possible slice names is included in the subset when its corresponding health status indicator compares favorably to the health status threshold.

### Claim 5 (depends on 1)

The method of claim 1, wherein the first deterministic mapping function is based on a Decentralized Agreement Protocol (DAP).

### Claim 6 (depends on 1)

The method of claim 1, wherein the first deterministic mapping function corresponds to a mapping algorithm utilized by the one of the plurality of storage units, and wherein the first encoded slice is stored in a one of the first plurality of memory devices of the one of the plurality of storage units based on performing the mapping algorithm on the first encoded slice.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
selecting a plurality of selected slice names that includes the first slice name, each corresponding to each of a plurality of encoded slices corresponding to the first data object based on the slice name subset data; and
generating a plurality of write requests that includes the first write request, each for transmission via the network to a corresponding one of the plurality of storage units, wherein each of the plurality of write requests indicates a corresponding one of the plurality of encoded slices;
wherein the first request for mapping parameters is transmitted to the plurality of storage units and each of a plurality of mapping parameter data, which includes the first mapping parameter data, is received from each of the plurality of storage units;
wherein the first namespace mapping data indicates, for each of the plurality of storage units, the corresponding mapping of a plurality of possible slice names to the first plurality of memory devices of the each of the plurality of storage units; and
wherein the slice name subset data indicates a plurality of subsets of the plurality of possible slice names for each of the plurality of storage units based on the plurality of health status indicators corresponding to the first plurality of memory devices corresponding to each of the plurality of storage units.

### Claim 8 (depends on 7)

The method of claim 7, further comprising performing an encoding function on the first data object based on the slice name subset data to generate the plurality of encoded slices, wherein the corresponding plurality of selected slice names are also generated by the encoding function, and wherein the each of the corresponding plurality of selected slice names are included in one of the plurality of subsets indicated by the slice name subset data.

### Claim 9 (depends on 1)

The method of claim 1, wherein the first deterministic mapping function is one of a plurality of deterministic mapping functions indicated by the first mapping parameter data.

### Claim 10 (depends on 1)

The method of claim 1, further comprising:
receiving an access request from a requesting entity via the network indicating a second encoded slice stored in the DSN;
generating a second request for mapping parameters for transmission via a network to a second one of a plurality of storage units in a dispersed storage network (DSN) and receiving second mapping parameter data in response;
generating slice location data that indicates a one of a second plurality of memory devices of the second one of the plurality of storage units corresponding to a location where the second encoded slice is stored by performing a second deterministic mapping function on a second slice name corresponding to the second encoded slice based on the second mapping parameter data; and
performing the access request when a health status indicator corresponding to the second one of the second plurality of memory devices compares favorably to a health status threshold.

### Claim 11 (depends on 10)

The method of claim 10, further comprising:
generating a low-health notification for transmission to the requesting entity via the network indicating that the access request will not be performed and foregoing the access request when the health status indicator corresponding to the second one of the second plurality of memory devices compares unfavorably to the health status threshold.

### Claim 12 (depends on 1)

The method of claim 1, wherein the first request for mapping parameters is generated in response to a slice reallocation requirement, further comprising:
generating reallocation data in response to the slice name subset data indicating that an original slice name of the first encoded slice is not included in the subset, wherein the reallocation data indicates a new slice name to replace the original slice name of the first encoded slice;
wherein the first write request indicates the original slice name and a request to remove the first encoded slice from a memory device corresponding to old slice name.

### Claim 13 (depends on 12)

The method of claim 12, wherein the slice reallocation requirement is received via the network.

### Claim 14 (depends on 12)

The method of claim 12, wherein the slice reallocation requirement is based on a predetermined time interval elapsing.

### Claim 15 (depends on 12)

The method of claim 12, wherein the slice reallocation requirement is based on performance data from past access to the plurality of storage units.

### Claim 16 (depends on 12)

The method of claim 12, further comprising:
transmitting a request for memory device status data from the first one of the plurality of storage units via the network in response to the slice reallocation requirement; and
receiving plurality of health status indicators via the network in response to the request for memory device status data.

### Claim 17 (depends on 1)

The method of claim 1, further comprising:
generating reallocation data in response to the size of the subset indicated by the slice name subset data comparing unfavorably to a required healthy memory device count, wherein the reallocation data indicates a plurality of encoded slices stored in the one of the plurality of storage units, each with a corresponding original slice name that is not included in the subset indicated by the slice name subset data, wherein the reallocation data further indicates a plurality of new slice names, each included in the subset indicated by the slice name subset data, and wherein each of the plurality of encoded slices is assigned a corresponding one of the plurality of new slice names; and
generating a second plurality of write requests, each for transmission via the network to the plurality of storage units, wherein each of the plurality of write requests indicates that a corresponding one of the plurality of encoded slices be moved from an old one of the first plurality of memory devices corresponding to the original slice name to a new one of the first plurality of memory devices corresponding to the new slice name.

### Claim 18 (depends on 17)

The method of claim 17, wherein each of the plurality of new slice names are determined based on performing an encoding function on one of a plurality of data objects of the corresponding one of the plurality of encoded slices based on the slice name subset data.

### Claim 19

A processing system of a dispersed storage and task (DST) processing unit comprises:
at least one processor;
a memory that stores operational instructions, that when executed by the at least one processor cause the processing system to:
generate a first request for mapping parameters for transmission via a network to a first one of a plurality of storage units in a dispersed storage network (DSN) and receiving first mapping parameter data in response;
generate first namespace mapping data that indicates a mapping of a plurality of possible slice names to a first plurality of memory devices of the first one of the plurality of storage units by performing a first deterministic mapping function based on the first mapping parameter data;
generate slice name subset data indicating a subset of the plurality of possible slice names based on a plurality of health status indicators corresponding to the first plurality of memory devices;
select a first slice name corresponding to a first encoded slice of a first data object from the subset indicated by the slice name subset data; and
generate a first write request for transmission via the network that includes the first encoded slice to the first one of the plurality of storage units.

### Claim 20

A non-transitory computer readable storage medium comprises:
at least one memory section that stores operational instructions that, when executed by a processing system of a dispersed storage network (DSN) that includes a processor and a memory, causes the processing system to:
generate a first request for mapping parameters for transmission via a network to a first one of a plurality of storage units in the DSN and receiving first mapping parameter data in response;
generate first namespace mapping data that indicates a mapping of a plurality of possible slice names to a first plurality of memory devices of the first one of the plurality of storage units by performing a first deterministic mapping function based on the first mapping parameter data;
generate slice name subset data indicating a subset of the plurality of possible slice names based on a plurality of health status indicators corresponding to the first plurality of memory devices;
select a first slice name corresponding to a first encoded slice of a first data object from the subset indicated by the slice name subset data; and
generate a first write request for transmission via the network that includes the first encoded slice to the first one of the plurality of storage units.
