Stores the departmental postgres database and runs the controller for the Bacula backup software. Ubuntu LTS.
mdadm cribsheet (assumes disk was removed and replaced offline)
Duplicate the partition table with dd
Re-read the partition table with fdisk and save (so the system knows about the new table)
mdadm --add /dev/md0 /dev/sdX1
Rebuild can be speeded up with the sysctl:
# sysctl -w dev.raid.speed_limit_min=50000