Showing posts with label raid. Show all posts
Showing posts with label raid. Show all posts

Thursday, January 5, 2017

Configuring and Managing RAID 5 on Windows Server 2012

Configuring and Managing RAID 5 on Windows Server 2012


An Overview of RAID 5

RAID 5 consists of three or more volumes each located on a separate physical disk. As with RAID 0, RAID 5 also uses disk striping, whereby blocks of data are divided up into stripes with each stripe written to a different disk. RAID 5, however, differs quite considerably from RAID 0. Under RAID 5, not only are the data stripes written, but also parity information relating to the data. The key to RAID 5 fault tolerance is the fact that the parity information for a particular data stripe is always written to a different drive from the drive containing the corresponding data stripe. This means that if a disk fails, the corresponding parity information stored on another disk can be used for error detection and data correction (also referred to as regeneration).
Whilst RAID 5 has considerable advantages over RAID 0 there are one or two drawbacks that should be taken into consideration when considering this storage option. Firstly, there is the inevitable performance overhead inherent in calculating and storing parity information for each data stripe written to disk. Secondly, the loss of more than one disk in a RAID 5 array will leave insufficient parity data on the remaining disks to regenerate the original data. That said, RAID 5 does provide considerable advantages that generally outweigh the disadvantages.

Configuring RAID 5 Using Windows Server 2008 Disk Management

A Windows Server 2008 RAID 5 configuration may be set up using the Disk Management snap-in. This is accessed either from the Server Manager or Computer Management tools. To launch the Server Manager, open the Start menu and click on the Server Manager option, or click on the Server Manager icon in the task bar. Alternatively launch Computer Management from Start -> All Programs -> Administration Tools -> Computer Management or run compmgmt.csc at the command prompt or in a Run dialog. In all cases the Disk Management tool can be found under the Storage category.
As previously noted, RAID 5 implementation requires a minimum of 3 disk drives. For the purposes of this tutorial a system containing four disk drives is assumed. In this scenario, disk 0 is the system disk and disks 1 through 3 are available for use in the RAID 5 configuration. Before proceeding the disks will need to be initialized using either the MBR or GPT partition style. Assuming these prerequisites are met the first step is to right click on one of the 3 disks in the Disk Management graphical view. In the resulting popup menu select the New RAID-5 Volume... option to invoke the New RAID-5 Volume wizard. On the wizards welcome page click on the Next button to proceed to the Disk Selection screen. This screen contains a list of disk drives available for inclusion in the disk array together with a list of selected disks. Currently only the current disk is included in the Selected list. Two more disks must be added to the selected disks before the RAID 5 array can be built. Select disks from the Available list and click on the Add> button to add the disk to the selected list. Once sufficient disks (in this case disks 1, 2 and 3) are selected the Next button will activate to allow the remainder of the configuration to be completed. Note that disk 0 (the system disk) is not included in the RAID 5 array:
Selecting disks for a Windows Server 2008 RAID 5 configuration

With the disk selections completed, the Next button proceeds to the drive letter and mount point assignment screen. Once these settings are configured click Next to proceed to the Format Volume screen. Select the appropriate file system and compression options and click on Next to proceed to the Summary screen. Review the information displayed and click on Finish to initiate the RAID 5 creation process. During this process the Disk Management graphical view will list the disks as Formatting and then Resynching. The amount of time these phases will take depends on the size of the volumes in question. Once the process is complete the status will change to Healthy and the RAID 5 volume is ready for use.

Configuring RAID 5 from the Command Prompt using DiskPart

In addition to configuring RAID 5 from within Disk Management, the configuration may also be implemented from the command prompt using DiskPart. DiskPart may be launched either from a command prompt or a Run dialog simply by typing diskpart. Once invoked, DiskPart will display the DiskPart> command prompt and is ready to receive commands.
The first step in the configuration process is to identify the disks attached to the system using the list disk command:
DISKPART> list disk

