Claims
- 1. A method of rebuilding data in a storage device, the method comprising:
replacing a failed storage device in a first group of storage devices, the first group of storage devices belonging to a first set of storage devices; writing up-to-date data to the first group of storage devices; determining a difference between data stored in the first set of storage devices and data stored in a second set of storage devices; and resynchronizing the first set of storage devices with the second set of storage devices based on the difference.
- 2. The method of claim 1 wherein the first set of storage devices forms a mirror with the second set of storage devices.
- 3. The method of claim 1 wherein storage devices in the first group of storage devices are configured in accordance with RAID level 4.
- 4. The method of claim 1 wherein determining the difference comprises:
identifying data stored in the first set of storage devices but not in the second set of storage devices.
- 5. The method of claim 1 wherein determining the difference comprises:
creating a first storage usage information before the failed storage device became inaccessible; creating a second storage usage information after writing up-to-date data to the first group of storage devices; and determining data blocks identified in the second storage usage information but are not identified in the first storage usage information.
- 6. A system for providing data storage services over a computer network, the system comprising:
a file system; a storage device manager configured to service data access requests from the file system, the storage device manager configured to mirror a first set of storage devices with a second set of storage devices; and wherein the storage device manager is configured to resynchronize the second set of storage devices with the first set of storage devices by using data from the first set of storage devices to rebuild data in a replacement storage device in the second set of storage devices and by copying data determined to be in the first set of storage devices but not in the second storage set of storage devices.
- 7. The system of claim 6 wherein the first set of storage devices and the second set of storage devices comprise groups of storage devices configured in accordance with RAID level 4.
- 8. The system of claim 6 wherein the first set of storage devices and the second set of storage devices are not housed in the same facility.
- 9. A method of rebuilding data in a storage device, the method comprising:
replacing a failed storage device with a replacement storage device, the failed storage device belonging to a first set of storage devices that forms a mirror with a second set of storage devices; writing up-to-date data to the replacement storage device; determining a difference between a surviving storage device in the first set of storage devices and a storage device in the second set of storage devices; and updating data in the surviving storage device based on the difference.
- 10. The method of claim 9 wherein the first set of storage devices comprises groups of storage devices configured in accordance with RAID level 4.
- 11. The method of claim 9 wherein determining the difference comprises:
creating a first storage usage information before the failed storage device became inaccessible; creating a second storage usage information after writing up-to-date data to the replacement storage device; and determining data blocks identified in the second storage usage information but are not identified in the first storage usage information.
- 12. A computer-readable storage medium comprising:
computer-readable program code for copying up-to-date data to a first group of storage devices, the first group of storage devices belonging to a first set of storage devices that also includes a second group of storage devices; computer-readable program code for determining a difference between the first set of storage devices and a second set of storage devices, the first set of storage devices and the second set of storage devices forming a mirror; and computer readable-program code for resynchronizing the first set of storage devices with the second set of the storage devices based on the difference.
- 13. The computer-readable storage medium of claim 12 wherein the first group of storage devices comprises storage devices configured in accordance with RAID level 4.
- 14. The computer-readable storage medium of claim 12 wherein the second set of storage devices comprises a third group of storage devices that forms a mirror with the first group of storage devices and a fourth group of storage devices that forms a mirror with the second group of storage devices.
- 15. A method of resynchronizing mirrored-storage devices comprising:
copying up-to-date data to a first group of storage devices, the first group of storage devices belonging to a first set of storage devices that also includes a second group of storage devices; determining a difference between the first set of storage devices and a second set of storage devices, the first set of storage devices and the second set of storage devices forming a mirror; and resynchronizing the first set of storage devices with the second set of the storage devices based on the difference.
- 16. The method of claim 15 wherein the first group of storage devices comprises storage devices configured in accordance with RAID level 4.
- 17. The method of claim 15 wherein the second set of storage devices comprises a third group of storage devices that forms a mirror with the first group of storage devices and a fourth group of storage devices that forms a mirror with the second group of storage devices.
- 18. The method of claim 15 wherein determining the difference comprises:
creating a first storage usage information before the first group of storage devices becomes inaccessible; creating a second storage usage information after copying up-to-date data to the first group of storage devices; and determining data blocks identified in the second storage usage information but are not identified in the first storage usage information.
REFERENCE TO RELATED APPLICATIONS
[0001] The present application is a continuation-in-part of U.S. application Ser. No. 10/154,414 (Atty. Docket No.100020.000120 (P01-1106.02), filed on May 23, 2002 by Douglas P. Doucette, Stephen H. Strange, Srinivasan Viswanathan, and Steven R. Kleiman, entitled “Resynchronization Of Mirrored Storage Devices”, which is a continuation-in-part of U.S. application Ser. No. 09/684,487 (Atty. Docket No. 103.1031/P001031), filed on Oct. 4, 2000 by Srinivasan Viswanathan and Steven R. Kleiman, entitled “Recovery of File System Data in File Servers Mirrored File System Volumes”. Both of the just mentioned disclosures are incorporated herein by reference in their entirety.
Continuation in Parts (2)
|
Number |
Date |
Country |
Parent |
10154414 |
May 2002 |
US |
Child |
10225453 |
Aug 2002 |
US |
Parent |
09684487 |
Oct 2000 |
US |
Child |
10154414 |
May 2002 |
US |