восстановление soft raid5

Запустить неполный массив
mdadm --assemble --force /dev/md0 /dev/sdb /dev/sdd

Пересоздать
mdadm --create --verbose /dev/md0 --assume-clean --level=raid5
--raid-devices=3 --spare-devices=0 /dev/sda /dev/sdb /dev/sdc

Ребилд диска
mdadm /dev/md0 --fail /dev/sda && mdadm /dev/md0 --remove /dev/sda && mdadm
/dev/md0 --add /dev/sda

Поменять uuid
mdadm --assemble /dev/md0 -u новый_uuid -U uuid /dev/sda /dev/sdb /dev/sdc

-E информация из суперблока
--zero-superblock зачистить суперблок

mdadm automatically create a degraded RAID5 array

When creating a RAID5 array, mdadm will automatically create a degraded array with an extra spare drive. This is because building the spare into a degraded array is in general faster than resyncing the parity on a non-degraded, but not clean, array. This feature can be overridden with the --force option.

User tags

sysfs iowait xfs X forwarding numa ubuntu rkhunter LVM security erase iostat bind cfq equalizer git opcontrol virtualbox firefox boot noop rtl8723be docker-compose tar perl xen xhost vrrp apache su dhcp cpu sublime apt conntrack tftp pvmove AMD RT profiling in-addr.arpa /etc/network/interfaces oprofile MODx tool alien ansible raid glxinfo groups cpu usage NFS dstat shellshock Adaptec asoundrc wordpress bash sysrq mdadm LSI java quagga proxy idmapd core dump rpm SpamAssassin arp SSD HTTPS build routing ssh lstat exim debian perlbrew htop tun drupal etch corosync usb qcow2 netfilter flash OpenSSL CPAN SuperMicro bscan glusterfs pam storage openvpn top hdparm sysresccd puppet bug language tiger CentOS bonding APU elliptics pulseaudio raid5 nginx chromium gtk alsa gdb PXE Areca initrd kernel slab youtube deb dns xargs chroot search StorMan mysql Swift lubuntu taskset dpkg fio virsh freedos vtysh ha ip soa encrypt DRBD debootstrap fail2ban shorewall rtsp iops HDFS mkfs tin lxc sysctl parallel ddos ulimit find video radeon mount centos 7 lts dovecot backtrace ipmitool iSCSI ipmi vlan gre vim bacula opreport 3Ware docker squeeze SYN zRam PTR sg qemu tzdata graylog2 leap second exim4 newgrp munin bridge iptables wget cache nvidia jackd vrrpd sftp rsync gpg mariadb regex Salt limit_conn OpenStack route fido7 grub virt-install swap arch cgroups arping hotplug keyboard ps backup php nfs4 performance .htaccess MegaRAID pacemaker lenny scsi cpanm ardour dhclient replication sysctl.conf source KVM cluster