[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

US6813687B1 - Raid volume for sequential use that needs no redundancy pre-initialization - Google Patents

Raid volume for sequential use that needs no redundancy pre-initialization Download PDF

Info

Publication number
US6813687B1
US6813687B1 US09/645,949 US64594900A US6813687B1 US 6813687 B1 US6813687 B1 US 6813687B1 US 64594900 A US64594900 A US 64594900A US 6813687 B1 US6813687 B1 US 6813687B1
Authority
US
United States
Prior art keywords
data
volume
boundary
redundancy
location
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related, expires
Application number
US09/645,949
Inventor
Donald R. Humlicek
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Avago Technologies International Sales Pte Ltd
Original Assignee
LSI Logic Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by LSI Logic Corp filed Critical LSI Logic Corp
Priority to US09/645,949 priority Critical patent/US6813687B1/en
Assigned to LSI LOGIC CORPORATION reassignment LSI LOGIC CORPORATION ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: HUMLICEK, DONALD R.
Application granted granted Critical
Publication of US6813687B1 publication Critical patent/US6813687B1/en
Assigned to DEUTSCHE BANK AG NEW YORK BRANCH, AS COLLATERAL AGENT reassignment DEUTSCHE BANK AG NEW YORK BRANCH, AS COLLATERAL AGENT PATENT SECURITY AGREEMENT Assignors: AGERE SYSTEMS LLC, LSI CORPORATION
Assigned to LSI CORPORATION reassignment LSI CORPORATION CHANGE OF NAME (SEE DOCUMENT FOR DETAILS). Assignors: LSI LOGIC CORPORATION
Assigned to AVAGO TECHNOLOGIES GENERAL IP (SINGAPORE) PTE. LTD. reassignment AVAGO TECHNOLOGIES GENERAL IP (SINGAPORE) PTE. LTD. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: LSI CORPORATION
Assigned to LSI CORPORATION, AGERE SYSTEMS LLC reassignment LSI CORPORATION TERMINATION AND RELEASE OF SECURITY INTEREST IN PATENT RIGHTS (RELEASES RF 032856-0031) Assignors: DEUTSCHE BANK AG NEW YORK BRANCH, AS COLLATERAL AGENT
Assigned to BANK OF AMERICA, N.A., AS COLLATERAL AGENT reassignment BANK OF AMERICA, N.A., AS COLLATERAL AGENT PATENT SECURITY AGREEMENT Assignors: AVAGO TECHNOLOGIES GENERAL IP (SINGAPORE) PTE. LTD.
Assigned to AVAGO TECHNOLOGIES GENERAL IP (SINGAPORE) PTE. LTD. reassignment AVAGO TECHNOLOGIES GENERAL IP (SINGAPORE) PTE. LTD. TERMINATION AND RELEASE OF SECURITY INTEREST IN PATENTS Assignors: BANK OF AMERICA, N.A., AS COLLATERAL AGENT
Adjusted expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • G06F11/1076Parity data used in redundant arrays of independent storages, e.g. in RAID systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2211/00Indexing scheme relating to details of data-processing equipment not covered by groups G06F3/00 - G06F13/00
    • G06F2211/10Indexing scheme relating to G06F11/10
    • G06F2211/1002Indexing scheme relating to G06F11/1076
    • G06F2211/1035Keeping track, i.e. keeping track of data and parity changes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2211/00Indexing scheme relating to details of data-processing equipment not covered by groups G06F3/00 - G06F13/00
    • G06F2211/10Indexing scheme relating to G06F11/10
    • G06F2211/1002Indexing scheme relating to G06F11/1076
    • G06F2211/1052RAID padding, i.e. completing a redundancy group with dummy data

Definitions

  • the present invention relates to a method and/or architecture for configuring a redundant array of inexpensive disks (RAID) volume generally and, more particularly, to a RAID volume that does not require redundancy pre-initialization.
  • RAID redundant array of inexpensive disks
  • volume redundancy When implementing volume redundancy, such as RAID 1 or RAID 5, the volume redundancy must be initialized.
  • Two conventional approaches are used for initializing volume redundancy. However, both the conventional approaches (i) are performed when a volume is created and (ii) reduce host or array controller bandwidth during the initialization process.
  • a first conventional approach writes blocks of zeros to both a primary data block and a redundancy data block. The blocks of zeros are written to every sector in a volume for both the primary data block and the redundancy data block (i.e., the parity partition or the mirror partition, depending on the redundancy level). The entire volume is unavailable for use until the initialization is complete.
  • a second conventional approach is dependent on a particular RAID level.
  • the second conventional approach requires existing blocks of data to be read from drives and new redundancy information to be created and written back to the drives.
  • Such an approach allows the existing data volume to be used during initialization, with special handling for write operations to the area of the volume that has not yet been initialized. However, performance is compromised while the initialization runs in the background.
  • the second conventional method allows a host to perform read and write operations on the existing data volume.
  • an array controller of the host is required to know what area of the volume has been initialized and what area of the volume has not been initialized.
  • the array controller is required to perform a specialized read and/or write that can require additional complex logic.
  • the present invention concerns a method for providing sequential initialization of redundancy data in a volume comprising the steps of: (A) defining a boundary; (B) determining a location of the data with respect to the boundary; and (C) initializing a redundancy location of the volume and writing the data and a redundancy of the data to the volume.
  • the objects, features and advantages of the present invention include providing a method and/or architecture for implementing a redundant array of inexpensive disks (RAID) volume that may (i) allow for sequential operation, (ii) operate without redundancy pre-initialization and/or (iii) eliminate an initializing volume redundancy process by implementing volume that is written sequentially.
  • RAID redundant array of inexpensive disks
  • FIG. 1 is a block diagram of a preferred embodiment of the present invention
  • FIGS. 2 ( a-c ) are block diagrams of an operation of the present invention.
  • FIG. 3 is a flow diagram illustrating an operation of the present invention.
  • the circuit 100 may implement a sequential redundancy initialization process.
  • the circuit 100 generally comprises a controller 102 and an array 104 .
  • the controller 102 generally controls the level of redundancy of the array 104 .
  • the array 104 generally comprises a number of drives 106 a - 106 n.
  • the array 104 and the drives 106 a - 106 n may implement one or more volumes.
  • One volume may be used to store data and one volume may be used to store redundant data.
  • a volume may be divided into a number of portions configured to read and write data.
  • the particular format of the volumes may vary according to the particular redundancy protocol (e.g., RAID 1, RAID 5, etc.).
  • the system 100 may initially write to a volume sequentially (e.g., starting at logical block address (LBA) zero and ascend to a highest LBA), so that redundancy information may be initialized as data is written (to be discussed further in connection with FIGS. 2 and 3 ).
  • LBA logical block address
  • the system 100 may initially write to a volume sequentially (e.g., starting at logical block address (LBA) zero and ascend to a highest LBA), so that redundancy information may be initialized as data is written (to be discussed further in connection with FIGS. 2 and 3 ).
  • LBA logical block address
  • a predetermined attribute e.g., host sequential use initialization
  • the predetermined attribute may be implemented when a primary data volume is initially created in a redundant environment.
  • the predetermined attribute may be a user selectable attribute.
  • other appropriate predetermined attributes and/or configurations of the predetermined attribute(s) may be implemented in order to meet the criteria of a particular implementation.
  • FIGS. 2 ( a-c ) a detailed diagram of the operation of the present invention is shown.
  • a volume 110 in various stages of initialization is shown.
  • the volume 110 may be implemented as a redundant volume in a redundant drive system.
  • the FIGS. 2 ( a-c ) may illustrate initialization of the volume 110 in accordance with the present invention.
  • the volume 110 may illustrate an unwritten data and uninitialized redundancy configuration.
  • An “Initialization Boundary” 116 may be at a LBA of zero of the volume 110 .
  • the volume 110 may illustrate an area of (i) written data and initialized redundancy 112 and (ii) unwritten data and uninitialized redundancy 114 .
  • the volume 110 may track the highest sequential LBA written.
  • the highest sequential LBA written may be implemented as the initialization boundary 116 .
  • a write to an LBA less than the initialization boundary 116 may be performed normally (e.g., performed using optimal RAID methods such as the RAID 5 read-modify-write method).
  • the volume 110 may illustrate when a write to the same LBA that includes the initialization boundary 116 occurs.
  • the volume 110 may create a valid redundancy location and update the initialization boundary 116 in response to a location conflict. Additionally, a write with an LBA greater than the initialization boundary 116 may be (i) returned with an error or (ii) performed in such a way as to create a valid redundancy without updating the initialization boundary 116 .
  • a write outside the initialize boundary 116 may occur at a next block of data. Initialization of redundancy may occur at the next block of data at that point and time.
  • the initialization boundary 116 may also be used to alert redundancy parity scans of a known end of valid redundancy volume 110 in order to avoid reporting false errors.
  • the method 200 generally comprises a state 202 , a state 204 , a decision state 206 , a state 208 , a state 210 , a decision state 212 , a state 214 , a finish state 216 , a state 218 and an error state 220 .
  • the state 202 may receive a write command.
  • the state 204 may determine a location of data to be written.
  • the state 206 may determine where a location to be written to is located with respect to a boundary (e.g., the initialization boundary 116 ).
  • the method 200 may move to the state 208 .
  • the state 208 may indicate no apparent conflicts.
  • the state 208 may continue to the state 214 .
  • the state 214 may write data utilizing an appropriate redundancy method.
  • the state 214 may then continue to the finish state 216 .
  • the method 200 may move to the state 210 .
  • the state 210 may move the boundary and initialize a redundancy location to write the redundant data.
  • the state 208 may then continue to the state 218 , where the data is written to both the primary and redundancy data locations via a sequential initialization of the redundancy location.
  • the state 218 may control writing data to a primary and redundancy volume simultaneously.
  • the step 210 and the step 218 may occur simultaneously. Data is generally written only after no conflicts of data locations occur.
  • the method 200 may move to the decision state 212 .
  • the decision state 212 may enforce a sequential write. If the sequential write is enforced, the method 200 may continue to the error state 220 . If the sequential write is not enforced the method 200 may continue to the state 218 , where the data is to be written and sequential initialization of redundancy data is to occur.
  • an application that predominantly writes in a sequential fashion may initialize a redundant volume as primary data is written.
  • the first time data is written to the primary area of the volume 110 e.g., as data is written in a sequential fashion
  • data may be stored in adjacent blocks (e.g., from zero to the capacity of the volume).
  • the sequential data may be written to block 0 , block 1 , block 2 , etc.
  • data may be written in groups of blocks.
  • the circuit 100 may be allowed to skip conventional redundancy initialization, by allowing the redundancy volume 110 to be initialized on an as needed basis. For example, the circuit 100 may only initialize the redundancy volume 110 as data is written outside of the primary data area (illustrated in FIG. 2 c ).
  • a parity scan may occur to verify if there is parity consistency in the redundancy area of the volume 110 . If the redundancy volume 110 is correct, then a request to write data past what is already initialized may be ignored. Such a request may be ignored, since a requested location has not yet been written to. A request up to an end block (e.g., the last valid data) that has been written may be checked for valid parity. The circuit 100 may be only required to check validity to the last valid data block.
  • Snapshot type copies may create an immediate copy of a volume without really copying all the data of the original volume.
  • the snapshot copy may implement an instantaneous copy of the original volume.
  • To access the snapshot copy another additional volume is required.
  • the additional volume may be implemented as a snapshot volume.
  • the snapshot volume is generally identical to the original volume at the point and time of origination of the snapshot copy.
  • the snapshot copy/volume may allow the original volume to be modified normally.
  • the snapshot volume may be then implemented to back up a tape or other similar function.
  • the snapshot volume may be implemented to save data that is to be modified. For example, if a write to the original volume occurs the system 100 (or 200 ) may first check to see if a copy of the data is saved in a predetermined location (e.g., a repository). If the data is not saved, the system 100 may read the original data from the original volume, save a copy of the original data and then allow the write to complete to the original volume. The snapshot volume may then only be required to store a sub-set of the original data. The snapshot volume may read the repository to check if new data has been saved. If the new data is saved, the circuit 100 may return to the snapshot volume because the prior data block of the snapshot copy still exists in the snapshot volume. If the data is not stored within the snapshot volume then the block of data has not been changed and the data of the original volume may be read.
  • a predetermined location e.g., a repository
  • the implementation of the repository is sequential in nature.
  • the repository may be implemented as an additional volume.
  • the repository may be implemented as an internal volume.
  • the repository may need to be created from an existing volume. However, the repository may not be required to initialize redundancy on the volume since the repository may be written to sequentially.
  • the circuit 100 may write copies of data from the primary volume as they are being changed to the repository.
  • the circuit 100 may also be configured to track where data is written.
  • the circuit 100 generally provides essentially sequential implementation of a volume. Moreover, the sequential implementation may be internally implemented.
  • a host application may define a new volume and write to the volume sequentially.
  • the host application may not be required to devote considerable amounts of time to initialization of redundancy volume.
  • volume that may be written to sequentially may also be checked for validity.
  • the volume may be presented to the user as a specialized configuration. The specialized configuration may not be required to devote significant time to initializing redundancy volume initially.
  • the circuit 100 may implement immediate availability initialization. Since initialization is on a write, the circuit 100 may allow for optimization depending on how the data is received. If the data is received in large enough blocks, a parity is generated and the write is completed. If the data is received in small blocks another method may ensure a validity of the parity block that may not be initialized.
  • the present invention may initialize a repository comprising everything between the last block that was initialized and the last block written. Implementation of the repository may not guarantee absolutely sequential writes. However, the repository may ensure predetermined tolerances and may make adjustments for the tolerances allowing the system 100 to go back and initialize the parity for the few blocks between where the last known parity redundancy had been generated and the current block that is being written.
  • the initial write is generally implemented at a same time as initialization of the redundancy volume. Every time a write is to be completed, an initialization for the written block of data is to occur.
  • the present invention may allow writing of a block of data and initializing a redundancy volume at the same time.
  • the function performed by the flow diagram 200 may be implemented using a conventional general purpose digital computer programmed according to the teachings of the present specification, as will be apparent to those skilled in the relevant art(s) Appropriate software coding can readily be prepared by skilled programmers based on the teachings of the present disclosure, as will also be apparent to those skilled in the relevant art(s).
  • the functions of the flow diagram 200 may be implemented along with conventional routines (e.g., be in the drive controller 102 ).
  • the present invention may also be implemented by the preparation of ASICs, FPGAs, or by interconnecting an appropriate network of conventional component circuits, as is described herein, modifications of which will be readily apparent to those skilled in the art(s).
  • the present invention thus may also include a computer product which may be a storage medium including instructions which can be used to program a computer to perform a process in accordance with the present invention.
  • the storage medium can include, but is not limited to, any type of disk including floppy disk, optical disk, CD-ROM, and magneto-optical disks, ROMs, RAMs, EPROMs, EEPROMs, Flash memory, magnetic or optical cards, or any type of media suitable for storing electronic instructions.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

A method for providing sequential initialization of redundancy data in a volume comprising the steps of: (A) defining a boundary; (B) determining a location of the data with respect to the boundary; and (C) initializing a redundancy location of the volume and writing the data and a redundancy of the data to the volume.

Description

FIELD OF THE INVENTION
The present invention relates to a method and/or architecture for configuring a redundant array of inexpensive disks (RAID) volume generally and, more particularly, to a RAID volume that does not require redundancy pre-initialization.
BACKGROUND OF THE INVENTION
When implementing volume redundancy, such as RAID 1 or RAID 5, the volume redundancy must be initialized. Two conventional approaches are used for initializing volume redundancy. However, both the conventional approaches (i) are performed when a volume is created and (ii) reduce host or array controller bandwidth during the initialization process. A first conventional approach writes blocks of zeros to both a primary data block and a redundancy data block. The blocks of zeros are written to every sector in a volume for both the primary data block and the redundancy data block (i.e., the parity partition or the mirror partition, depending on the redundancy level). The entire volume is unavailable for use until the initialization is complete.
A second conventional approach is dependent on a particular RAID level. The second conventional approach requires existing blocks of data to be read from drives and new redundancy information to be created and written back to the drives. Such an approach allows the existing data volume to be used during initialization, with special handling for write operations to the area of the volume that has not yet been initialized. However, performance is compromised while the initialization runs in the background.
The second conventional method allows a host to perform read and write operations on the existing data volume. However, an array controller of the host is required to know what area of the volume has been initialized and what area of the volume has not been initialized. The array controller is required to perform a specialized read and/or write that can require additional complex logic.
When implementing the RAID 5 redundancy method, blocks of data are read across the same block on each of the drives involved in the volume to compute parity (i.e., an XOR operation). The RAID 5 method is then required to write parity to the redundancy data block location.
It is therefore desirable to provide a system that will initialize a redundant volume without a preinitialization routine and without adversely affecting performance.
SUMMARY OF THE INVENTION
The present invention concerns a method for providing sequential initialization of redundancy data in a volume comprising the steps of: (A) defining a boundary; (B) determining a location of the data with respect to the boundary; and (C) initializing a redundancy location of the volume and writing the data and a redundancy of the data to the volume.
The objects, features and advantages of the present invention include providing a method and/or architecture for implementing a redundant array of inexpensive disks (RAID) volume that may (i) allow for sequential operation, (ii) operate without redundancy pre-initialization and/or (iii) eliminate an initializing volume redundancy process by implementing volume that is written sequentially.
BRIEF DESCRIPTION OF THE DRAWINGS
These and other objects, features and advantages of the present invention will be apparent from the following detailed description and the appended claims and drawings in which:
FIG. 1 is a block diagram of a preferred embodiment of the present invention;
FIGS. 2(a-c) are block diagrams of an operation of the present invention; and
FIG. 3 is a flow diagram illustrating an operation of the present invention.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
Referring to FIG. 1, a block diagram of a circuit (or system) 100 is shown in accordance with a preferred embodiment of the present invention. The circuit 100 may implement a sequential redundancy initialization process. The circuit 100 generally comprises a controller 102 and an array 104. The controller 102 generally controls the level of redundancy of the array 104. The array 104 generally comprises a number of drives 106 a-106 n. The array 104 and the drives 106 a-106 n may implement one or more volumes. One volume may be used to store data and one volume may be used to store redundant data. Additionally, a volume may be divided into a number of portions configured to read and write data. However, the particular format of the volumes may vary according to the particular redundancy protocol (e.g., RAID 1, RAID 5, etc.).
The system 100 may initially write to a volume sequentially (e.g., starting at logical block address (LBA) zero and ascend to a highest LBA), so that redundancy information may be initialized as data is written (to be discussed further in connection with FIGS. 2 and 3). By implementing sequential redundancy initialization of a volume as data is written, a full initialization of the redundancy volume may be avoided. Since a full initialization is time consuming and/or performance degrading, the circuit 100 may provide an overall improved performance.
In order to avoid a full background initialization of a redundant volume, a predetermined attribute (e.g., host sequential use initialization) may be implemented when a primary data volume is initially created in a redundant environment. In one example, the predetermined attribute may be a user selectable attribute. However, other appropriate predetermined attributes and/or configurations of the predetermined attribute(s) may be implemented in order to meet the criteria of a particular implementation.
Referring to FIGS. 2(a-c), a detailed diagram of the operation of the present invention is shown. A volume 110 in various stages of initialization is shown. The volume 110 may be implemented as a redundant volume in a redundant drive system. The FIGS. 2(a-c) may illustrate initialization of the volume 110 in accordance with the present invention.
In FIG. 2a, the volume 110 may illustrate an unwritten data and uninitialized redundancy configuration. An “Initialization Boundary” 116 may be at a LBA of zero of the volume 110. In FIG. 2b, the volume 110 may illustrate an area of (i) written data and initialized redundancy 112 and (ii) unwritten data and uninitialized redundancy 114. The volume 110 may track the highest sequential LBA written. The highest sequential LBA written may be implemented as the initialization boundary 116. A write to an LBA less than the initialization boundary 116 may be performed normally (e.g., performed using optimal RAID methods such as the RAID 5 read-modify-write method).
In FIG. 2c, the volume 110 may illustrate when a write to the same LBA that includes the initialization boundary 116 occurs. The volume 110 may create a valid redundancy location and update the initialization boundary 116 in response to a location conflict. Additionally, a write with an LBA greater than the initialization boundary 116 may be (i) returned with an error or (ii) performed in such a way as to create a valid redundancy without updating the initialization boundary 116. A write outside the initialize boundary 116 may occur at a next block of data. Initialization of redundancy may occur at the next block of data at that point and time. The initialization boundary 116 may also be used to alert redundancy parity scans of a known end of valid redundancy volume 110 in order to avoid reporting false errors.
Referring to FIG. 3, a method 200 is shown illustrating an operation of the circuit 100. The method 200 generally comprises a state 202, a state 204, a decision state 206, a state 208, a state 210, a decision state 212, a state 214, a finish state 216, a state 218 and an error state 220. The state 202 may receive a write command. The state 204 may determine a location of data to be written. The state 206 may determine where a location to be written to is located with respect to a boundary (e.g., the initialization boundary 116).
If the location is determined to be inside the boundary, the method 200 may move to the state 208. The state 208 may indicate no apparent conflicts. The state 208 may continue to the state 214. The state 214 may write data utilizing an appropriate redundancy method. The state 214 may then continue to the finish state 216.
If the location is determined to be at the boundary, the method 200 may move to the state 210. The state 210 may move the boundary and initialize a redundancy location to write the redundant data. The state 208 may then continue to the state 218, where the data is written to both the primary and redundancy data locations via a sequential initialization of the redundancy location. The state 218 may control writing data to a primary and redundancy volume simultaneously. The step 210 and the step 218 may occur simultaneously. Data is generally written only after no conflicts of data locations occur.
If the location is determined to be outside the boundary, the method 200 may move to the decision state 212. The decision state 212 may enforce a sequential write. If the sequential write is enforced, the method 200 may continue to the error state 220. If the sequential write is not enforced the method 200 may continue to the state 218, where the data is to be written and sequential initialization of redundancy data is to occur.
For example, an application that predominantly writes in a sequential fashion may initialize a redundant volume as primary data is written. The first time data is written to the primary area of the volume 110 (e.g., as data is written in a sequential fashion), data may be stored in adjacent blocks (e.g., from zero to the capacity of the volume). As data is written, the sequential data may be written to block 0, block 1, block 2, etc. Additionally, data may be written in groups of blocks. As data is written sequentially, the circuit 100 may be allowed to skip conventional redundancy initialization, by allowing the redundancy volume 110 to be initialized on an as needed basis. For example, the circuit 100 may only initialize the redundancy volume 110 as data is written outside of the primary data area (illustrated in FIG. 2c).
Additionally, a parity scan may occur to verify if there is parity consistency in the redundancy area of the volume 110. If the redundancy volume 110 is correct, then a request to write data past what is already initialized may be ignored. Such a request may be ignored, since a requested location has not yet been written to. A request up to an end block (e.g., the last valid data) that has been written may be checked for valid parity. The circuit 100 may be only required to check validity to the last valid data block.
A detailed analysis of one implementation of the present invention will now be described. Snapshot type copies may create an immediate copy of a volume without really copying all the data of the original volume. The snapshot copy may implement an instantaneous copy of the original volume. To access the snapshot copy another additional volume is required. The additional volume may be implemented as a snapshot volume. The snapshot volume is generally identical to the original volume at the point and time of origination of the snapshot copy. The snapshot copy/volume may allow the original volume to be modified normally. The snapshot volume may be then implemented to back up a tape or other similar function.
The snapshot volume may be implemented to save data that is to be modified. For example, if a write to the original volume occurs the system 100 (or 200) may first check to see if a copy of the data is saved in a predetermined location (e.g., a repository). If the data is not saved, the system 100 may read the original data from the original volume, save a copy of the original data and then allow the write to complete to the original volume. The snapshot volume may then only be required to store a sub-set of the original data. The snapshot volume may read the repository to check if new data has been saved. If the new data is saved, the circuit 100 may return to the snapshot volume because the prior data block of the snapshot copy still exists in the snapshot volume. If the data is not stored within the snapshot volume then the block of data has not been changed and the data of the original volume may be read.
The implementation of the repository is sequential in nature. The repository may be implemented as an additional volume. The repository may be implemented as an internal volume. The repository may need to be created from an existing volume. However, the repository may not be required to initialize redundancy on the volume since the repository may be written to sequentially. For example, the circuit 100 may write copies of data from the primary volume as they are being changed to the repository. The circuit 100 may also be configured to track where data is written. The circuit 100 generally provides essentially sequential implementation of a volume. Moreover, the sequential implementation may be internally implemented.
A host application may define a new volume and write to the volume sequentially. The host application may not be required to devote considerable amounts of time to initialization of redundancy volume. Additionally, volume that may be written to sequentially may also be checked for validity. The volume may be presented to the user as a specialized configuration. The specialized configuration may not be required to devote significant time to initializing redundancy volume initially.
The circuit 100 may implement immediate availability initialization. Since initialization is on a write, the circuit 100 may allow for optimization depending on how the data is received. If the data is received in large enough blocks, a parity is generated and the write is completed. If the data is received in small blocks another method may ensure a validity of the parity block that may not be initialized.
Furthermore, rather than initializing the redundancy data on a write, the present invention may initialize a repository comprising everything between the last block that was initialized and the last block written. Implementation of the repository may not guarantee absolutely sequential writes. However, the repository may ensure predetermined tolerances and may make adjustments for the tolerances allowing the system 100 to go back and initialize the parity for the few blocks between where the last known parity redundancy had been generated and the current block that is being written. The initial write is generally implemented at a same time as initialization of the redundancy volume. Every time a write is to be completed, an initialization for the written block of data is to occur. The present invention may allow writing of a block of data and initializing a redundancy volume at the same time.
The function performed by the flow diagram 200 may be implemented using a conventional general purpose digital computer programmed according to the teachings of the present specification, as will be apparent to those skilled in the relevant art(s) Appropriate software coding can readily be prepared by skilled programmers based on the teachings of the present disclosure, as will also be apparent to those skilled in the relevant art(s). The functions of the flow diagram 200 may be implemented along with conventional routines (e.g., be in the drive controller 102).
The present invention may also be implemented by the preparation of ASICs, FPGAs, or by interconnecting an appropriate network of conventional component circuits, as is described herein, modifications of which will be readily apparent to those skilled in the art(s).
The present invention thus may also include a computer product which may be a storage medium including instructions which can be used to program a computer to perform a process in accordance with the present invention. The storage medium can include, but is not limited to, any type of disk including floppy disk, optical disk, CD-ROM, and magneto-optical disks, ROMs, RAMs, EPROMs, EEPROMs, Flash memory, magnetic or optical cards, or any type of media suitable for storing electronic instructions.
While the invention has been particularly shown and described with reference to the preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made without departing from the spirit and scope of the invention.

Claims (23)

What is claimed is:
1. A method for providing sequential initialization of redundancy data in a volume comprising the steps of:
(A) defining a boundary;
(B) determining a location of data with respect to said boundary; and
(C) initializing a redundancy location of said volume as data and a redundancy of said data is written to said volume, wherein said initialization is performed only as data is written outside of a primary data area of said volume.
2. The method according to claim 1, wherein step (C) further comprises writing said data to a first portion of said volume and writing a redundancy of said data to a second portion of said volume.
3. The method according to claim 2, wherein said first portion comprises a primary data portion and said second portion comprises a redundancy data portion.
4. The method according to claim 1, wherein step (B) further comprises the step of:
if said location is before said boundary, writing said data.
5. The method according to claim 4, wherein step (B) further comprises the step of:
if said location is after said boundary, (i) enforcing a sequential write or (ii) not enforcing a sequential write.
6. The method according to claim 5, wherein step (B) further comprises the step of:
if said location is at said boundary, moving said boundary and initializing said redundant location.
7. The method according to claim 1, wherein boundary comprises an initialization boundary.
8. The method according to claim 1, wherein step (C) is further configured to sequentially write redundant data to a redundancy portion of said volume.
9. The method according to claim 1, wherein step (A) further comprises indicating an end of a primary data portion.
10. The method according to claim 1, further comprising the step of:
(D) controlling steps (A), (B) and (C) in response to a predetermined attribute.
11. The method according to claim 10, wherein said predetermined attribute is user defined.
12. A controller software stored on a computer readable medium configured to perform the method of claim 1.
13. A computer readable medium configured to perform the method of claim 1.
14. An apparatus comprising:
means for defining a boundary;
means for determining a location of data with respect to said boundary; and
means for initializing a redundancy location of said volume as data and a redundancy of said data is written to said volume, wherein said initialization is performed only as data is written outside of a primary data area of said volume.
15. An apparatus comprising:
a volume configured to provide initialization of redundancy data, wherein circuit is configured to sequentially initialize a redundant location of said volume to store redundant data up to a boundary of said volume, wherein said initialization is performed (i) as said redundant data is written to said volume and (ii) only as data is written outside of a primary data area of said volume.
16. The apparatus according to claim 15, wherein said boundary is further configured to move and initialize a next redundant location.
17. The apparatus according to claim 15, wherein said volume is controlled by a host device.
18. The apparatus according to claim 15, wherein said apparatus further comprises a drive controller.
19. The apparatus according to claim 15, wherein said apparatus is configured to control one or more drives.
20. The circuit according to claim 19, wherein said apparatus is further configured to control one or more volumes of said one or more drives.
21. A method for providing sequential initialization of redundancy data in a volume, comprising the steps of:
(A) receiving a write command;
(B) determining a location of data to be written in said volume;
(C) determining if said location is (i) inside, (ii) outside or (iii) at a boundary between an initialized portion and a non-initialized portion of said volume;
(D) if said location is inside said boundary, writing data without initializing;
(E) if said location is at said boundary, (i) moving said boundary and (ii) writing data while initializing said volume;
(F) if said location is outside said boundary, determining if a sequential write needs to be enforced;
(G) generating an error indication if a sequential write needs to be enforced; and
(H) if a sequential write does not need to be enforced, initializing said volume as data is written.
22. A computer readable medium configured to perform the method of claim 21.
23. A method for providing sequential initialization of redundancy data in a volume comprising the steps of:
(A) defining a boundary;
(B) determining a location of data with respect to said boundary; and
(C) initializing a redundancy location of said volume as data and a redundancy of said data is written to said volume wherein said sequential initialization is implemented in a snapshot volume.
US09/645,949 2000-08-25 2000-08-25 Raid volume for sequential use that needs no redundancy pre-initialization Expired - Fee Related US6813687B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US09/645,949 US6813687B1 (en) 2000-08-25 2000-08-25 Raid volume for sequential use that needs no redundancy pre-initialization

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US09/645,949 US6813687B1 (en) 2000-08-25 2000-08-25 Raid volume for sequential use that needs no redundancy pre-initialization

Publications (1)

Publication Number Publication Date
US6813687B1 true US6813687B1 (en) 2004-11-02

Family

ID=33300244

Family Applications (1)

Application Number Title Priority Date Filing Date
US09/645,949 Expired - Fee Related US6813687B1 (en) 2000-08-25 2000-08-25 Raid volume for sequential use that needs no redundancy pre-initialization

Country Status (1)

Country Link
US (1) US6813687B1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030120674A1 (en) * 2001-12-25 2003-06-26 Hitachi, Ltd. Control method of control device conducting data input and output to storage devices, and control device used therefor
US20040024977A1 (en) * 2002-08-01 2004-02-05 Delaney William P. Method and apparatus for copying data between storage volumes of storage systems
US20040215877A1 (en) * 2003-04-28 2004-10-28 Paresh Chatterjee Methods and structure for rapid background initialization of a RAID logical unit
US20040221102A1 (en) * 2003-05-02 2004-11-04 Hitachi, Ltd. Method and apparatus for initialization of storage systems
US7711897B1 (en) * 2005-06-10 2010-05-04 American Megatrends, Inc. Method, system, apparatus, and computer-readable medium for improving disk array performance
US20150370648A1 (en) * 2014-06-20 2015-12-24 Fujitsu Limited Redundant system and redundancy method
US10564903B2 (en) * 2016-05-13 2020-02-18 Seagate Technology Llc Method and apparatus for rapid volume reformatting

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5822782A (en) * 1995-10-27 1998-10-13 Symbios, Inc. Methods and structure to maintain raid configuration information on disks of the array
US6098119A (en) * 1998-01-21 2000-08-01 Mylex Corporation Apparatus and method that automatically scans for and configures previously non-configured disk drives in accordance with a particular raid level based on the needed raid level
US6334195B1 (en) * 1995-12-29 2001-12-25 Lsi Logic Corporation Use of hot spare drives to boost performance during nominal raid operation
US6467023B1 (en) * 1999-03-23 2002-10-15 Lsi Logic Corporation Method for logical unit creation with immediate availability in a raid storage environment
US6510491B1 (en) * 1999-12-16 2003-01-21 Adaptec, Inc. System and method for accomplishing data storage migration between raid levels

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5822782A (en) * 1995-10-27 1998-10-13 Symbios, Inc. Methods and structure to maintain raid configuration information on disks of the array
US6334195B1 (en) * 1995-12-29 2001-12-25 Lsi Logic Corporation Use of hot spare drives to boost performance during nominal raid operation
US6098119A (en) * 1998-01-21 2000-08-01 Mylex Corporation Apparatus and method that automatically scans for and configures previously non-configured disk drives in accordance with a particular raid level based on the needed raid level
US6467023B1 (en) * 1999-03-23 2002-10-15 Lsi Logic Corporation Method for logical unit creation with immediate availability in a raid storage environment
US6510491B1 (en) * 1999-12-16 2003-01-21 Adaptec, Inc. System and method for accomplishing data storage migration between raid levels

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030120674A1 (en) * 2001-12-25 2003-06-26 Hitachi, Ltd. Control method of control device conducting data input and output to storage devices, and control device used therefor
US6976124B2 (en) * 2001-12-25 2005-12-13 Hitachi, Ltd. Control method of control device conducting data input and output to storage devices, and control device used therefor
US20040024977A1 (en) * 2002-08-01 2004-02-05 Delaney William P. Method and apparatus for copying data between storage volumes of storage systems
US6931499B2 (en) * 2002-08-01 2005-08-16 Lsi Logic Corporation Method and apparatus for copying data between storage volumes of storage systems
US7062605B2 (en) * 2003-04-28 2006-06-13 Lsi Logic Corporation Methods and structure for rapid background initialization of a RAID logical unit
US20040215877A1 (en) * 2003-04-28 2004-10-28 Paresh Chatterjee Methods and structure for rapid background initialization of a RAID logical unit
US20040221102A1 (en) * 2003-05-02 2004-11-04 Hitachi, Ltd. Method and apparatus for initialization of storage systems
US7461176B2 (en) * 2003-05-02 2008-12-02 Hitachi, Ltd. Method for initialization of storage systems
US7711897B1 (en) * 2005-06-10 2010-05-04 American Megatrends, Inc. Method, system, apparatus, and computer-readable medium for improving disk array performance
US7802063B1 (en) 2005-06-10 2010-09-21 American Megatrends, Inc. Method, system, apparatus, and computer-readable medium for improving disk array performance
US7991969B1 (en) 2005-06-10 2011-08-02 American Megatrends, Inc. Method, system, apparatus, and computer-readable medium for improving disk array performance
US20150370648A1 (en) * 2014-06-20 2015-12-24 Fujitsu Limited Redundant system and redundancy method
US10049021B2 (en) * 2014-06-20 2018-08-14 Fujitsu Limited Redundant system and redundancy method
US10564903B2 (en) * 2016-05-13 2020-02-18 Seagate Technology Llc Method and apparatus for rapid volume reformatting
US11321023B2 (en) 2016-05-13 2022-05-03 Seagate Technology Llc Method and apparatus for rapid volume reformatting

Similar Documents

Publication Publication Date Title
US6260156B1 (en) Method and system for managing bad areas in flash memory
US4750106A (en) Disk volume data storage and recovery method
US5166936A (en) Automatic hard disk bad sector remapping
EP0405926B1 (en) Method and apparatus for managing a shadow set of storage media
US5619690A (en) Computer system including a computer which requests an access to a logical address in a secondary storage system with specification of a local address in the secondary storage system
US6643667B1 (en) System and method for replicating data
US7237057B2 (en) Window-based flash memory storage system and management and access methods thereof
US6785791B2 (en) Method for accessing data being copied between data regions before the copying is completed
US5630054A (en) Method and apparatus for storing and retrieving error check information
US4620295A (en) Method for accessing a data set in a word processing system
JPH0317141B2 (en)
US6167485A (en) On-line data verification and repair in redundant storage systems
US20050163014A1 (en) Duplicate data storing system, duplicate data storing method, and duplicate data storing program for storage device
US6728830B1 (en) Method and apparatus for modifying the reserve area of a disk drive
US7133987B2 (en) Storage system and snapshot management method thereof
US6813687B1 (en) Raid volume for sequential use that needs no redundancy pre-initialization
US5337197A (en) Method and system for maintaining directory consistency in magneto-optic media
US10114699B2 (en) RAID consistency initialization method
CN114924923A (en) Method, system, equipment and medium for verifying correctness of hard disk write-in point
US20050102482A1 (en) Method and system for configuring RAID subsystems with block I/O commands and block I/O path
US7293193B2 (en) Array controller for disk array, and method for rebuilding disk array
US6591264B1 (en) Method that allows I/O requests to run concurrently with a rollback from a snapshot in a drive array
US7020770B2 (en) Method and apparatus for configuration of RAID controllers
US7200771B2 (en) Relocation batch processing for disk drives
US8601230B2 (en) Volume migration program, method and system

Legal Events

Date Code Title Description
AS Assignment

Owner name: LSI LOGIC CORPORATION, CALIFORNIA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:HUMLICEK, DONALD R.;REEL/FRAME:011042/0904

Effective date: 20000824

FEPP Fee payment procedure

Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

FPAY Fee payment

Year of fee payment: 4

FPAY Fee payment

Year of fee payment: 8

AS Assignment

Owner name: DEUTSCHE BANK AG NEW YORK BRANCH, AS COLLATERAL AG

Free format text: PATENT SECURITY AGREEMENT;ASSIGNORS:LSI CORPORATION;AGERE SYSTEMS LLC;REEL/FRAME:032856/0031

Effective date: 20140506

AS Assignment

Owner name: LSI CORPORATION, CALIFORNIA

Free format text: CHANGE OF NAME;ASSIGNOR:LSI LOGIC CORPORATION;REEL/FRAME:033102/0270

Effective date: 20070406

AS Assignment

Owner name: AVAGO TECHNOLOGIES GENERAL IP (SINGAPORE) PTE. LTD

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:LSI CORPORATION;REEL/FRAME:035390/0388

Effective date: 20140814

AS Assignment

Owner name: LSI CORPORATION, CALIFORNIA

Free format text: TERMINATION AND RELEASE OF SECURITY INTEREST IN PATENT RIGHTS (RELEASES RF 032856-0031);ASSIGNOR:DEUTSCHE BANK AG NEW YORK BRANCH, AS COLLATERAL AGENT;REEL/FRAME:037684/0039

Effective date: 20160201

Owner name: AGERE SYSTEMS LLC, PENNSYLVANIA

Free format text: TERMINATION AND RELEASE OF SECURITY INTEREST IN PATENT RIGHTS (RELEASES RF 032856-0031);ASSIGNOR:DEUTSCHE BANK AG NEW YORK BRANCH, AS COLLATERAL AGENT;REEL/FRAME:037684/0039

Effective date: 20160201

AS Assignment

Owner name: BANK OF AMERICA, N.A., AS COLLATERAL AGENT, NORTH CAROLINA

Free format text: PATENT SECURITY AGREEMENT;ASSIGNOR:AVAGO TECHNOLOGIES GENERAL IP (SINGAPORE) PTE. LTD.;REEL/FRAME:037808/0001

Effective date: 20160201

Owner name: BANK OF AMERICA, N.A., AS COLLATERAL AGENT, NORTH

Free format text: PATENT SECURITY AGREEMENT;ASSIGNOR:AVAGO TECHNOLOGIES GENERAL IP (SINGAPORE) PTE. LTD.;REEL/FRAME:037808/0001

Effective date: 20160201

REMI Maintenance fee reminder mailed
LAPS Lapse for failure to pay maintenance fees
STCH Information on status: patent discontinuation

Free format text: PATENT EXPIRED DUE TO NONPAYMENT OF MAINTENANCE FEES UNDER 37 CFR 1.362

FP Lapsed due to failure to pay maintenance fee

Effective date: 20161102

AS Assignment

Owner name: AVAGO TECHNOLOGIES GENERAL IP (SINGAPORE) PTE. LTD., SINGAPORE

Free format text: TERMINATION AND RELEASE OF SECURITY INTEREST IN PATENTS;ASSIGNOR:BANK OF AMERICA, N.A., AS COLLATERAL AGENT;REEL/FRAME:041710/0001

Effective date: 20170119

Owner name: AVAGO TECHNOLOGIES GENERAL IP (SINGAPORE) PTE. LTD

Free format text: TERMINATION AND RELEASE OF SECURITY INTEREST IN PATENTS;ASSIGNOR:BANK OF AMERICA, N.A., AS COLLATERAL AGENT;REEL/FRAME:041710/0001

Effective date: 20170119