Disk ### Status Size Free Dyn Gpt
-------- ---------- ------- ------- --- ---
Disk 0 Online 30 GB 15 GB *
Disk 1 Online 8 GB 8189 MB
Disk 2 Online 8 GB 8189 MB
Disk 3 Online 8 GB 8189 MB
For the purposes of this chapter disks 1, 2 and 3 will be used to create a RAID 5 configuration. Each of these disks needs to be converted to dynamic disks before the configuration can proceed. This is achieved by selecting each disk in turn and executing the convert dynamic command:
DISKPART> select disk 1

Disk 1 is now the selected disk.

DISKPART> convert dynamic

DiskPart successfully converted the selected disk to dynamic format.

DISKPART> select disk 2

Disk 2 is now the selected disk.

DISKPART> convert dynamic

DiskPart successfully converted the selected disk to dynamic format.

DISKPART> select disk 3

Disk 3 is now the selected disk.

DISKPART> convert dynamic

DiskPart successfully converted the selected disk to dynamic format.
Once the disks have been converted to dynamic disks the next step is to create the RAID 5 volume using the create volume raid command. This command also takes as a parameter the disk= directive followed by a list of disks to be used in the array. The size= directive may also be specified to declare the size of the volume. If this value is omitted the volume will be sized to match the smallest contiguous block of unallocated space on the designated disk drives:
DISKPART> create volume raid disk=1,2,3

DiskPart successfully created the volume.
Once the command has completed and displayed the DISKPART> prompt the system will have begun the resynching process. This can take a considerable amount of time depending on the size of the volume. During this process, the status of the volume will be listed as Rebuild when the list volume command is executed:
DISKPART> list volume

Volume ### Ltr Label Fs Type Size Status Info
---------- --- ----------- ----- ---------- ------- --------- --------
* Volume 0 RAW RAID-5 16 GB Rebuild
Volume 1 C NTFS Simple 15 GB Healthy System
Volume 2 D DVD-ROM 0 B No Media
Once the resynch is complete the volume status will change to Healthy at which point the volume may be formatted (the RAW type listed above indicates the volume has yet to be formatted). The volume may be formatted using the format command as follows:
DISKPART> format fs=ntfs label="RAID 5 Vol"

100 percent completed

DiskPart successfully formatted the volume.
Once the volume has been formatted the RAID 5 configuration is ready for use.

Fixing RAID 5 Problems

In order to function, all the disks in a RAID 5 configuration must be online and healthy. If the RAID 5 set displays Failed Redundancy and the volume is listed as Offline, Missing or Online (Errors) there is a problem which needs to be resolved.
If the status is Offline or Missing, check that the disk is connected and powered up. If the problem is resolved select Rescan Disks from the Actions menu. Once the rescan is complete right click on the problematic drive and select Reactivate. All being well the drive status will change to Regenerating as the data is rebuilt using the parity information on the other drives in the array. If, once regeneration is complete, the status does not return to Healthy, right click once again and select Regenerate Parity.
If a disk in a RAID 5 configuration is listed as Failed or Online (Errors) repeat the above steps. If this fails the disk may be unrecoverable and will need to be replaced. To achieve this, right click on the volume on the failed disk and select Remove Volume from the popup menu. Once the volume has been removed, right click on a suitable block of unallocated space on another dynamic disk which is not already part of the RAID 5 array, has sufficient space and has a matching partition style and select Repair Volume. This will rebuild the RAID 5 configuration using the space on new disk drive together with the remaining healthy disks from the original RAID 5 configuration.


Available link for download

Read more »

Wednesday, December 7, 2016

RAID Levels functions RAID in OS X Mac

RAID Levels functions RAID in OS X Mac


Introduction:

RAID expands to Reduntant Array of Independent Disk, is a data storage technology which coalesces the disk drives into a single logical unit for the purpose of enhancing the performance and data redundancy. Basically RAID is the policy to spread the data across multiple disk in a reliable manner. This technology comprises of certain levels which makes the task of data storage easier.

