# US 2008/0189572 A1 · Application transparent autonomic availability on a storage area network aware file system

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

- Number: US 2008/0189572 A1
- Document ID: US20080189572A1
- Status: Published application
- Kind: A1
- Application number: 12/104,288
- Filed: 2008-04-16
- Published: 2008-08-07
- Earliest claimed: 2004-11-19
- Assignees: International Business Machines Corporation
- Inventors: Gregory Edward McBride; Cuong Minh Le; David Michael Shackelford
- Web page: https://patentgrep.com/patent/US20080189572A1

## CPC

- G06F 3/0611: {in relation to response time}
- G06F 3/0617: {in relation to availability}
- G06F 3/064: {Management of blocks}
- G06F 3/067: {Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]}
- G06F 11/2094: {Redundant storage or storage space (G06F11/2056 takes precedence)}
- G06F 11/1469: {Backup restoration techniques}
- G06F 11/2074: {Asynchronous techniques}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Techniques are provided for locating data. Mapping information for blocks associated with a file is provided. It is determined that a copy service has copied source blocks to target blocks. It is determined whether the mapping information should be updated to refer to the target blocks. Then, updated mapping information is provided in response to determining that the mapping information should be updated to refer to the target blocks.

## Claims

### Claim 1

An article of manufacture comprising a computer readable storage medium including program logic for locating data, wherein the program logic when executed causes operations to be performed, the operations comprising:
storing mapping information in a metadata store, wherein for each file, the mapping information includes source blocks that indicate locations of source blocks for the file, one or more target blocks that represent one or more copies of the source blocks and provide locations of copies of the source blocks, and a session identifier that identifies a session, wherein the session is a set of copy service relationships that represent a set of data being maintained in a consistent state;
providing mapping information for a file to each of multiple client computers coupled to the metadata store;
determining that a copy service has copied source blocks to target blocks for the file, wherein the target blocks are a copy of the source blocks for the file;
updating the mapping information in the metadata store with locations of the target blocks; and
for each of the multiple client computers,
determining whether the mapping information for the file should be updated at that client computer to refer to the target blocks based on whether the target blocks are accessed as often as blocks for the file that the client computer is currently accessing; and
providing updated mapping information to that client computer in response to determining that the mapping information should be updated to refer to the target blocks based on determining that the blocks for the file that the client computer is currently accessing are being accessed more often than the target blocks.

### Claim 2 (depends on 1)

The article of manufacture of claim 1, wherein the operations further comprise:
receiving a request for locations of blocks for the file when the file is opened;
determining which blocks associated with the file should be made available in response to the request; and
sending the mapping information for the determined blocks.

### Claim 3 (depends on 2)

The article of manufacture of claim 2, wherein the operations further comprise:
determining which of the blocks should be made available based on availability of the blocks.

### Claim 4 (depends on 1)

The article of manufacture of claim 1, wherein the mapping information is sent to a client computer in response to a request for the mapping information and wherein the client computer uses the mapping information to access the file.

### Claim 5 (depends on 1)

The article of manufacture of claim 1, wherein the updated mapping information is automatically sent to a client computer and wherein the client computer uses the updated mapping information to access the file.

### Claim 6

An article of manufacture comprising a computer readable storage medium including program logic for accessing a copy of data when a source of the data is inaccessible, wherein the program logic when executed causes operations to be performed, the operations comprising:
determining that a storage controller has failed;
determining that source blocks for files on the failed storage controller are unavailable;
determining whether it is appropriate to switch indicators pointing to the source blocks to point to target blocks using one or more first policies or to allow error processing to occur;
for each of the files on the failed storage controller,
in response to determining that it is appropriate to switch indicators, locating multiple target blocks that are copies of the unavailable source blocks for that file using data in a metadata store, wherein the metadata store stores, for each of the files, mapping information that includes source blocks that indicate locations of source blocks for the file and one or more target blocks that represent one or more copies of the source blocks and provide locations of copies of the source blocks;
selecting target blocks for that file from among the multiple target blocks using one or more second policies;
switching indicators pointing to the source blocks to point to the selected target blocks in the metadata store, wherein the selected target blocks for that file become new source blocks;
determining which of the client computers should be sent updated mapping information from the metadata store for the selected target blocks for that file based on which of the client computers had been accessing the source blocks that became inaccessible; and
updating mapping information at each of the determined client computers to access the selected target blocks for that file instead of the source blocks.

### Claim 7 (depends on 6)

The article of manufacture of claim 6, wherein the selected target blocks had been in a continuous copy relationship with the source blocks that was suspended when the source blocks became unavailable.

### Claim 8 (depends on 6)

The article of manufacture of claim 6, wherein the operations further comprise:
creating a copy of the selected target blocks.

### Claim 9 (depends on 6)

The article of manufacture of claim 6, wherein the source blocks are unavailable on a virtual device being managed by a SAN aware file system and wherein the operations further comprise:
determining that an I/O operation accessing the source blocks has failed; and
retrying the I/O operation by accessing the selected target blocks in response to updating the mapping information.

### Claim 10

