RAID itself is an abbreviation for disk arrays. Disk arrays can be used to store a file segment in different partitions. Linux system disk arrays are not many, the most commonly used is RAID5. This article will introduce the disk array of Linux system.
(1) RAID Introduction:
Redundant Array of Independent Disks (RAID), formerly known as Redundant Array of Inexpensive Disks (RAID) Hard disk array. The basic idea is to combine multiple relatively inexpensive hard drives into a hard disk array group to achieve performance even more than an expensive hard drive. Depending on the version chosen, RAID has one or more of the following benefits over a single hard drive: enhanced data integration, enhanced fault tolerance, increased throughput or capacity. In addition, the disk array looks like a separate hard disk or logical storage unit for the computer. Divided into RAID-0, RAID-1, RAID-1E, RAID-5, RAID-6, RAID-7, RAID-10, RAID-50.
In a nutshell, RAID combines multiple hard disks into one logical sector, so the operating system only treats it as a hard disk. RAID is often used on server computers, and often uses the exact same hard drive as a combination. As hard drive prices continue to fall and RAID functions are more effectively integrated with the motherboard, it has also become an option for players, especially those that require large amounts of storage space, such as video and audio production.
The initial RAID is divided into different levels. Each level has its theoretical advantages and disadvantages. Different levels balance the two goals, which are to increase data reliability and increase memory (group). Read and write performance. Over the years, there have been applications for different RAID concepts.
(two) Linux soft-RAID5:
1, to prepare a hard disk (at least three drives, a hard disk used here implemented five partitions, but in actual production It doesn't make sense to do a RAID for a hard disk):
[root@localhost ~]# fdisk -cul /dev/sdb #Create a partition as follows
Disk /dev/sdb: 21.5 GB, 21474836480 bytes< Br>
255 heads, 63 sectors/track, 2610 cylinders, total 41943040 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 Bytes /512 bytes
I/O size (minimum/optimal): 512 bytes /512 bytes
Disk identifier: 0x466fc1b6
Device Boot Start End Blocks Id System
/dev/sdb1 2048 10487807 5242880 83 Linux
/dev/sdb2 10487808 41943039 15727616 5 Extended
/dev/sdb5 10489856 16781311 3145728 83 Linux
/Dev/sdb6 16783360 23074815 3145728 83 Linux
/dev/sdb7 23076864 29368319 3145728 83 Linux
/dev/sdb8 29370368 35661823 3145728 83 Linux
/dev/sdb9 35663872 41943039 3139584 83 Linux
[root@localhost ~]# partx -a /Dev/sdb #Reread partition table
[root@localhost ~]# rpm -qa |
Grep mdadm #View whether to create raid software installation
mdadm-3.2.3-9.el6.i686 Previous12Next page Total 2 pages
Part of the Linux users who installed Red Flag Linux6.0 and Windows dual system, encountered some pr
Ubuntu and Fedora are the most famous in many Linux distributions. Ubuntu is an open source, ultra-f
Some Linux users encountered vsftp 500 OOPS when using vsftp: can not change directory: /home/this p
Rescue mode, as its name suggests, is to maintain the Linux system mode. When the /
How does Ubuntu recover the GNOME Panel that was accidentally deleted?
Summary of methods for getting help from Linux
Linux prompts [root@localhost ~]# iptraf when executing commands?
Linux routing command operation example summary
Linux uses awk to implement multi-line merge instances
Do you know the 7 major trends in the Linux desktop space?
Linux/Unix uses the md5sum command to compare file md5 values
The most detailed Linux compression decompression command
How to identify the useradd and adduser commands in Ubuntu
What should I do if VMware does not support full virtualization when installing 64-bit CentOS?
How does the Linux system distinguish between gmtime and localtime
How to debug the computer sound card after reinstalling the system?
Why is the computer black? Win7 computer black screen reason summary
WinXP how to change the shutdown interface back to the classic mode
How to apply for win10 installation key from Microsoft official website
Win8 convenient cloud synchronization Let file images be accessed everywhere
A good way to keep your computer from sleeping
How to set auto10 to shut down automatically? Win10 automatic shutdown setup tutorial
How can win7 32-bit system quickly set up double-sided printing?
Windows10 Management of WP Phones
The computer configuration that can smoothly play LOL is now much more than