Sequence of creating soft raid and lvm in linux

Source: Internet
Author: User
HPProLiantML110G7's onboard fakeraid does not support raid5, and even if raid10 is enabled, the CD version of javastuserver10.04lts has no driver and cannot be identified. So I simply shut it down and set soft raid when installing ubuntu. I used three seagate2tb green disks... the on-board fake raid of HP ProLiant ML110 G7 does not support raid5, and even if raid10 is enabled, ubuntu server10.04LTS of CD is not driven and cannot be identified. So I simply shut it down and set soft raid when installing ubuntu. I used three 2 TB green seagate disks. The process is as follows. it is for reference only:

1. back up the data on the hard disk, insert the three hard disks into the host, and start installing the system and arriving at the disk partition interface;

2. clean up lvm, raid, and physical partitions on all hard disks, leaving the entire free space;

3. create the same physical partition for each hard disk: a mb partition, a 4 GB partition, and four GB partitions. all partitions are used as raid partitions ", the MB partition must be set to "bootable ";

4. create RAID (MD) based on physical partitions. Each MD should use three physical partitions of the same size from the three hard disks: create a RAID5 MD0 in three MB partitions, the file system is EXT3, and the Mount point is/boot. create a RAID0 MD1 in three 4 GB partitions, the file system is swap (our server has 4 GB of memory and may be extended to 8 GB later); create a RAID 5 MD (MD2-MD5) for every three 500GB partitions ), the file system is EXT4 and is not mounted;

5. do not create LVM on MD0 and MD1. create a logical volume group LVG0 and MD3 \ 4 \ 5 on MD2, which will not be used for the moment. in the future, you can dynamically add space for LVG0, of course, all the space can be allocated to LVG0 at one time;

6. create several LVS on LVG0 for mounting directories (such as/home) except/boot );

7. change the disk and install the system.

Author bhq

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.