In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Do not know how to use linux's mdadm command to manage linux soft RAID? In fact, it is not difficult to solve this problem. Let the editor take you to learn how to solve it. I hope you will gain a lot after reading this article.
Mdadm command is the abbreviation of multiple devices admin, it is a standard software RAID management tool under linux, which can manage linux soft RAID, such as creating, adjusting and monitoring RAID.
The mdadm command, which can diagnose, monitor and collect detailed array information, is a separate integrated program rather than a collection of distributed programs, so it has a common syntax for different RAID management commands.
The mdadm command performs almost all functions without the need for a configuration file (and there is no default configuration file).
Syntax format: mdadm [parameters]
Common mode parameters:
Common parameters:
Reference example
Create a RAID0 using sda1 and sdb1, and the stripe size is 64KB:
[root@linuxcool] # mdadm-create / dev/md0-chunk=64-level=0-raid-devices=2 / dev/sda1 / dev/sdb1
Add hot spare sdc1 to md0:
[root@linuxcool ~] # mdadm / dev/md0-add / dev/sdc1
View the information and status of the super block in the component device sda1:
[root@linuxcool ~] # mdadm-examine / dev/sda1
Stop md0 from running:
[root@linuxcool] # mdadm-stop / dev/md0 Thank you for reading this article carefully. I hope the editor will share the use of linux's mdadm command to manage linux soft RAID content to help everyone. At the same time, I also hope you will support us, pay attention to the industry information channel, and find out if you encounter problems. Detailed solutions are waiting for you to learn!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.