three hard drives to achieve the array, it can realize RAID 0 acceleration function can also realize RAID 1 backup data function, when there are three hard disks in the array, it will be required to store the data according to the user-defined segmentation size into a file fragment stored in two hard drives, at this t
hard disks to form a logical hard disk with acceleration, automatic backup, data corruption recovery and other functions.To meet the needs of different working environments, RAID technology is divided into the following RAID 0-7 Count 8. Each array has its own advantages and disadvantages, such as a RAID
Graphic RAID 0, RAID 1, RAID 5, RAID 10
RAID (Redundant Array of Independent Disk Independent Redundant Disk Array) technology was proposed by the University of California at Berkeley in 1987, initially to combine small cheap disk
partprobe /dev/sda
Partition and format
mkfs.ext3 /dev/sda7 mkfs.ext3 /dev/sda8
Then you can create soft RAID 1.
mdadm -C /dev/md1 -a yes -l 1 -n 2 /dev/sda7 /dev/sda8
Then, format the entire file.Mkfs. ext3 note that the format must be consistentCreate a mount point
mkdir /mnt/raid1
Mount raid1
mount /dev/md1 /mnt/raid1
Now you can useYou can check the LS-L in
this time, the third and fourth disks are idle. When B data is written to the third Disk in a certain band, and B data is checked in the fourth disk, in this way, both data a and data B can be read and written at the same time.
VII. Raid 6
Raid 6 adds a verification area on the basis of RAID 5, each of which has two verification areas. They use an unused verifi
the backed up battery power to keep the cache, even if a power failure occurs. For large-scale use is very expensive investment.Important RAID Concepts
Checksum method to regenerate the lost content from the information saved by the checksum in the RAID rebuild. RAID 5,raid 6 is based on checksums.
Striped i
resources. They have NVRAM for the cached read and write. When the cache is used for RAID rebuilds, it uses the backed up battery power to keep the cache, even if a power failure occurs. For large-scale use is very expensive investment.Important RAID Concepts
Checksum method to regenerate the lost content from the information saved by the checksum in the RAID
RAID5 in Linux (striping and distributed parity)
Part 1: How to Set RAID6 in Linux (dual-distributed parity)
Part 1: Configuring RAID 10 or 1 + 0 (nesting) in Linux)
Part 1: add existing RAID arrays and delete damaged Disks
P
speed storage and RAID1 data recovery, that is, in the case above, RAID5 can use three hard drives simultaneously realize RAID0 speed doubling function also can realize RAID1 data backup function, And when a hard drive in the RAID5 is damaged, adding a new hard drive can also restore the data.RAID5 is one of the most complex controller designs in several RAID modes that we have described so far. RAID5 can
data, this data will record the backup data of other disks for rescue when the disk is damaged. Because of the same check code, the total capacity of the RAID5 is reduced by a chunk of the overall disk count.RAID5 only supports the damage of a piece of disk by default. Spare disk preparation capabilities.is one or more disks not included in the original disk array level, this disk is not used by the disk, when there is any disk damage to the disk arr
data, this data will record the backup data of other disks for rescue when the disk is damaged. Because of the same check code, the total capacity of the RAID5 is reduced by a chunk of the overall disk count.RAID5 only supports the damage of a piece of disk by default. Spare disk preparation capabilities.is one or more disks not included in the original disk array level, this disk is not used by the disk, when there is any disk damage to the disk arr
data can be written to two disks (each consumes 200G capacity), and then added to the data can only be written in the 500G of the disk. At this point, the effectiveness of the poor, because there is only one left to store data!What is RAID-1RAID-1 (mapping mode, mirror): Full backup. This mode also needs the same disk capacity, preferably the same disk! If the d
So how can we solve the bottleneck of hard disk access speed? Creating a raid array with multiple hard disks is a better solution. However, due to the lack of practical experience, many network administrators only have vague concepts about RAID technology, we will share with you the basic raid knowledge and the most common RA
RAID 0
RAID 0 is also called a zone set. It concatenates more than two disks to form a large-capacity disk. When data is stored, segments are distributed and stored in these disks. Because read/write operations can be performed concurrently, RAID 0 is the fastest speed at all levels. However, RAID 0 has neither redunda
the array mode. You can select different array modes such as, and 5, which correspond to RAID 0, RAID 1, raid 4, and RAID 5 respectively. -N2 indicates the number of active disks in the array, and the number of additional disks must be equal to the total number of disks in
In Linux, how does one set RAID 10 to ensure high-performance and fault-tolerant disk input/output? (1)
RAID 10, also known as RAID 1 + 0 or image strip) array combines the features of RAID 0 and
disk faults. We recommend that you run all the databases in ARCHIVELOG mode without considering the RAID architecture. Oracle also recommends regular Oracle backup.
Remember, the I/O subsystem consists of many components, including controllers, channels, and disk adapters, and the SCSI adapter-any crash of these components will cause irreparable disk errors to your database. Now let's take a look at the mo
Article Title: General thread-software RAID in the new Linux2.4 kernel, Part 1. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
By Daniel Robbins
Installation and introduction
The new Linux 2.4 kernel is available! You should immediately find an idle PC and install
:
# Raidctl-c c1t0d0 c1t1d0
After a RAID image is created, the slave drive (c1t1d0 in this example) disappears from the Solaris device tree.
4. check the RAID Image status:
Code:
# Raidctl
RAID Disk
Volume Status Disk Status
--------------------------------------------------------
C1t0d0 RESYNCING c1t0d0 OK
C1t1d0 OK
The preceding example indicates that the
, /dev/sdb1,/dev/sdc1,/dev/sdd1,/dev/sde1, and specify the partition type as "fd ", this will enable the Linux kernel to recognize them as RAID partitions and automatically detect and start each boot. Run the fdisk command to create a partition.
# fdisk /dev/sdb
After entering the fdisk command line, Run Command n to create a partition, command t to change the partition type, command w to save the partition table and exit, and command m
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.