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

Detailed explanation of LinuxRaid hard disk making and mounting

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

Today, the editor will bring you an article about LinuxRaid hard disk production and mounting. The editor thinks it's pretty good, so I'll share it for you as a reference. Let's follow the editor and have a look.

Overview:

"to put it simply, RAID is a method that combines multiple independent hard drives (physical hard drives) in different ways to form a hard disk group (logical hard disk), thus providing higher storage performance and higher storage performance than a single hard disk.

Test environment:

Virtual machine Red Hat or CentOS is fine.

Purpose of the test:

Realize the construction of raid disk to better serve the system.

The specific experimental steps are as follows: first, add the required hard disk to the virtual machine.

1. Raid0 (two hard drives are required) 1. Partition the hard disk and convert the format

2. Make sure the hard drive is changed. You can check it here.

3. Do the same steps for the second hard drive

4. After making two hard drives, raid0 them.

5. After completing the raid0, in order to use it normally, you need to format it and mount it to the system.

2. Make a mirror volume (three hard drives are required) 1. Recreate three hard drives according to the above steps and convert the format

2. Use the command to make a mirror volume.

3. Check the status of the hard disk after production

4. Format this disk and turn off one of the hard drives to simulate the failure

5. Check the hard disk status again

3. Raid5 (four hard drives) 1. Partition the hard disk and convert the format with the same raid0 steps, and then make raid5

2. Check the usage status of the hard disk after completion.

4. Raid1+0 (four hard drives) 1. The partition and conversion of the hard disk are the same as the raid0 steps, which are directly made here.

2. View the results

The above is the introduction of the method of making and mounting LinuxRaid hard disk, and you need to use it before you understand the details of its use. If you want to know more about it, welcome to follow the industry information channel!

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

Servers

Wechat

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

12
Report