Skip to content

Latest commit

 

History

History
27 lines (14 loc) · 585 Bytes

mdadm.md

File metadata and controls

27 lines (14 loc) · 585 Bytes

mdadm

RAID management utility.

  • Create array:

mdadm --create {{/path/to/raid_device_file}} --level {{raid_level}} --raid-devices {{number_of_disks}} {{/path/to/disk_device_file}}

  • Stop array:

mdadm -S {{/path/to/raid_device_file}}

  • Mark disk as failed:

mdadm {{/path/to/raid_device_file}} -f {{/path/to/disk_device_file}}

  • Remove disk:

mdadm {{/path/to/raid_device_file}} -r {{/path/to/disk_device_file}}

  • Add disk to array:

mdadm {{/path/to/raid_device_file}} -a {{/path/to/disk_device_file}}

  • Show RAID info:

mdadm -D {{/path/to/raid_device_file}}