IP Library Granted Patent US 8,788,751
Granted Patent B2
US 8,788,751 · App. 12/434,052 · Granted Jul 22, 2014

Restoring spanned volumes of data

Inventor: Manorama Pidapa (Andhra Pradesh, IN)
Assignee: CA, Inc.
G06F11/1469G06F11/1448G06F11/1458G06F2201/815
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,788,751
App. No.
12/434,052
Granted
Jul 22, 2014
Kind
B2
Abstract

According to one embodiment, a backup is searched for data to be restored from a volume. The backup comprises multiple disks. The volume is stored in one or more spans on the disks. The spans containing the data to be restored from the volume are identified as desired spans, and a current disk is searched for the desired spans. A first subset of data is read from the desired spans on the current disk. A second subset of data is recorded on an unread list. The second subset of data comprises the data to be restored from the desired spans that are not on the current disk. The remaining data is read from the remaining disks according to the unread list.

Claims (104)

1. A method comprising:

accessing a current disk of a backup, the backup comprising a plurality of disks, the backup configured to store a volume in a plurality of spans stored sequentially across the plurality of disks, the backup being stored in reverse order from a logical sequence of the volume;

identifying a plurality of desired spans of the volume, the desired spans storing data to be restored;

reading a first subset of the data to be restored from the current disk, the first subset comprising a first span of the desired spans;

parsing a remainder of the current disk to locate one or more remaining spans of the desired spans, the first span being different from the one or more remaining spans;

in response to parsing the remainder of the current disk, determining that the one or more remaining spans of the desired spans are not located on the current disk;

recording a second subset of the data to be restored on an unread list, the second subset comprising the remaining spans of the desired spans that are not on the current disk;

reading the second subset of the data to be restored from one or more remaining disks according to the unread list; and

arranging the read first subset of the data to be restored and the read second subset of the data to be restored into the logical sequence of the volume.

2. The method of claim 1 , the reading the remaining data to be restored from the one or more remaining disks according to the unread list further comprising repeating until the remaining data to be restored indicated by the unread list has been read:

accessing a next disk of the backup;

determining if the one or more desired spans comprising the data to be restored according to the unread list are on the next disk; and

reading the data to be restored from the one or more desired spans if they are on the next disk.

3. The method of claim 1 , the identifying the one or more desired spans further comprising:

receiving an input comprising a starting offset for the data to be restored; and

identifying a desired disk based on the starting offset, the desired disk comprising the data to be restored.

4. The method of claim 1 , further comprising:

the reading the first subset of the data to be restored further comprising:

incrementing a starting offset by a number of bytes read, the starting offset indicating a location of the data to be restored; and

the recording the second subset of the data to be restored on an unread list further comprising:

incrementing the starting offset by a number of bytes recorded.

5. The method of claim 1 , the reading the remaining data to be restored from the one or more remaining disks according to the unread list further comprising:

continuing to read the remaining content until a number of bytes remaining is zero.

6. The method of claim 1 , further comprising:

the reading the first subset of the data to be restored further comprising:

decrementing a number of bytes remaining by a number of bytes read, the number of bytes remaining indicating a portion of the data to be restored that has not been read or recorded on the unread list; and

the recording the second subset of the data to be restored on an unread list further comprising:

decrementing the number of bytes remaining by a number of bytes recorded.

7. The method of claim 1 , further comprising:

the reading the first subset of the data to be restored further comprising:

incrementing a starting offset by a number of bytes read, the starting offset indicating a location of the data to be restored; and

decrementing a number of bytes remaining by the number of bytes read, the number of bytes remaining indicating a portion of the data to be restored that has not been read or recorded on the unread list; and

the recording the second subset of the data to be restored on an unread list further comprising:

incrementing the starting offset by a number of bytes recorded; and

decrementing the number of bytes remaining by the number of bytes recorded.

8. An apparatus comprising:

an interface configured to:

access a current disk of a backup, the backup comprising a plurality of disks, the backup configured to store a volume in a plurality of spans stored sequentially across the plurality of disks, the backup being stored in reverse order from a logical sequence of the volume; and

one or more processors configured to:

identify a plurality of desired spans of the volume, the desired spans storing data to be restored;

read a first subset of the data to be restored from the current disk, the first subset comprising a first span of the desired spans;

parse a remainder of the current disk to locate one or more remaining spans of the desired spans, the first span being different from the one or more remaining spans;

in response to parsing the remainder of the current disk, determine that the one or more remaining spans of the desired spans are not located on the current disk;

record a second subset of the data to be restored on an unread list, the second subset comprising the remaining spans of the desired spans that are not on the current disk;

read the second subset of the data to be restored from one or more remaining disks according to the unread list; and

arrange the read first subset of the data to be restored and the read second subset of the data to be restored into the logical sequence of the volume.

9. The apparatus of claim 8 :

the interface further configured to:

access a next disk of the backup;

the one or more processors configured to read the remaining data to be restored from the one or more remaining disks according to the unread list further comprising repeating until the remaining data to be restored indicated by the unread list has been read by:

determining if the one or more desired spans comprising the data to be restored according to the unread list are on the next disk; and

reading the data to be restored from the one or more desired spans if they are on the next disk.

