Create a RAID5 array with striping and parity.
Section: RAID and Encryption
Create a RAID5 array
bash
bash
sudo mdadm --create /dev/md0 --level=5 --raid-devices=3 /dev/sdb1 /dev/sdc1 /dev/sdd1Explanation
Create a RAID5 array with striping and parity.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing RAID and Encryption
Show active MD arrays
Quick view of RAID sync, rebuild, and degraded state.
Examine RAID metadata on members
Inspect md superblock metadata directly on a member device.
Stop an array
Stop a software RAID device before disassembly or recovery work.
Assemble an existing array
Discover and assemble arrays based on metadata or config.