RAID levels:
The popular levels of RAID are RAID 0, RAID 1,  RAID 5, RAID 6 and RAID 10. RAID 0 is mainly used for striping, that is to read and write the data pararellely across the disk to achieve performance.

The main function of another level RAID 1 is mirroring, which helps to maintain the mirrored sets of the hard drive. In this case, if the hard drive get fails or data is deleted accidently then there is another mirrored drive which consist of the identical data. Although this feature require double storage capacity but it ensures high data protection and performance.

Now comes the RAID 4 which has the splendid characteristic of parity, which is used to detect the fault tolerence. It is used to recover the lost data in case of disk drive failure. RAID 4 consist of 3 hard disk drives in which 1 is for checking parity. One of the most prominent feature of RAID 4 is hot sparing that is it has the power of replacing the failed disk automatically. Inspite of all these features this level is not so commonly used.

The reason is RAID 6 which has 2 parity disk means it has the capacity to replace 2 hard drive failures automatically. Most widely used out of all levels of RAID is RAID 10. However, in this level, order of the required task is maintained. First mirroring is done and then the data is striped across the disk drives. Its is commonly called as the “stripes of mirrors” the fruitful combination of RAID 0 and RAID 1.
RAID in OS X Disk Utility:

Most commonly OS support RAID technology software for managing the volumes such as Mac OS X Disk Utility. Data is distributed across multiple disk either by hardware RAID or software RAID. Software RAID is implemented as a single virtual device which consist of a standard drive controller chip inbuilt into it with the drivers in it as well. Now if we compare this with the hardware RAID then this software RAID involves less number of CPU cycles and power to run.

RAID in Disk Utility is a built in software which support few levels of RAID. Mac OS X disk utility supports RAID 0, RAID 1 and RAID 10. Software RAID is reliable and flexible for the overall functioning of the system as it maintains the storage effectively without any loss of data. The two efficient feature of the Mac OS X Disk Utility is striping and mirroring. Striping stores the files in segments across the disk which is beneficial in when we have to deal with large sets of data whereas mirroring helps to duplicate the content of the data on to the another drive. After clicking on the RAID option in Disk Utility, just choose RAID type and format according to the data requirement and create sets. These sets will helps us to manage the data enthusiastically.

So, the above content describes the introduction and overall view of RAID to utilize the best service in an efficient manner.  

Available link for download

Read more »

Thursday, October 6, 2016

Learn about Raid in Funny Way

Learn about Raid in Funny Way




Available link for download

Read more »

Saturday, September 17, 2016

How to recover data from RAID 0 1 5 6 10 configurations

How to recover data from RAID 0 1 5 6 10 configurations


The traditional data storage configuration system has been replaced by RAID in majority. The RAID configuration let you store large amount of data with enhanced features such as: data protection, reliability, availability, performance. Sometimes you may lose access to your RAID data due to various reasons such as: Hardware failure, drive corruption, array failure etc.

You can find here information about various RAID configurations and later on, we will discuss how to recover data once the RAID architecture fails or become inaccessible.

About RAID configurations:

The term RAID refers to redundant array of independent disks.
 
The configuration is based on the concept of storage virtualization. Virtualization means dividing the system resources among different applications. A storage system is basically a storage array or disk array or a filer. Storage virtualization uses virtualization to enable better functionality, data redundancy, performance improvement and more advanced features in computer data storage systems. RAID uses the concept of storage virtualization for combining multiple disk drive components into a logical unit.
 
Using this kind of methods, the computing and data processing gets faster. Along with these, it also provides better data protection, reliability, availability, performance, and capacity features.
 
Based on architectures, RAID is divided into different levels: RAID 0, RAID 1, RAID 2, RAID 3, RAID 4, RAID 5, RAID 6 and RAID 10 etc.
 
