Disk Array (RAID5) Construction

Source: Internet
Author: User

References for building disk arrays on Vmware

Part 1:
First, use the vmwarevm to create three logical disks (RAID5 requires at least three disks) for Array creation!
Select the Virtual Disk path and name it disk1!
Hard Disk (SCSI) is created for the first logical disk )! Next, create the second and third logical disks (likewise ),
Hard Disk of the second Logical Disk (SCSI 0: 2 )!
The third Logical Disk is hard disk (SCSI )!
Next, click (green triangle )! Start the VM !!
Part 2:
Configuration steps:
(1) Check whether raidtools are installed:
No installation is confirmed! Next, install the raidtools tool:
Installation complete!
(2) Check the disk:
The disk is displayed normally!
Partition a disk:
Enter "N" to create a new partition!
Enter "p" to create the primary partition!
Enter "1" to name the partition symbol!
By default!
Enter "p" to confirm:
Then, enter "W" to save the disk and exit!
(Likewise) Partition/dev/SDC/dev/SDD!
Now, format:
(3) modify the raid configuration file: the path is/etc/raidtab, which does not exist by default! But fortunately the system provides a template, the path is:/usr/share/doc/raidtools-1.00.3/copy the template to use! Copy raid5.conf. Sample
Command: CP raid5.conf. Sample/etc/raidtab
Modify the configuration file (VI/etc/raidtab ):
(4) create a RAID device:
Format:
Attach a RAID device:
Run the "DF" command to check whether the disk is mounted:
(5) view raid disk information:
Display normal!
(6) test: write files to the/OPT directory:
Written successfully! The RAID 5 disk array can be used normally !!
(7) If we further test the features of the RAID5 disk array, check whether data is written to each disk of the array, and then confirm whether the data is successful! (The following is only a test feature. It is only for experimentation !! If it is used properly, this step is done! Thank you !!)
Command: umount/OPT
Raidstop/dev/md0
Umount/mnt
View:/dev/sdb1
Mount/dev/sdb1/mnt
CD/mnt
Ls
View:/dev/sdc1
Umount/mnt
Mount/dev/sdc1/mnt
CD/mnt
Ls
View:/dev/sdd1
Umount/mnt
Mount/dev/sdd1/mnt
CD/mnt
Ls
(If there is real data and verification information, that is, RAID5 Features !!)

Http://www.cublog.cn/u3/93926/showart_1873769.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.