Advice On CentOS 7, Software Raid 1, Lvm, 3 TB

Home » CentOS » Advice On CentOS 7, Software Raid 1, Lvm, 3 TB
CentOS 2 Comments

Sorry for breaking the threading, as I only get the daily digest. My comments (interspersed) begin with the **.

Message: 41
Date: Tue, 16 Sep 2014 18:38:02 -0400
From: SilverTip257
To: CentOS mailing list
Subject: Re: [CentOS] Advice on CentOS 7, software raid 1, lvm, 3 TB
disks Message-ID:

Content-Type: text/plain; charset=UTF-8

I’m not sure which wiki article you might have read. That URL might be worthwhile to share.

** The CentOS Wiki article I was referring to was the same one you provided in the first link of the group of references posted at the bottom of your note. I was a little put off by the article having fairly significant warnings in the first two paragraphs of the article, so I only skimmed through it.

Hopefully what I have typed up below helps you. I don’t know about soft-raid1 being an unsupported/risky approach … that said I’d pick hardware raid over software raid (considering I had spare hardware) so I don’t have to fuss with raid at the OS level. I have worked on a mix of software-raid and hardware-raid systems (and still do) … each has its own pros/cons. I’ve had success re-adding a new drive in degraded soft-raid1 arrays in a production environment … so I say go for it.

[ ]
Somebody else asked about C7 and soft-raid in the past week or week and a half. You can find that thread here:
http://lists.CentOS.org/pipermail/CentOS/2014-September/145656.html Though I don’t think much was accomplished in that thread.
[/]

** Yea, I saw that thread recently also, and was hoping for some good information from it, but the original post wasn’t specific enough to generate specific guidance. That is why I thought to try a post that was more specific to my objective.

My suggestion to you (as well as that last person) is to spin up a VM (or spare bare-metal hardware) and use mdadm commands to assemble, stop, hot-fail, hot-remove, and rebuild (add a new disk to replace a “failed one”) your soft-raid array.

** I am planning on having some time set aside to play/experiment with the new box while setting it up. So I am fortunate to not be in a situation where I have to get it into production now before figuring it all out.

As is the case with many things Linux, the manpage is your friend. Sometimes sysadmins and hobbyists decide to publish what they’ve done
(good or bad) which can be found with the search engine of your choice.

** I am a book worm so I don’t mind reading man pages. But as an ecologist, it is often good to understand the big picture before diving into the details. That way I understand which detail I need to look at, and what order all the details go together in. It looks like the ArchLinux links you gave me below will give me an understanding of that as I read them in detail.

In this case, even generic (non-RH or non-CentOS specific) command documentation is likely what you want. More than likely you’ll get the results you want by booting to a rescue CD (or switching to a shell on your install CD), setting up your soft-raid, then booting to your install CD, which will probe for your disk/soft-raid/lvm layout.

steps for graphical approach (C5, so dated) –
http://wiki.CentOS.org/HowTos/SoftwareRAIDonCentOS5
partitionable soft-raid –
http://wiki.CentOS.org/HowTos/Install_On_Partitionable_RAID1
TLDP create soft-raid – http://www.tldp.org/HOWTO/Software-RAID-HOWTO.html

** I’ve seen these first three, and will go back and look at the first one in more detail now as mentioned above.

Arch Linux create soft-raid –
https://wiki.archlinux.org/index.php/Software_RAID_and_LVM

** I had not found this one. My first impression scanning through it is that it looks to have a lot of the other subjects I am interested in (mbr vs. gpt, XFS filesystem, EUFI vs BIOS mode).

repairing – http://www.thomas-krenn.com/en/wiki/Mdadm_recovery_and_resync repairing – http://ethertubes.com/repair-md-mdadm-raid/
repairing –
http://blog.laimbock.com/2014/04/01/how-to-replace-a-failed-disk-with-linux-software-raid-mdadm/

** Yes, thanks for these also. I am planning on outlining and testing my disaster recovery process when I set this up so I don’t have to figure it out in a crisis when/if it happens.

** Thanks for your time. Jeff

2 thoughts on - Advice On CentOS 7, Software Raid 1, Lvm, 3 TB

LEAVE A COMMENT