Install Mysql on windows.

There are two way of doing the raid0

Command line and Disk management option.

Steps for disk management
To open Disk management type compmgmt.msc at a command prompt window or Run dialog and selecting Storage -> Disk Management.
In Disk Management tool right click on the un-allocated space in the graphical view of the first disk to be used in the stripe set and select Create New Striped Volume… to invoke the New Striped Volume wizard. Click Next on the welcome screen to proceed to the disk selection screen. As mentioned previously, a striped set can be comprised of anywhere from 2 to 32 disk drives. For the purposes of this example the set will consist of two disks. Initially, the wizard only lists the currently selected disk in the Selected column. In order to proceed, at least one more disk is required. To add disks to the striped, select a suitable disk from the available disks in the right hand column and click on Add to add it to the selected disks list

Configure Raid0

Select the necessary disks selected click Next to proceed and assign a drive letter or mount point for the volume. The Next button will then proceed to the Format Volume screen where the file system type and compression options may be selected. To view the summary screen, press the Next button. Assuming the summary is acceptable the Finish button will format the volumes and create the striped volume ready for use.

Creating (RAID 0) Volume from the Command Prompt

he first step in creating a striped volume using diskpart is to identify the disks to be used in the striped set. This can be achieved using the list disk command:

DISKPART> list disk

  Disk ###  Status      Size     Free     Dyn  Gpt
  --------  ----------  -------  -------  ---  ---
  Disk 0    Online        30 GB      0 B
  Disk 1    Online         8 GB  8189 MB
  Disk 2    Online         8 GB  8189 MB

For the purposes of this tutorial we will be creating a striped volume based on a stripe set consisting of disks 1 and 2. The striped volume is created using the create volume command combined with the stripe and disk= directives. In the case of the disk= directive a comma separated list of disk numbers to be used in the striped set must be provided. The size of the volume may also be specified using the size= directive. Omission of the size= option will cause diskpart to create volume such that it is the size of the smallest disk in the striped set. For example, to create a striped volume comprising of disks 1 and 2:

DISKPART> create volume stripe disk=1,2

DiskPart successfully created the volume.

Having created the striped volume, the list volume command may be used to verify the new configuration:

DISKPART> list volume

  Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
  ----------  ---  -----------  -----  ----------  -------  ---------  --------
* Volume 0                      RAW    Stripe        16 GB  Healthy
  Volume 1     D                       DVD-ROM         0 B  No Media
  Volume 2     C                NTFS   Partition     30 GB  Healthy    System

As shown above the new volume is listed as volume 0 and shown as Stripe. The volume is also listed as RAW because it has not yet been formatted with a file system. This, too, can be achieved within the diskpart tool:

DISKPART> select volume 0
DISKPART> format fs=ntfs label="My Striped Vol"

  100 percent completed

DiskPart successfully formatted the volume.

Once formatted, the last task is to assign either a drive letter or mount point to the volume by which it will be accessed:

To assign a drive letter:

DISKPART> assign letter=E:
DiskPart successfully assigned the drive letter or mount point.

To assign a mount point:

DISKPART> assign mount=\bigvol
DiskPart successfully assigned the drive letter or mount point.

Once assigned a drive letter or mount point, the new striped volume is ready for use.

By anup

Leave a Reply

Your email address will not be published. Required fields are marked *