A conventional storage system may comprise a boot drive and a data drive. However, the boot drive and the data drive may be prone to failure. If the boot drive fails, the conventional storage system may be unable to boot up. If the data drive fails, user data may be lost. Conventional redundancy systems have been employed for the conventional storage system in order to reduce the risk of failure to the boot drive and the data drive. However, in such a case, the user may have to manually configure all of the boot drives or all of the data drives in order to set them up in a redundancy system. Furthermore, if one of the data drives fail or one of the boot drives fail, replacing the failed data drive or the failed boot drive may require that the user manually reconfigure all of the boot drives or all of the data drives in order to set them up in a redundancy system.
The features and advantages of the present embodiments will become more apparent from the detailed description set forth below when taken in conjunction with the drawings, wherein:
In an embodiment, a storage system 102 comprises a server as shown in
In an embodiment, each of the boot drives 104 comprises at least one of a hard disk drive or a solid state drive. In an embodiment, each of the boot drives 104 comprises a media 110 as shown in
In an embodiment, each of the data drives 106 comprises at least one of a hard disk drive or a solid state drive. In an embodiment, each of the data drives 106 comprises a media 112 as shown in
While the description herein refers to solid state memory generally, it is understood that solid state memory may comprise one or more of various types of solid state non-volatile memory devices such as flash integrated circuits, Chalcogenide RAM (C-RAM), Phase Change Memory (PC-RAM or PRAM), Programmable Metallization Cell RAM (PMC-RAM or PMCm), Ovonic Unified Memory (OUM), Resistance RAM (RRAM), NAND memory (e.g., single-level cell (SLC) memory, multi-level cell (MLC) memory, or any combination thereof), NOR memory, EEPROM, Ferroelectric Memory (FeRAM), Magnetoresistive RAM (MRAM), other discrete NVM (non-volatile memory) chips, or any combination thereof.
Referring back to
In an embodiment shown in
In an embodiment, the controller 108 automatically migrates data from the first boot drive 104a to the second boot drive 104b while allowing for an operating system to function. In an embodiment, this can reduce an operational down time of the storage system 102 since the storage system 102 will be mostly or fully functional during the migration of data. In an embodiment, the controller 108 automatically migrates data from the first boot drive 104a to the second boot drive 104b when the second boot drive 104b is detected.
Since the first boot drive 104a already contains RAID metadata, the RAID metadata in the first boot drive 104a can be adjusted to indicate that the first boot drive 104a is now paired with the second boot drive 104b. In an embodiment, this can reduce an operational down time of the storage system 102 since the data stored in the first boot drive 104a need not be reconfigured to introduce the RAID metadata. In an embodiment, the second boot drive 104b can be configured to also have RAID metadata indicating that the second boot drive 104b is paired with the first boot drive 104a. In an embodiment, data from the first boot drive 104a is preserved in the first boot drive 104a when the first boot drive 104a and the second boot drive 104b are configured to be in the RAID configuration.
In an embodiment, in block S502, if the controller 108 does not detect the second boot drive 104b, the controller can repeat block S502. However, in an embodiment, the controller 108 can instead proceed to perform other options. For example, if the process disclosed in
In an embodiment, the controller 108 detects when the first boot drive 104a or the second boot drive 104b has been removed from the storage system 102, as shown in an embodiment in
In an embodiment shown in
In block S704, the controller 108 determines if there is an error in the first boot drive 104a, or the second boot drive 104b. In block S706, when the controller 108 determine that the first boot drive 104a, or the second boot drive 104b has an error, the controller 108 can display a warning to a user to replace the boot drive with the error. Thus, if the first boot drive 104a has an error, the controller 108 can display a warning to the user to replace the first boot drive 104a.
Similarly, if the second boot drive 104b has an error, the controller 108 can display a warning to the user to replace the second boot drive 104b.
In an embodiment, the use of the RAID configuration for the first boot drive 104a and the second boot drive 104b reduces the failure rate of the storage system 102 based on failures of a boot drive.
In an embodiment, the controller 108 can also determine whether a boot drive is a new and valid boot drive using the RAID metadata from the boot drive as shown in an embodiment in
In an embodiment, a new boot drive does not mean that the boot drive has to be unused (e.g. with no data on the boot drive). Instead, a new boot drive is one which does not have RAID metadata or does not have RAID metadata which corresponds to the first boot drive 104a. Thus, if the second boot drive 104b has been removed from the storage system 102 for a period of time, and then replaced in the storage system 102, the second boot drive 104b may be considered to be a new boot drive because the RAID metadata from the second boot drive 104b may not match the metadata from the first boot drive 104a.
In block S806, the controller 108 determines if a boot drive is a valid boot drive. For example, when the second boot drive 104b is detected as a new boot drive, the controller 108 can also determine whether the second boot drive 104b is a valid boot drive. In an embodiment, a valid boot drive is a boot drive which meets a predetermined specification such as a certain model of a boot drive, performance criteria, storage capacity, or any combination thereof. If the second boot drive 104b is not a valid boot drive, the controller 108 may prevent the configuration of the second boot drive 104b in a RAID configuration with the first boot drive 104a. The controller 108 may also display a warning to a user in such a case.
In block S808, the controller 108 can configure the second boot drive 104b when the second boot drive 104b is detected as a new boot drive and a valid boot drive. In block S810, the controller 108 automatically migrates data from the first boot drive 104a to the second boot drive 104b when the second boot drive 104b is detected as a new boot drive and a valid boot drive.
In an embodiment, the boot drives 104a and 104b can be backed up to the data drives 106. In an embodiment, this can further reduce the failure rate of the boot drives 104 because even if all of the boot drives 104 fail, the data from the boot drives 104 may still be able to be recovered in the data drives 106.
Although an installation of a second boot drive 104b is shown in the examples provided above, in an embodiment, additional boot drives may be utilized. For example, more than two boot drives 104 may be utilized in the storage system 102. Similarly, although data drives 106 are shown, in an embodiment, the storage system 102 can initially include no data drives 106. One or more of the data drives 106 can then be added at a later point in time.
In an embodiment, the controller 108 configures the data drives 106 in the RAID configuration or in an extent based file system configuration, as shown in an embodiment in
In an embodiment, the extent based file system is capable of providing fault tolerance. In an embodiment, the extent based file system configuration may also manage logical volumes on storage drives. In an embodiment, the extent based file system configuration utilizes a journal to keep track of the spaces available in the data drives 106. In an embodiment, the extent based file system configuration utilizes one or more of the data drives 106 to form storage pools.
From the storage pools, volumes may be created by the extent based file system configuration. In an embodiment, the volumes comprise virtual disks located on the storage pool which may then be partitioned, formatted, and assigned drive letters. In an embodiment, the extent based file system can maintain the health of the data drives 106 and any redundancy selected. In an embodiment, the extent based file system stores metadata on every volume within the storage pool that defines how data will be stored within the storage pool. In an embodiment, the metadata comprises extent based file system metadata.
In an embodiment, the extent based file system configuration also allows the use of thin provisioning, which allows allocation of virtual drives larger than available space. With thin provisioning, blocks are only used from the pool as used by virtual disks.
In an embodiment, when a process creates a file, the extent based file system configuration allocates a whole extent. When writing to the file again, such as after performing other write operations, the data continues where the previous write left off. In an embodiment, this can reduce file fragmentation and/or file scattering. In an embodiment, the extent comprises a contiguous area of storage in a computer file system reserved for a file. In an embodiment, the extent based file system configuration need not limit a file to a single extent.
In an embodiment, the extent based file system configuration allows for the data drives 106 to be of different types and have different storage capacities, without the storage capacity differential between different data drives 106 being wasted. In an embodiment, a first data drive can comprise a first type of data drive and a second data drive can comprise a second type of data drive. Furthermore, in an embodiment, the first data drive can comprise a first size and the second data drive can comprise a second size different than the first size.
Thus, the first data drive can comprise a 1 TB magnetic rotating disk, while the second data drive can comprise a 250 GB solid state memory. In such a case, the first data drive and the second data drive may have a total storage capacity of 1.25 TB, which can be divided by half or more if the first data drive and the second data drive were to be mirrored. Thus, the magnetic rotating disk may be utilized alongside the solid state memory.
Furthermore, the storage capacity differential of 750 GB in the magnetic rotating disk would not be wasted. Instead, the first data drive may configured to store a first amount of user data, and the second data drive may be configured to store a second amount of user data different than the first amount of user data.
In an embodiment, the controller 108 may also configure the boot drives 104 in an extent based file system configuration. In such a case, the BIOS stored in a flash memory may also be utilized to configure the boot drives 104 in the extent based file system configuration. In an embodiment, the controller 108 may provide for a selection for one or more boot drives 104 between a RAID configuration and an extent based file system configuration.
Those of ordinary skill would appreciate that the various illustrative logical blocks, modules, and algorithm parts described in connection with the examples disclosed herein may be implemented as electronic hardware, computer software, or combinations of both. Furthermore, the embodiments can also be embodied on a non-transitory machine readable medium causing a processor or computer to perform or execute certain functions.
To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and process parts have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed apparatus and methods.
The parts of a method or algorithm described in connection with the examples disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. The parts of the method or algorithm may also be performed in an alternate order from those provided in the examples. A software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, an optical disk, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such that the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an Application Specific Integrated Circuit (ASIC).
The previous description of the disclosed examples is provided to enable any person of ordinary skill in the art to make or use the disclosed methods and apparatus. Various modifications to these examples will be readily apparent to those skilled in the art, and the principles defined herein may be applied to other examples without departing from the spirit or scope of the disclosed method and apparatus. The described embodiments are to be considered in all respects only as illustrative and not restrictive and the scope of the disclosure is, therefore, indicated by the appended claims rather than by the foregoing description. All changes which come within the meaning and range of equivalency of the claims are to be embraced within their scope.
This application claims the benefit of U.S. Provisional Application No. 61/858,095, filed on Jul. 24, 2013, entitled “AUTOMATIC RAID MIRRORING WHEN ADDING A SECOND BOOT DRIVE,” which is hereby incorporated by reference in its entirety.
Number | Name | Date | Kind |
---|---|---|---|
6499054 | Hesselink et al. | Dec 2002 | B1 |
6704838 | Anderson | Mar 2004 | B2 |
6732158 | Hesselink et al. | May 2004 | B1 |
6795895 | Merkey et al. | Sep 2004 | B2 |
6862609 | Merkey | Mar 2005 | B2 |
6931519 | Keller | Aug 2005 | B1 |
7035972 | Guha et al. | Apr 2006 | B2 |
7120692 | Hesselink et al. | Oct 2006 | B2 |
7137034 | Largman et al. | Nov 2006 | B2 |
7143249 | Strange et al. | Nov 2006 | B2 |
7395402 | Wilson et al. | Jul 2008 | B2 |
7401197 | Kezuka et al. | Jul 2008 | B2 |
7424637 | Schoenthal et al. | Sep 2008 | B1 |
7454443 | Ram et al. | Nov 2008 | B2 |
7467187 | Hesselink et al. | Dec 2008 | B2 |
7484039 | Qiu et al. | Jan 2009 | B2 |
7536598 | Largman et al. | May 2009 | B2 |
7546353 | Hesselink et al. | Jun 2009 | B2 |
7587467 | Hesselink et al. | Sep 2009 | B2 |
7600036 | Hesselink et al. | Oct 2009 | B2 |
7634615 | Sutardja | Dec 2009 | B2 |
7640292 | Smoot | Dec 2009 | B1 |
7676694 | Sullivan et al. | Mar 2010 | B2 |
7681007 | Rustagi et al. | Mar 2010 | B2 |
7702897 | Reed et al. | Apr 2010 | B2 |
7788404 | Hesselink et al. | Aug 2010 | B2 |
7814273 | Barrall | Oct 2010 | B2 |
7831793 | Chakravarty et al. | Nov 2010 | B2 |
7861036 | Byrne et al. | Dec 2010 | B2 |
7917628 | Hesselink et al. | Mar 2011 | B2 |
7934251 | Hesselink et al. | Apr 2011 | B2 |
7941501 | McCabe et al. | May 2011 | B2 |
7949564 | Hughes et al. | May 2011 | B1 |
8001417 | Byrne et al. | Aug 2011 | B2 |
8004791 | Szeremeta et al. | Aug 2011 | B2 |
8074092 | Fung | Dec 2011 | B2 |
8194547 | Sardella et al. | Jun 2012 | B1 |
8255661 | Karr et al. | Aug 2012 | B2 |
8266376 | Maroney et al. | Sep 2012 | B2 |
8285965 | Karr et al. | Oct 2012 | B2 |
8296398 | Lacapra et al. | Oct 2012 | B2 |
8341117 | Ram et al. | Dec 2012 | B2 |
8341275 | Hesselink et al. | Dec 2012 | B1 |
8352567 | Hesselink et al. | Jan 2013 | B2 |
8352750 | Haines et al. | Jan 2013 | B2 |
8438423 | Barkelew | May 2013 | B1 |
8526798 | Hesselink | Sep 2013 | B2 |
8631284 | Stevens | Jan 2014 | B2 |
8646054 | Karr et al. | Feb 2014 | B1 |
8661507 | Hesselink et al. | Feb 2014 | B1 |
8688797 | Hesselink et al. | Apr 2014 | B2 |
8713265 | Rutledge | Apr 2014 | B1 |
8762682 | Stevens | Jun 2014 | B1 |
8780004 | Chin | Jul 2014 | B1 |
8793374 | Hesselink et al. | Jul 2014 | B2 |
8819443 | Lin | Aug 2014 | B2 |
20020053047 | Gold | May 2002 | A1 |
20020101711 | Gold | Aug 2002 | A1 |
20020112198 | Lim et al. | Aug 2002 | A1 |
20030037187 | Hinton et al. | Feb 2003 | A1 |
20030149750 | Franzenburg | Aug 2003 | A1 |
20040019824 | McCombs | Jan 2004 | A1 |
20040073747 | Lu | Apr 2004 | A1 |
20040215952 | Oguma | Oct 2004 | A1 |
20050144195 | Hesselink et al. | Jun 2005 | A1 |
20050144200 | Hesselink et al. | Jun 2005 | A1 |
20070050538 | Northcutt et al. | Mar 2007 | A1 |
20070233821 | Sullivan et al. | Oct 2007 | A1 |
20070234118 | Sardella et al. | Oct 2007 | A1 |
20080040462 | Islam et al. | Feb 2008 | A1 |
20090228651 | Sharma et al. | Sep 2009 | A1 |
20090259816 | Sharma et al. | Oct 2009 | A1 |
20110113194 | Terry et al. | May 2011 | A1 |
20120036041 | Hesselink | Feb 2012 | A1 |
20120284493 | Lou et al. | Nov 2012 | A1 |
20130061029 | Huff et al. | Mar 2013 | A1 |
20130067191 | Mehra et al. | Mar 2013 | A1 |
20130117502 | Son et al. | May 2013 | A1 |
20130212401 | Lin | Aug 2013 | A1 |
20130266137 | Blankenbeckler et al. | Oct 2013 | A1 |
20130268749 | Blankenbeckler et al. | Oct 2013 | A1 |
20130268759 | Blankenbeckler et al. | Oct 2013 | A1 |
20130268771 | Blankenbeckler et al. | Oct 2013 | A1 |
20140095439 | Ram | Apr 2014 | A1 |
20140169921 | Carey | Jun 2014 | A1 |
20140173215 | Lin et al. | Jun 2014 | A1 |
Number | Date | Country |
---|---|---|
1020120027880 | Mar 2012 | KR |
2012046929 | Apr 2012 | WO |
Entry |
---|
International Search Report and Written Opinion dated Nov. 6, 2014 from related PCT Serial No. PCT/US2014/047915, 9 pages. |
Number | Date | Country | |
---|---|---|---|
20150033067 A1 | Jan 2015 | US |
Number | Date | Country | |
---|---|---|---|
61858095 | Jul 2013 | US |