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 revision
Previous revision
Next revisionBoth sides next revision
linux:centos:software-raid1-setup [2020/04/22 20:58] – [Replace a failed hard disk in raid setup] odeftalinux:centos:software-raid1-setup [2020/04/22 20:59] – [Replace a failed hard disk in the raid configuration] odefta
Line 111: Line 111:
  
 Suppose the /dev/sdb hard disk failed. \\ Suppose the /dev/sdb hard disk failed. \\
-To replace it with a good hdd, set it as failed and remove it from raid array:+To replace it with a good hdd, set it as failed and remove it from the array:
 <code> <code>
 mdadm /dev/md0 --fail /dev/sdb --remove /dev/sdb mdadm /dev/md0 --fail /dev/sdb --remove /dev/sdb
Line 118: Line 118:
 Add the new device to the array: Add the new device to the array:
 <code> <code>
-mdadm --add /dev/md0 /dev/sdb1+mdadm --add /dev/md0 /dev/sdb
 </code> </code>
  
  
  
linux/centos/software-raid1-setup.txt · Last modified: 2023/07/26 16:06 by odefta