Policy-driven raid rebuild
First Claim
Patent Images
1. A system comprising:
- an interface to a group of devices each having stripe units, wherein at least one of the devices is a spare device available to be used in the event of a failure of a device in the group of devices, the group of devices services a Log-structured File System (LFS), and an ordering criteria includes a quantity of valid data and probability of overwrite of in-use segments; and
a processor coupled to the interface, the processor configured to;
determine, based at least in part on the ordering criteria, an order in which to reconstruct stripe units to rebuild a failed device in the group of devices; and
rebuild the failed device including by reconstructing stripe units in the determined order using the spare device to overwrite stripe units as needed.
4 Assignments
0 Petitions
Accused Products
Abstract
A system for policy-driven RAID rebuild includes an interface to a group of devices each having stripe units. At least one of the devices is a spare device available to be used in the event of a failure of a device in the group of devices. The system further includes a processor coupled to the interface and configured to determine, based at least in part on an ordering criteria, an order in which to reconstruct stripe units to rebuild a failed device in the group of devices. The processor is further configured to rebuild the failed device including by reconstructing stripe units in the determined order using the spare device to overwrite stripe units as needed.
14 Citations
22 Claims
-
1. A system comprising:
-
an interface to a group of devices each having stripe units, wherein at least one of the devices is a spare device available to be used in the event of a failure of a device in the group of devices, the group of devices services a Log-structured File System (LFS), and an ordering criteria includes a quantity of valid data and probability of overwrite of in-use segments; and a processor coupled to the interface, the processor configured to; determine, based at least in part on the ordering criteria, an order in which to reconstruct stripe units to rebuild a failed device in the group of devices; and rebuild the failed device including by reconstructing stripe units in the determined order using the spare device to overwrite stripe units as needed. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A system comprising:
-
an interface to a group of devices each having stripe units, wherein at least one of the devices is a spare device available to be used in the event of a failure of a device in the group of devices; a processor coupled to the interface, the processor configured to; determine, based at least in part on an ordering criteria, an order in which to reconstruct stripe units to rebuild a failed device in the group of devices; and rebuild the failed device including by reconstructing stripe units in the determined order using the spare device to overwrite stripe units as needed; and a cache adapted to store at least one of;
reads and writes, and the ordering criteria includes importance of data and recoverability of data based at least in part on content of the cache. - View Dependent Claims (15, 16)
-
-
17. A system comprising:
-
an interface to a group of devices each having stripe units, wherein at least one of the devices is a spare device available to be used in the event of a failure of a device in the group of devices; and a processor coupled to the interface, the processor configured to; determine, based at least in part on an ordering criteria, an order in which to reconstruct stripe units to rebuild a failed device in the group of devices; and rebuild the failed device including by reconstructing stripe units in the determined order using the spare device to overwrite stripe units as needed, wherein a rebuild locality score is based at least in part on likelihood of overwriting a stripe unit as indicated by a ranking of an in-use segment in a LFS in-use segment list. - View Dependent Claims (18, 19, 20)
-
-
21. A method comprising:
-
determining, based at least in part on an ordering criteria including a quantity of valid data and probability of overwrite of in-use segments, an order in which to reconstruct stripe units to rebuild a failed device in a group of devices, wherein the group of devices each has stripe units, at least one of the devices is a spare device available to be used in the event of a failure of a device in the group of devices, and the group of devices services a Log-structured File System (LFS); and rebuilding the failed device including by reconstructing stripe units in the determined order using the spare device to overwrite stripe units as needed.
-
-
22. A computer program product embodied in a non-transitory computer readable storage medium and comprising computer instructions for:
-
determining, based at least in part on an ordering criteria including a quantity of valid data and probability of overwrite of in-use segments, an order in which to reconstruct stripe units to rebuild a failed device in a group of devices, wherein the group of devices each has stripe units, at least one of the devices in the group of devices is a spare device available to be used in the event of a failure of a device in the group of devices, and the group of devices services a Log-structured File System (LFS); and rebuilding the failed device including by reconstructing stripe units in the determined order using the spare device to overwrite stripe units as needed.
-
Specification