10. The apparatus of claim 8 , the one or more processors configured to identify the one or more desired spans further comprising:

receiving an input comprising a starting offset for the data to be restored; and

identifying a desired disk based on the starting offset, the desired disk comprising the data to be restored.

11. The apparatus of claim 8 , further comprising:

the one or more processors configured to read the first subset of the data to be restored further comprising:

incrementing a starting offset by a number of bytes read, the starting offset indicating a location of the data to be restored; and

the one or more processors configured to record the second subset of the data to be restored on an unread list further comprising:

incrementing the starting offset by a number of bytes recorded.

12. The apparatus of claim 8 , the one or more processors configured to read the remaining data to be restored from the one or more remaining disks according to the unread list further comprising:

continuing to read the remaining content until a number of bytes remaining is zero.

13. The apparatus of claim 8 , further comprising:

the one or more processors configured to read the first subset of the data to be restored further comprising:

decrementing a number of bytes remaining by a number of bytes read, the number of bytes remaining indicating a portion of the data to be restored that has not been read or recorded on the unread list; and

the one or more processors configured to record the second subset of the data to be restored on an unread list further comprising:

decrementing the number of bytes remaining by a number of bytes recorded.

14. The apparatus of claim 8 , further comprising:

the one or more processors configured to read the first subset of the data to be restored further comprising:

incrementing a starting offset by a number of bytes read, the starting offset indicating a location of the data to be restored; and

decrementing a number of bytes remaining by the number of bytes read, the number of bytes remaining indicating a portion of the data to be restored that has not been read or recorded on the unread list; and

the one or more processors configured to record the second subset of the data to be restored on an unread list further comprising:

incrementing the starting offset by a number of bytes recorded; and

decrementing the number of bytes remaining by the number of bytes recorded.

15. A non-transitory computer program product comprising:

a computer readable storage medium having computer readable program code embodied therewith, the computer readable program code comprising:

computer readable program code configured to access a current disk of a backup, the backup comprising a plurality of disks, the backup configured to store a volume in a plurality of spans stored sequentially across the plurality of disks, the backup being stored in reverse order from a logical sequence of the volume;

computer readable program code configured to identify a plurality of desired spans of the volume, the desired spans storing data to be restored;

computer readable program code configured to read a first subset of the data to be restored from the current disk, the first subset comprising a first span of the desired spans;

computer readable program code configured to parse a remainder of the current disk to locate one or more remaining spans of the desired spans, the first span being different from the one or more remaining spans;

computer readable program code configured to, in response to parsing the remainder of the current disk, determine that the one or more remaining spans of the desired spans are not located on the current disk;

computer readable program code configured to record a second subset of the data to be restored on an unread list, the second subset comprising the remaining spans of the desired spans that are not on the current disk;

computer readable program code configured to read the second subset of the data to be restored from one or more remaining disks according to the unread list; and

computer readable program code configured to arrange the read first subset of the data to be restored and the read second subset of the data to be restored into the logical sequence of the volume.

16. The computer program product of claim 15 , further comprising:

computer readable program code configured to access a next disk of the backup;

computer readable program code configured to determine if the one or more desired spans comprising the data to be restored according to the unread list are on the next disk; and

computer readable program code configured to read the data to be restored from the one or more desired spans if they are on the next disk.

17. The computer program product of claim 15 , further comprising:

computer readable program code configured to receive an input comprising a starting offset for the data to be restored; and

computer readable program code configured to identify a desired disk based on the starting offset, the desired disk comprising the data to be restored.

18. The computer program product of claim 15 , further comprising:

computer readable program code configured to read the first subset of the data to be restored by incrementing a starting offset by a number of bytes read, the starting offset indicating a location of the data to be restored; and

computer readable program code configured to record the second subset of the data to be restored on an unread list by incrementing the starting offset by a number of bytes recorded.

19. The computer program product of claim 15 , further comprising:

computer readable program code configured to read the first subset of the data to be restored by decrementing a number of bytes remaining by a number of bytes read, the number of bytes remaining indicating a portion of the data to be restored that has not been read or recorded on the unread list; and

computer readable program code configured to record the second subset of the data to be restored on an unread list by decrementing the number of bytes remaining by a number of bytes recorded.

20. The computer program product of claim 15 , further comprising:

computer readable program code configured to read the first subset of the data to be restored further by:

incrementing a starting offset by a number of bytes read, the starting offset indicating a location of the data to be restored;

decrementing a number of bytes remaining by the number of bytes read, the number of bytes remaining indicating a portion of the data to be restored that has not been read or recorded on the unread list; and

computer readable program code configured to record the second subset of the data to be restored on an unread list by:

incrementing the starting offset by a number of bytes recorded; and

decrementing the number of bytes remaining by the number of bytes recorded.

Assignments (2)
MERGER Recorded May 14, 2014
From: COMPUTER ASSOCIATES THINK, INC.
To: CA, INC.
Reel/Frame 032889/0920 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 1, 2009
From: PIDAPA, MANORAMA
To: COMPUTER ASSOCIATES THINK, INC.
Reel/Frame 022625/0889 →
Continuity (1)
Related Publication 20100281210A1 · Nov 4, 2010