Restoring spanned volumes of data
AssigneeCA, Inc.
InventorManorama Pidapa
Life of this patent
Estimating the term…
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.
Claims20
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.
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.
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.
Dependencies are inferred from the claim text.