Install centos on Soft Raid without a hardware RAID card

Source: Internet
Author: User

Labels: Install system soft RAID

I remember reading an Open Course in YY, where I installed the operating system on a soft RAID without a hardware RAID card. When a disk crashes, the entire system will not crash (raid1 ); I personally think it is quite fun, And I installed and tried it today. The following is the operation process. Because of obsessive-compulsive disorder, the whole process has been completed;

Lab environment:

VMware Workstation 10.0

Centos 6.4x64

When adding a virtual machine, I added two GB hard disks to the virtual machine;

1. Insert the disc and boot it. Use the graphical interface to install the system;
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/4D/94/wKioL1RTkCjg_wZhAANWSMr2AfM820.jpg "Title =" 1.png" alt = "wkiol1rtkcjg_wzhaanwsmr2afm8w.jpg"/>

2. Skip the installation media check

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/4D/95/wKiom1RTkC2BnBbfAAFjn4o9jgQ455.jpg "Title =" 2.png" alt = "wkiom1rtkc2bnbbfaafjn4o9jgq455.jpg"/>

3, next

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/4D/94/wKioL1RTkKDyBgvIAAGgKWIxjqE966.jpg "Title =" 3.png" alt = "wkiol1rtkkdybgviaaggkwixjqe966.jpg"/>

4. Select the installation language.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/4D/95/wKiom1RTkGzQzZYqAAG7x7YKwm0052.jpg "Title =" 4.png" alt = "wkiom1rtkgzqzzyqaag7x7ykwm0052.jpg"/>

5. Select the keyboard layout

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/4D/95/wKiom1RTkMLCbfpIAAF-eoUFT7o994.jpg "Title =" 5.png" alt = "wKiom1RTkMLCbfpIAAF-eoUFT7o994.jpg"/>

6. Select a storage device.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/4D/94/wKioL1RTkUaB4K6WAAFaRlBPFSw388.jpg "Title =" 6.png" alt = "wkiol1rtkuab4k6waafarlbpfsw388.jpg"/>

7. Blank disk, direct Yes

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/4D/94/wKioL1RTkdaQwb1YAAI0QAjytFI845.jpg "Title =" 7.png" alt = "wkiol1rtkdaqwb1yaai0qajytfi845.jpg"/>

8. Enter the host name.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/4D/94/wKioL1RTkfHw2F4XAADdbNKIoV4055.jpg "Title =" 8.png" alt = "wkiol1rtkfhw2f4xaaddbnkiov4055.jpg"/>

9. Select the time zone. The UTC clock is not applicable here.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/4D/94/wKioL1RTknyhDoEKAAJYb55-nMU534.jpg "Title =" 9.png" alt = "wKioL1RTknyhDoEKAAJYb55-nMU534.jpg"/>

10. Set the root password.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/4D/95/wKiom1RTkjvyy-JXAADgPwyKpvQ153.jpg "Title =" 10.png" alt = "wKiom1RTkjvyy-JXAADgPwyKpvQ153.jpg"/>

11. Because my password is easy to set, choose use anyway.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/4D/94/wKioL1RTkrODiqk3AAFJHHJ0Xp0526.jpg "Title =" 11.png" alt = "wkiol1rtkrodiqk3aafjhhj0xp0526.jpg"/>

12. Use manual partitioning

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/4D/95/wKiom1RTknXD3ys1AAKNKlaHfOA547.jpg "Title =" 12.png" alt = "wkiom1rtknxd3ys1aaknklahfoa547.jpg"/>

13. here we can see two GB hard disks. Click Create

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/4D/94/wKioL1RTkunA7QvzAAF6L2fH3w8492.jpg "Title =" 13.png" alt = "wkiol1rtkuna7qvzaaf6l2fh3w8492.jpg"/>

14. Select raid partition.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/4D/94/wKioL1RTkv-SpLF4AAE6yDfWkMI108.jpg "Title =" 14.png" alt = "wKioL1RTkv-SpLF4AAE6yDfWkMI108.jpg"/>

