Centos 7 minimal install RAID 1 questions.

General support questions
Post Reply
Nissir
Posts: 1
Joined: 2017/06/21 18:09:09

Centos 7 minimal install RAID 1 questions.

Post by Nissir » 2017/06/21 18:17:24

First time user for Centos 7. I have set up a server running a Centos 7 minimal install and set it up to use RAID 1 with the following guide:

http://danilodellaquila.com/en/blog/cen ... -with-raid

According to cat /proc/mdstat my raid 1 is up and running.

If I wanted to do a simple test of something like make and save a .txt document, how would I tell if it was mirrored to sdb from sda?

aks
Posts: 3073
Joined: 2014/09/20 11:22:14

Re: Centos 7 minimal install RAID 1 questions.

Post by aks » 2017/06/23 23:25:10

Simulate a failure on each disk in turn and check if the file is there.

hunter86_bg
Posts: 2019
Joined: 2015/02/17 15:14:33
Location: Bulgaria
Contact:

Re: Centos 7 minimal install RAID 1 questions.

Post by hunter86_bg » 2017/06/25 05:09:31

Some sidenotes :
When using software raid - you can use raid10 mode with far layout and 2 disks to increase the reading speed -ofcourse the storage will be 50% of a raid1, and the write speed will drop a little.


Regarding your question - the best way is to disconnect a drive (or just simulate it via server's bios) and then check.

Post Reply