# US 2003/0212869 A1 · Method and apparatus for mirroring data stored in a mass storage system

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

- Number: US 2003/0212869 A1
- Document ID: US20030212869A1
- Status: Published application
- Kind: A1
- Application number: 10/430,856
- Filed: 2003-05-05
- Published: 2003-11-13
- Earliest claimed: 2002-05-09
- Assignees: Xiotech Corporation
- Inventors: Todd R. Burkey
- Web page: https://patentgrep.com/patent/US20030212869A1

## CPC

- G06F 11/1461: {Backup scheduling policy}
- G06F 11/2058: {using more than 2 mirrored copies}
- G06F 11/2074: {Asynchronous techniques}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method and apparatus for mirroring data stored in a storage device in a mass storage system by caching mirror coherency synchronization operation requests (break mirror and/or snapshot) from the operating system of a server and rapidly sending an acknowledgement to the server that the mirror operation has been completed. Thereafter, the mass storage system performs the flushing and mirroring processes to establish a mirror of the storage device at a time that is appropriate and convenient for the mass storage system to perform such mirroring. To facilitate such a mirror operation at a later time, the mass storage system may utilize a mirror table containing information concerning the mirror request. This information enables the mass storage system to subsequently flush the cache of data that is pertinent to a time before the mirror request occurred. Consequently, the mirror operation only mirrors data that would have been available for mirroring at the time the mirror request was received from the server. In this manner, the servers are not halted to facilitate mirroring and the mass storage system may mirror the storage device at a convenient time.

## Claims

### Claim 1

A method of mirroring a storage device comprising:
receiving a request at a mass storage system from a server to perform a mirror coherency synchronization operation that synchronizes mirrored data from a first storage device to a second storage device;
prior to performing the mirroring operation, sending, to the server, an acknowledgment that the mirroring operation had been completed;
identifying data in a write cache that requires mirroring;
copying the identified data in the write cache to the second storage device.

### Claim 2 (depends on 1)

The method of claim 1 further comprising responding to read commands directed to the second storage device with unflushed data from the write cache instead of data from the second storage device.

### Claim 3 (depends on 1)

The method of claim 1 further comprising responding to read commands directed to the first storage device with unflushed data from the write cache instead of data from the first storage device.

### Claim 4 (depends on 1)

The method of claim 1 further comprising marking the data within the write cache as being written to the write cache before or after the mirroring request has been received.

### Claim 5 (depends on 1)

The method of claim 1 further comprising storing in a mirror table information that identifies data within the write cache as being written to the write cache before or after the mirroring request has been received.

### Claim 6 (depends on 4)

The method of claim 4 further comprising responding to read commands directed to the second storage device with the oldest write cache data as indicated by said marking.

### Claim 7 (depends on 6)

The method of claim 6 further comprising responding to read command directed to the first storage device with the newest write cache data as indicated by said marking.

### Claim 8

Apparatus for mirroring a storage device comprising:
a controller, within a mass storage system, for receiving from a server a request to perform a mirroring operation that synchronizes mirror data from a first storage device to a second storage device, said controller sends, prior to performing the mirroring operation, an acknowledgement to the server that indicates that the mirroring operation had been completed;
means for identifying data in a write cache that requires mirroring;
means for copying the identified data in the write cache and data in the first storage device to the second storage device.

### Claim 9 (depends on 8)

The apparatus of claim 8 further comprising means for responding to read commands directed to the second storage device with unflushed data from the write cache instead of data from the second storage device.

### Claim 10 (depends on 8)

The apparatus of claim 8 further comprising means for responding to read commands directed to the first storage device with unflushed data from the write cache instead of data from the first storage device.

### Claim 11 (depends on 8)

The apparatus of claim 8 further comprising means for marking the data within the write cache as being written to the write cache before or after the mirroring request has been received.

### Claim 12 (depends on 8)

The apparatus of claim 8 further comprising a mirror table comprising information that the identifies data in the write cache as being written to the write cache before or after the mirroring request has been received.

### Claim 13 (depends on 11)

The apparatus of claim 11 further comprising means for responding to read commands directed to the second storage device with the oldest write cache data as indicated by said marking.

### Claim 14 (depends on 13)

The apparatus of claim 13 further comprising means for responding to read commands directed to the first storage device with the newest write cache data as indicated by said marking.

### Claim 15

A computer readable medium comprising software that, when executed by a computer, causes a mass storage system to perform a method of mirroring a storage device, the method comprising:
receiving a request at a mass storage system from a server to perform a mirror coherency synchronization operation that synchronizes mirrored data from a first storage device to a second storage device;
prior to performing the mirroring operation, sending, to the server, an acknowledgment that the mirroring operation had been completed;
identifying data in a write cache that requires mirroring;
copying the identified data in the write cache to the second storage device.

### Claim 16 (depends on 15)

The method of claim 15 further comprising responding to read commands directed to the second storage device with unflushed data from the write cache instead of data from the second storage device.

### Claim 17 (depends on 15)

The method of claim 15 further comprising responding to read commands directed to the first storage device with unflushed data from the write cache instead of data from the first storage device.

### Claim 18 (depends on 15)

The method of claim 15 further comprising marking the data within the write cache as being written to the write cache before or after the mirror coherency synchronization request has been received.