15. Select the first hard disk and set the disk size to 200 MB. Use this partition for boot.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/4D/95/wKiom1RTksizhorXAAIJqXvxc5Y866.jpg "Title =" 15.png" alt = "wkiom1rtksizhorxaaijqxvxc5y866.jpg"/>

16. Repeat steps 13 and 14 to create a raid partition on the second hard disk. The size is still 200 MB.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/4D/94/wKioL1RTkzzimAHIAAHgfB4Gme8829.jpg "Title =" 16.png" alt = "wkiol1rtkzzimahiaahgfb4gme8829.jpg"/>

17. There are two raid partitions, each of which is 200 MB.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/4D/95/wKiom1RTkx3SEvCdAAHWUrA_CEw477.jpg "Title =" 17.png" alt = "wkiom1rtkx3sevcdaahwura_cew477.jpg"/>

18. Select create RAID device.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/4D/94/wKioL1RTk5HhYo4CAAEtO7RSe_I506.jpg "Title =" 18.png" alt = "wkiol1rtk5hhyo4caaeto7rse_i506.jpg"/>

19. The mount point is/boot.

File System: ext4

Raid ID: md0

Raid level: raid1 (image)

Raid members: Select sha1 and sdb1

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/4D/95/wKiom1RTk03hzYjoAAErtnj_A98742.jpg "Title =" 19.png" alt = "wkiom1rtk03hzyjoaaertnj_a98742.jpg"/>

20. Raid 1-based boot partition created

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/4D/94/wKioL1RTk7yQtYHUAAISqFfWauo050.jpg "Title =" 20.png" alt = "wkiol1rtk7yqtyhuaaisqffwauo050.jpg"/>

21. Follow the steps 13-20 to create other partitions.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/4D/95/wKiom1RTk4Dx2A4nAAJAK0HjfZ4005.jpg "Title =" 21.png" alt = "wkiom1rtk4dx2a4naajak0hjfz4005.jpg"/>

22. Click format.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/4D/95/wKiom1RTk5-xMsgLAAImbGtQU3E552.jpg "Title =" 22.png" alt = "wKiom1RTk5-xMsgLAAImbGtQU3E552.jpg"/>

23. Click write changes to disk.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/4D/94/wKioL1RTlCDDXXXiAAHonoJzEJA791.jpg "Title =" 23.png" alt = "wkiol1rtlcddxxxiaahonojzeja791.jpg"/>

24. Select the installation location of the boot loader and use the default

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/4D/95/wKiom1RTlAvz4-ttAAEdiNvWJwg951.jpg "Title =" 24.png" alt = "wKiom1RTlAvz4-ttAAEdiNvWJwg951.jpg"/>

25. The minimum installation I use can be modified as needed

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/4D/95/wKiom1RTlGLiJbolAAI0P3TMEiw473.jpg "Title =" 25.png" alt = "wkiom1rtlglijbolaai0p3tmeiw473.jpg"/>

26. Installing. Wait a moment.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/4D/94/wKioL1RTlPnS8dwwAAHlJ4uvWXo527.jpg "style =" float: none; "Title =" 26.png" alt = "wkiol1rtlpns8dwwaahlj4uvwxo527.jpg"/>

27. The installation is complete. restart the system.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/4D/94/wKioL1RTlPng19RVAAE8YwtJiaA012.jpg "style =" float: none; "Title =" 27.png" alt = "wkiol1rtlpng19rvaae8ywtjiaa012.jpg"/>

28. After logging on to the system, check the disk partition information. You can see that all RAID partitions are used.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/4D/95/wKiom1RTlJ7yB6e0AAFqx4QUsrY689.jpg "style =" float: none; "Title =" 28.png" alt = "wkiom1rtlj7yb6e0aafqx4qusry689.jpg"/>

29. View raid partition details

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/4D/94/wKioL1RTlPnwJ6SIAAH4PvD2-vg257.jpg "style =" float: none; "Title =" 29.png" alt = "wKioL1RTlPnwJ6SIAAH4PvD2-vg257.jpg"/>


30. After the installation is complete, you can have a good time. In the next article, we will test the installation;


This article is from the "ad" blog. For more information, contact the author!

Install centos on Soft Raid without a hardware RAID card

Related Article

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.