Mdadm Installation On A Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora And Raspbian
Maintainer: Debian mdadm maintainers
Email: [email protected] .
Website: http://neil.brown.name/blog/mdadm
Section: admin
Install mdadm
-
Debian
apt-get install mdadmClick to copy -
Ubuntu
apt-get install mdadmClick to copy -
Alpine OS
apk add mdadmClick to copy -
Arch Linux
pacman -S mdadmClick to copy -
Kali Linux
apt-get install mdadmClick to copy -
CentOS
yum install mdadmClick to copy -
Fedora
dnf install mdadmClick to copy -
Raspbian
apt-get install mdadmClick to copy
RAID management utility.
How to use mdadm?
Below are few example commands for mdadm that you can use in the terminal.
Create array:mdadm --create /path/to/raid_device_file --level raid_level --raid-devices number_of_disks /path/to/disk_device_fileClick to copyStop array:mdadm -S /path/to/raid_device_fileClick to copyMark disk as failed:mdadm /path/to/raid_device_file -f /path/to/disk_device_fileClick to copyRemove disk:mdadm /path/to/raid_device_file -r /path/to/disk_device_fileClick to copyAdd disk to array:mdadm /path/to/raid_device_file -a /path/to/disk_device_fileClick to copyShow RAID info:mdadm -D /path/to/raid_device_fileClick to copy
Install the latest version of mdadm in Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora and Raspbian from terminal. To install the mdadm just copy the above command for your OS and run into terminal. After you run the command it will grab the latest version of mdadm from the respository and install it in your computer/server.




