# US 2014/0279895 A1 · N-way Parity for Virtual Disk Resiliency

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

- Number: US 2014/0279895 A1
- Document ID: US20140279895A1
- Status: Published application
- Kind: A1
- Application number: 13/829,004
- Filed: 2013-03-14
- Published: 2014-09-18
- Earliest claimed: 2013-03-14
- Assignees: Microsoft Corporation
- Applicants: Microsoft Corporation
- Inventors: Karan Mehra; Erik G. Hortsch; Surendra Verma
- Web page: https://patentgrep.com/patent/US20140279895A1

## CPC

- G06F 11/1084: {Degraded mode, e.g. caused by single or multiple storage removals or disk failures}
- G06F 11/1088: {Reconstruction on already foreseen single or plurality of spare disks}
- G06F 16/188: Virtual file systems
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Resiliency techniques for a virtual disk are described that enable user control over storage efficiency and recovery time. Configuration parameters for a virtual disk are obtained that indicate a number of available storage devices and a specified tolerance for storage device failures. A default configuration for the virtual disk that designates a default amount of redundancy data to store with client data to balance storage efficiency and recovery time is derived based on the configuration parameters. Options may then be provided to specify a custom configuration that changes the amount of redundancy data to customize the level of storage efficiency and recovery time. The virtual disk is configured and data is stored thereon in accordance with the default configuration or the custom configuration as directed by the user.

## Claims

### Claim 1

A method implemented by a computing device, the method comprising:
ascertaining a designated number of units of redundancy data to store with client data on a virtual disk, the designated number being determined during configuration of the virtual disk from a range of options for resiliency made available for user customization of the virtual disk configuration;
configuring a storage scheme for the virtual disk in accordance with the selected number of units of redundancy data;
obtaining client data for storage on the virtual disk;
generating redundancy data for the client data to include the designated number of units of redundancy data; and
storing the client data and the redundancy data across multiple physical storage devices of the virtual disk in accordance with the storage scheme.

### Claim 2 (depends on 1)

A method as described in claim 1, wherein the range of options for resiliency implements an n-way parity model based at least in part upon local reconstruction codes.

### Claim 3 (depends on 1)

A method as described in claim 1, wherein the designated number of units of redundancy is user-configurable to selectively control a balance between storage efficiency and recover time for the virtual disk as a configuration option for the virtual disk.

### Claim 4 (depends on 1)

A method as described in claim 1, wherein the designated number of units of redundancy is selectable at multiple values above an minimum number of units of redundancy that enables recovery of the data at a designated failure tolerance.

### Claim 5 (depends on 1)

A method as described in claim 1, further comprising:
obtaining via a configuration interface for the virtual disk a user selection indicative of a value for the designated number of units of redundancy; and
setting the designated number of units of redundancy in accordance with the user selection.

### Claim 6 (depends on 1)

A method as described in claim 1, wherein the options for resiliency include a default configuration for the virtual disk that designates an intermediate value for the number of units of redundancy between a minimal amount to enable data recovery at a specified tolerance and an amount to duplicate the client data, the default configuration applied in the absence of a user selection to specify a custom configuration for the virtual disk.

### Claim 7 (depends on 1)

A method as described in claim 1, wherein the redundancy data comprises data generated in accordance with a parity algorithm for at least some of the client data.

### Claim 8 (depends on 1)

A method as described in claim 1, wherein the redundancy data comprises copies of at least some of the client data.

### Claim 9 (depends on 1)

A method as described in claim 1, wherein the storage scheme is configured to cause the designated number of units of redundancy data to be generated and to store individual units of the client data and the redundancy data on different physical storage devices associated with the virtual disks.

### Claim 10 (depends on 1)

A method as described in claim 1, wherein the storage scheme is configured to implement a rotation sequence for data distribution to obtain a substantially equal distribution of client data and redundancy data across the multiple physical storage devices.

### Claim 11

One or more computer-readable storage media storing instructions that, when executed by one or more components of a computing device, implement a storage system configured to perform operations including:
exposing options for configuration of a virtual disk across multiple physical storage devices selectable to control an amount of redundancy data to store for resiliency of client data stored on the virtual disk; and
configuring the virtual disk for storage of the client data along with redundancy data across the multiple physical storage devices in accordance with the amount of redundancy data to store for resiliency that is selected via the option.

### Claim 12 (depends on 11)

One or more computer-readable storage media as recited in claim 11, wherein exposing the options comprises exposing a scale to visually represent the options as a range of available options selectable by a user to specify a custom configuration for the virtual disk.

### Claim 13 (depends on 12)

One or more computer-readable storage media as recited in claim 12, wherein the scale further includes a control operable to enable a user selection to set a corresponding value for a redundancy parameter that controls the amount of redundancy data.

### Claim 14 (depends on 11)

One or more computer-readable storage media as recited in claim 11, further comprising generating the options for configuration of the virtual disk based upon a number of physical storage devices available for the virtual disk and a user-specified failure tolerance for the physical storage devices.

### Claim 15 (depends on 11)

One or more computer-readable storage media as recited in claim 11, wherein a lower bound relative to a number of physical storage devices used for the virtual disk is placed on the amount of redundancy data to ensure that the amount of redundancy data increases to at least a threshold level as additional physical storage devices are added to a virtual disk configuration.

### Claim 16 (depends on 11)

One or more computer-readable storage media as recited in claim 11, wherein at least some of the physical storage devices comprise cloud-based storage accessible as a service from a service provider.

### Claim 17

A computing system comprising:
one or more processing components;
one or more computer-readable storage media storing instructions that, when executed by the one or more processing components, implement a disk manager module configured to perform operations including:
obtaining input to set configuration parameters for configuration of a virtual disk that are indicative of a number of available storage devices and a specified failure tolerance for storage device failures;
deriving a default configuration for the virtual disk based on the input that designates intermediate levels of storage efficiency and recovery time by setting an amount of redundancy data to store with client data between a minimal amount to enable data recovery at the specified failure tolerance and an amount to duplicate the client data; and
exposing a user-selectable option to specify a custom configuration that changes the amount of redundancy data to customize the level of storage efficiency and recovery time for the virtual disk.

### Claim 18 (depends on 17)

A computing system as described in claim 17, further comprising configuring the virtual disk in accordance with the custom configuration responsive to a user selection of the option.

### Claim 19 (depends on 17)

A computing system as described in claim 17, wherein the configuration parameters further comprise a redundancy parameter that is indicative of the amount of redundancy data to store with the client data for resiliency.

### Claim 20 (depends on 17)

A computing system as described in claim 17, wherein setting the amount of redundancy data comprises setting a value for a redundancy parameter that is configurable to provide multiple selectable options for the amount of redundancy data between the minimal amount to enable data recovery at the specified failure tolerance and an amount to duplicate the client data.
