User Tools

Site Tools


linux:centos:software-raid1-setup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
linux:centos:software-raid1-setup [2020/04/14 09:40] odeftalinux:centos:software-raid1-setup [2020/04/22 20:58] odefta
Line 108: Line 108:
  
 </code> </code>
 +==== Replace a failed hard disk in raid setup ====
 +
 +Suppose the /dev/sdb hard disk failed. \\
 +To replace it with a good hdd, set it as failed and remove it from raid array:
 +<code>
 +mdadm /dev/md0 --fail /dev/sdb --remove /dev/sdb
 +</code>
 +
 +Add the new device to the array:
 +<code>
 +mdadm --add /dev/md0 /dev/sdb1
 +</code>
 +
 +
  
linux/centos/software-raid1-setup.txt · Last modified: 2023/07/26 16:06 by odefta