Linux_RAID
【摘要】 目录
目录RAID Create RAIDCheck RAIDinfo and syncScheduleRemove disk member from RAIDAdd RAID deviceStopdelete RAIDRe-add the hot spare to RAID
RAID
Description: Lots of disk c...
目录
RAID
Description: Lots of disk combination become a more big virtual disk by RAID, and it will have more fast I/O speed.
Create RAID
mdadm -C /dev/md[0|10|5|1] -l 10 -n[Number] -x 2 /dev/sb{a..z} -l level
-n diskCount
-x hotSpare
- 1
- 2
- 3
- 4
Check RAIDinfo and syncSchedule
mdadm -D /dev/mdName
- 1
Remove disk member from RAID
mdadm /dev/mdName -f /dev/sdMemberName # Manual assign fault device
mdadm /dev/mdName -r /dev/sdMemerName # Remove the fault device
- 1
- 2
Add RAID device
mdadm /dev/mdName -a /dev/sdMemberName
- 1
Stop/delete RAID
mdadm -D -s > /etc/mdadm.conf #create new config file -s:--scan
mdadm -S /dev/mdName --> stop/delete RAID
mdadm -As /dev/mdName -->restart RAID
- 1
- 2
- 3
Re-add the hot spare to RAID
mdadm -G /dev/mdName -n 6 #RAID10 not support.
- 1
文章来源: is-cloud.blog.csdn.net,作者:范桂飓,版权归原作者所有,如需转载,请联系作者。
原文链接:is-cloud.blog.csdn.net/article/details/50001191
【版权声明】本文为华为云社区用户转载文章,如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱:
cloudbbs@huaweicloud.com
- 点赞
- 收藏
- 关注作者
评论(0)