A service of Daily Data, Inc.
Contact Form

User Tools

Site Tools


quickreference:mdadm

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
quickreference:mdadm [2020/10/13 19:56] rodolicoquickreference:mdadm [2026/04/13 20:50] (current) rodolico
Line 29: Line 29:
 ==== Create RAID ===== ==== Create RAID =====
 <code bash> <code bash>
-mdadm --create /dev/md2 --raid-devices=3 --spare-devices=0 --level=5 --run /dev/sd[cde]1+mdadm --create /dev/md2 --assume-clean --raid-devices=3 --spare-devices=0 --level=5 --run /dev/sd[cde]1
 </code> </code>
 +
 +Note: --assume-clean is for SSD's which are **known** to be clean (no bad blocks). It will not do a resync on the underlying system, 'assuming they are clean', which will reduce the wear on the block devices. However, it is not recommended by the authors of mdadm (see man page)
  
 Note: see Setting GRUB on a drive if you are setting up a bootable RAID-1 Note: see Setting GRUB on a drive if you are setting up a bootable RAID-1
quickreference/mdadm.txt · Last modified: by rodolico