In this first installment of my "home server" Linux tutorials I explain how to setup a RAID5 array in Ubuntu Server 18.04
The full blog post can be found here: https://techmadeeasy.co.uk/ultimate-home-server-part-3-raid-arrays/
If you don't have time for that the commands used in this video are copied here for reference, in order:
lsblk -o NAME,SIZE,FSTYPE,TYPE,MOUNTPOINT
sudo mdadm --create --verbose /dev/md0 --level=5 --raid-devices=3 /dev/sdb /dev/sdc /dev/sdd
cat /proc/mdstat
sudo mkfs.ext4 -F /dev/md0
sudo mkdir -p /mnt/md0
sudo mount /dev/md0 /mnt/md0
df -h -x devtmpfs -x tmpfs
sudo mdadm --detail --scan | sudo tee -a /etc/mdadm/mdadm.conf
sudo update-initramfs -u
echo '/dev/md0 /mnt/md0 ext4 defaults,nofail,discard 0 0' | sudo tee -a /etc/fstab
Download
0 formats
No download links available.
Setup a RAID5 Array on Ubuntu Server 18.04 | NatokHD