Please create raid0 + 1 !!

Source: Internet
Author: User
Please create raid0 + 1 !! -- Linux general technology-Linux technology and application information. For details, refer to the following section. Environment: rhel5.3 + Virtual Machine
Create a raid0 + 1 disk array !! The more detailed the better !! Thank you! 1
I have a raid0 step. Hope you can give me some advice !!
1. Add one or more hard disks (which can be easily implemented in virtual machines)
Ii. Use the fdisk command to partition the newly added Hard Disk:
Eg:
Fdisk/dev/sdb
--> N
--> P: Create a partition.
---> 1 create sdb1 partition -----> 2 create sdb2 partition ===
---> 1 enter the start slice number
------> + 1500 M input partition size, which is 1.5 GB (the same method divides sdb2 into 1.5 GB)
3. mdadm-C/dev/md0-l0-n2/dev/sdb1/dev/sdb2-a yes this 'l0' indicates raid0 'n2 'refers to 2 partitions
Iv. Format partitions in mkfs. ext3/dev/md0
5. mount/dev/md0/rhome to mount the new partition
6. mdadm-Ds>/etc/mdadm. conf
7. vim/etc/fstab modify the configuration document and configure automatic mounting upon startup

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.