Site Tools


raid

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
raid [2022/01/30 09:44] – [Take a disk offline] paulsmithraid [2022/01/31 21:11] (current) – [Rebuild array with replaced disk] paulsmith
Line 40: Line 40:
  
  
-mdadm /dev/md0 --fail /dev/sdb1 --remove /dev/sdb1 --add /dev/sdf1 
  
  
Line 66: Line 65:
 <code> <code>
  
 +mdadm /dev/md0 --fail /dev/sdb1 --remove /dev/sdb1 --add /dev/sdf1
 +
 +
 +--- Add as hot spare, then replace/with, then remove failed
 +mdadm /dev/md0 --add /dev/sdb1
 +
 +mdadm /dev/md0 --detail
 +
 +mdadm /dev/md0 --replace /dev/sdf1 --with /dev/sdb1
 +mdadm /dev/md0 --remove /dev/sdf1
 +
 +mdadm --detail --scan > /etc/mdadm/mdadm.conf
 +update-initramfs
  
 </code> </code>
raid.1643499845.txt.gz · Last modified: by paulsmith · Currently locked by: 216.73.217.172