Different RAID levels are explained below:

RAID 0: It is also known as a stripe set or striped volume. Data is distributed evenly between two or more striped disks that act as a single large logical disk. No redundancy, mirroring, parity is used. As there is no redundancy, if one drive fails the whole RAID volume fails.

RAID 1: The data of the drives are copied/ mirrored exactly on two or more disks. If one drive fails the RAID still keeps working as the same data is present on the other mirrored copy of the disk from where it can be accessed. No parity or striping is used.

RAID 2:  Bit-level striping is done rather than block level. The disks work in synchronization such that each sequential bit is on a different drive. Hamming code is used for error correction.

RAID 3: In this case, Byte level striping is done. The disks work in synchronization such that each sequential byte is on a different drive. For each corresponding byte parity is calculated and stored on a dedicated parity drive

RAID 4: It is based on block-level striping with dedicated parity

RAID 5: It is based on block-level striping with distributed parity among the drives. Minimum of 3 disks is required to create RAID 5. If a single drive fails, still it will be functioning.

RAID 6: It is based on block-level striping with double distributed parity thus provides fault tolerance up to two failed drives

Note: Data striping is a practice of saving consecutive segments of logical sequential data on different physical storage devices. disk mirroring is the replication of logical disk volumes onto separate physical hard disks in real time to ensure continuous availability A parity bit, or check bit is a bit added to the end of a string of binary code that indicates whether the number of bits in the string with the value one is even or odd. Parity bits are used as the simplest form of error detecting code.
 
Among the above RAID implementations, RAID 5 is the popular one.

Which one to choose?

 
In RAID 5 the data blocks and parity is striped among all disks. Though it offers good data protection, it has few drawbacks too.

Drawbacks:
  • 20% of the disk space is allocated for parity.
  • If the data blocks are large, the read performance will be slower.
  • When a RAID 5 is to be rebuilt, a lot of complex parity calculations needs to be done for every block. Building the disk from scratch is quite sophisticated and time consuming. If a single sector on the RAID 5 array demise, the whole array needs to be rebuilt. As the size of disk will be more, the time taken for rebuilt will also increase accordingly. Comparatively RAID 6 is treated as a better choice in comparison to RAID 5. 
    If even a single disk fails, the whole RAID 5 array becomes erroneous. The problem disk hasn’t been repaired, Meanwhile a second disk demises. In such case, you may lose your important data. In such case the faulty drive needs to be rebuilt while it’s online and in production. If RAID has stopped working properly due to any logical issues, you can have a quick and easy RAID recovery by using the Stellar Phoenix RAID Recovery software. The software can recover raid data from various RAID configurations of RAID 0, 5, 6 and 10 servers.
     
    Using the software, you can recover deleted documents, files, folder, multimedia files and emails from Windows drives, external media, and RAID 0, RAID 5, and RAID 6 arrays. It lets you recover lost/missing RAID logical volumes, FAT, exFAT, and NTFS partitions of size 2 TB or more. You can preview the list of recoverable items before actual recovery.

    The software offers Remote Recovery feature to perform recovery over a network or remote location. To build the probable RAID construction, the software automatically matches patterns and parameters of the RAID configuration. If you don’t remember these details, simply select the Dont know option and parameter values (Strip Size, Parity Order, Parity Delay etc.).

    If the software fails to build RAID construction then you can perform RAW recovery using virtual RAID construction. Using the tool, you can create image of your problematic hard drive volume or external media and perform recovery from the drive image. Signature based recovery comes handy if the quick recovery fails to recover the lost data. The software let you recover corrupt or incorrectly burnt CD DVD burnt on Windows, Mac, UNIX or Linux. You can benefit the S.M.A.R.T features using the Drive Status option of the tool. This feature let you gather the hard disk information about serial number, model number, size, status, temperature and firmware revision etc.

    Available link for download

    Read more »