Answer the question
In order to leave comments, you need to log in
CentOS7 How to setup RAID?
Here are the commands I wrote, where is the error?
yum install mdadm
mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sdb /dev/sdc
lsblk
mdadm --detail /dev/md0
mdadm --verbose --detail --scan > etc/mdadm.conf
mkfs.ext4 /dev/md0
mount /dev/md0 /mnt/raid1
df -H /dev/md0
mkdir /mnt/mdadm-raid1
mount /dev/md0 /mnt/mdadm-raid1
cd /mnt/mdadm-raid1/lost+found/
cd /mnt/mdadm-raid1
ls
nano /etc/fstab
/dev/md0/mnt/raid0 ext4 defaults 1 2
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question