A system for locating data, comprising:
circuitry capable of causing operations to be performed, the operations comprising:
storing mapping information in a metadata store, wherein for each file, the mapping information includes a filename, source blocks that indicate locations of source blocks for the file, one or more target blocks that represent one or more copies of the source blocks and provide locations of copies of the source blocks, and a session identifier that identifies a session, wherein the session is a set of copy service relationships that represent a set of data being maintained in a consistent state;
providing mapping information for a file to each of multiple client computers coupled to the metadata store;
determining that a copy service has copied source blocks to target blocks for the file, wherein the target blocks are a copy of the source blocks for the file;
updating the mapping information in the metadata store with locations of the target blocks; and
for each of the multiple client computers,
determining whether the mapping information for the file should be updated at that client computer to refer to the target blocks based on whether the target blocks are accessed as often as blocks for the file that the client computer is currently accessing; and
providing updated mapping information to that client computer in response to determining that the mapping information should be updated to refer to the target blocks based on determining that the blocks for the file that the client computer is currently accessing are being accessed more often than the target blocks.

### Claim 11 (depends on 10)

The system of claim 10, wherein the operations further comprise:
receiving a request for locations of blocks for the file when the file is opened;
determining which blocks associated with the file should be made available in response to the request; and
sending the mapping information for the determined blocks.

### Claim 12 (depends on 11)

The system of claim 11, wherein the operations further comprise:
determining which of the blocks should be made available based on availability of the blocks.

### Claim 13 (depends on 10)

The system of claim 10, wherein the mapping information is sent to a client computer in response to a request for the mapping information and wherein the client computer uses the mapping information to access the file.

### Claim 14 (depends on 10)

The system of claim 10, wherein the updated mapping information is automatically sent to a client computer and wherein the client computer uses the updated mapping information to access the file.

### Claim 15

A system for accessing a copy of data when a source of the data is inaccessible, comprising:
circuitry capable of causing operations to be performed, the operations comprising:
determining that a storage controller has failed;
determining that source blocks for files on the failed storage controller are unavailable;
determining whether it is appropriate to switch indicators pointing to the source blocks to point to target blocks using one or more first policies or to allow error processing to occur;
for each of the files on the failed storage controller,
in response to determining that it is appropriate to switch indicators, locating multiple target blocks that are copies of the unavailable source blocks for that file using data in a metadata store, wherein the metadata store stores, for each of the files, mapping information that includes source blocks that indicate locations of source blocks for the file and one or more target blocks that represent one or more copies of the source blocks and provide locations of copies of the source blocks;
selecting target blocks for that file from among the multiple target blocks using one or more second policies;
switching indicators pointing to the source blocks to point to the selected target blocks in the metadata store, wherein the selected target blocks for that file become new source blocks;
determining which of the client computers should be sent updated mapping information from the metadata store for the selected target blocks for that file based on which of the client computers had been accessing the source blocks that became inaccessible; and
updating mapping information at each of the determined client computers to access the selected target blocks for that file instead of the source blocks.

### Claim 16 (depends on 15)

The system of claim 15, wherein the source blocks are unavailable due to a storage controller failure.

### Claim 17 (depends on 15)

The system of claim 15, wherein the selected target blocks had been in a continuous copy relationship with the source blocks that was suspended when the source blocks became unavailable.

### Claim 18 (depends on 15)

The system of claim 15, wherein the operations further comprise:
creating a copy of the selected target blocks.

### Claim 19 (depends on 15)

The system of claim 15, wherein the source blocks are unavailable on a virtual device being managed by a SAN aware file system and wherein the operations further comprise:
determining that an I/O operation accessing the source blocks has failed; and
retrying the I/O operation by accessing the selected target blocks in response to updating the mapping information.

### Claim 20

A system for locating data, comprising:
means for storing mapping information in a metadata store, wherein for each file, the mapping information includes a filename, source blocks that indicate locations of source blocks for the file, one or more target blocks that represent one or more copies of the source blocks and provide locations of copies of the source blocks, and a session identifier that identifies a session, wherein the session is a set of copy service relationships that represent a set of data being maintained in a consistent state;
means for providing mapping information for a file to each of multiple client computers coupled to the metadata store;
means for determining that a copy service has copied source blocks to target blocks for the file, wherein the target blocks are a copy of the source blocks for the file;
means for updating the mapping information in the metadata store with locations of the target blocks; and
for each of the multiple client computers,
means for determining whether the mapping information for the file should be updated at that client computer to refer to the target blocks based on whether the target blocks are accessed as often as blocks for the file that the client computer is currently accessing; and
means for providing updated mapping information to that client computer in response to determining that the mapping information should be updated to refer to the target blocks based on determining that the blocks for the file that the client computer is currently accessing are being accessed more often than the target blocks.

### Claim 21

A system for accessing a copy of data when a source of the data is inaccessible, comprising:
means for determining that a storage controller has failed;
means for determining that source blocks for files on the failed storage controller are unavailable;
means for determining whether it is appropriate to switch indicators pointing to the source blocks to point to target blocks using one or more first policies or to allow error processing to occur;
for each of the files on the failed storage controller,
in response to determining that it is appropriate to switch indicators, means for locating multiple target blocks that are copies of the unavailable source blocks for that file using data in a metadata store, wherein the metadata store stores, for each of the files, mapping information that includes source blocks that indicate locations of source blocks for the file and one or more target blocks that represent one or more copies of the source blocks and provide locations of copies of the source blocks;
means for selecting target blocks for that file from among the multiple target blocks using one or more second policies;
means for switching indicators pointing to the source blocks to point to the selected target blocks in the metadata store, wherein the selected target blocks for that file become new source blocks;
means for determining which of the client computers should be sent updated mapping information from the metadata store for the selected target blocks for that file based on which of the client computers had been accessing the source blocks that became inaccessible; and
means for updating mapping information at each of the determined client computers to access the selected target blocks for that file instead of the source blocks.
