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