Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Disk management-raid1 volumes (mirror volumes)

2025-04-12 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

Summary: RAID 1 achieves data redundancy through disk data mirroring, producing data backed up by each other on pairs of independent disks. When the original data is busy, the data can be read directly from the mirrored copy, so RAID 1 can improve read performance. RAID 1 has the highest unit cost of the disk array, but provides high data security and availability. When a disk fails, the system can automatically switch to the mirrored disk to read and write without the need to reorganize the failed data.

How it works: RAID1 is a RAID disk array composed of two hard drives, whose capacity is only equal to the capacity of one hard disk, because the other is only used as a data "mirror". The RAID 1 disk array is clearly the most reliable array because it always maintains a complete backup of the data. Its performance is naturally not as good as that of the RAID 0 disk array, but it does read data faster than a single hard drive because the data is read from the faster of the two hard drives. The write speed of the RAID 1 disk array is usually slow because the data has to be written to two hard drives and compared. The RAID 1 disk array generally supports "hot swapping", which means that the removal or replacement of hard drives in the array can be carried out while the system is running without interruption. The RAID 1 disk array is very secure, but it is also a more expensive RAID disk array solution because two hard drives can only provide the capacity of one hard disk. RAID 1 disk arrays are mainly used in situations where data security is high and corrupted data is required to be recovered quickly.

Raid1 (mirror volume):

Disk capacity: half of the total capacity of all disks

Advantages: high reliability (data redundancy, banks, securities companies)

Disadvantages: halving capacity

Combination condition: more than two disks of the same size

The purpose of the experiment is to damage a disk to see the reliability of the raid1 volume and whether it can keep the data from being lost.

Experimental environment: Linux system and three disks

1: create three empty disks

2: create a raid1 volume and format it

3: Mount

4: simulate damage to a disk

5: view disk information

Conclusion: through the picture, we can find that the damaged sdb1 disk is replaced and the sdc1 spare disk is replaced, thus the reliability is greatly increased.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report