IP Library Granted Patent US 7,792,802
Granted Patent B1
US 7,792,802 · App. 11/681,738 · Granted Sep 7, 2010

Archiving logs with snapshots for data recovery

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 7,792,802
App. No.
11/681,738
Granted
Sep 7, 2010
Kind
B1
Abstract

A method for archiving a log for a data storage system includes the steps of logging host inputs/outputs to the log, creating a snapshot of the log when it is full, resetting a next write offset to the start of the log after the snapshot is created while continuing the logging to the log, performing copy-on-write of the log to the snapshot, and archiving the snapshot to an archived log.

Claims (48)

1. A method for one or more processors in a data storage system to log and archive data, comprising:

logging host inputs/outputs (I/Os) to a single log;

when the log is full, creating a snapshot of the log;

after said creating a snapshot of the log, resetting a next write offset to a start of the log while the host I/Os are being logged to the log;

performing copy-on-write of the log to the snapshot of the log;

archiving the snapshot of the log to an archived log while the host I/Os are being logged to the log;

when the log is again full, creating another snapshot of the log;

performing copy-on-write of the log to said another snapshot of the log; and

archiving said another snapshot of the log to the archived log after said archiving the snapshot of the log.

2. The method of claim 1 , further comprising:

deleting the snapshot of the log after it has been archived.

3. The method of claim 1 , wherein the log is selected from the group consisting of a log file and a log volume.

4. The method of claim 1 , wherein the host I/Os are selected from the group consisting of reads and writes to the data storage system.

5. A data storage system, comprising:

a memory storing:

a single log;

at least one snapshot of the log;

an archived log of the log; and

a processor executing instructions for archiving the log, wherein the instructions comprises:

a plurality of instructions for a logging process, comprising:

logging host inputs/outputs (I/Os) to the data storage system to the log;

each time the log is full:

triggering a creation of a snapshot of the log;

after said triggering, resetting a next write offset to a start of the log while the host I/Os are begin logged to the log;

a plurality of instructions for a snapshot process, comprising:

in response to each said triggering a creation of a snapshot of the log:

creating the snapshot of the log;

performing copy-on-write of the log to the snapshot of the log;

a plurality of instructions for an archiving process, comprising:

in response to each said creating the snapshot of the log:

archiving the snapshot of the log to the archived log after any prior snapshot of the log has been archived to the archived log.

6. The data storage system of claim 5 , wherein the plurality of instructions for the archiving process further comprises:

when the snapshot of the log has been archived, deleting the snapshot of the log.

7. The data storage system of claim 5 , wherein the log is selected from the group consisting of a log file and a log volume.

8. The data storage system of claim 5 , wherein the host I/Os are selected from the group consisting of reads and writes to the data storage system.

9. A non-transitory computer-readable storage medium encoded with one or more executable programs to log and archive data, wherein the one or more programs cause one or more processors to perform the following:

logging host inputs/outputs (I/Os) to a single log;

when the log is full, creating a snapshot of the log;

after said creating a snapshot of the log, resetting a next write offset to a start of the log while the host I/Os are being logged to the log;

performing copy-on-write of the log to the snapshot of the log;

archiving the snapshot of the log to an archived log while the host I/Os are being logged to the log;

when the log is again full, creating another snapshot of the log;

performing copy-on-write of the log to said another snapshot of the log; and

archiving said another snapshot of the log to the archived log after said archiving the snapshot of the log.

10. The non-transitory computer-readable storage medium of claim 9 , wherein the one or more programs further cause the one or more processors to perform the following:

deleting the snapshot of the log after it has been archived.

11. The non-transitory computer-readable storage medium of claim 9 , wherein the log is selected from the group consisting of a log file and a log volume.

12. The non-transitory computer-readable storage medium of claim 9 , wherein the host I/Os are selected from the group consisting of reads and writes to the data storage system.

Assignments (4)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 9, 2015
From: HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P.
To: HEWLETT PACKARD ENTERPRISE DEVELOPMENT LP
Reel/Frame 037079/0001 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 10, 2011
From: 3PAR INC.
To: HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P.
Reel/Frame 026250/0322 →
CHANGE OF NAME Recorded Feb 28, 2008
From: 3PARDATA, INC.
To: 3PAR INC.
Reel/Frame 020571/0664 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 8, 2007
From: RAO, HARIPRASAD MANKUDE BHASKER
To: 3PARDATA, INC.
Reel/Frame 018981/0010 →