Page 1 of 1

CentOS 8. RAID configuration not working.

Posted: 2020/02/26 07:33:14
by pacoman
I installed CentOS 8. I installed it over an old version of CentOS 7. I selected to delete the prior partitions and setup new partitions. I selected all four 2TB drives.

I noticed when I was attempting to set a VM in KVM that it was giving me errors saying not enough space. I looked at the available space and it said 23 GB of space was used but only 4 GB available.

I was wondering if I can adjust the sizes in the GUI or do I need to erase and reinstall CentOS 8? If I need to install, is there a procedure to properly install RAID so I have max space available for VMs?

I would like to use RAID10 configuration.


Hardware:

HP Proliant ML110 G7 with fake RAID controller card disabled.
32 GB RAM
(4) 2 TB drives

Image

Re: CentOS 8. RAID configuration not working.

Posted: 2020/02/26 13:11:58
by TrevorH
Post the output from:

fdisk -lu /dev/sd[a-z]
pvs
vgs
lvs
df -h
cat /proc/mdstat

All except the last 2 need to be run as root.

Re: CentOS 8. RAID configuration not working.

Posted: 2020/02/27 01:04:53
by pacoman
Trevor,

Here are the outputs as requested:

fdisk -lu /dev/sd[a-z]
pvs
vgs
lvs
df -h
cat /proc/mdstat

Image
https://imgur.com/LrMq1Jt

Image
https://imgur.com/4zs43nW

Image
https://imgur.com/AiE24nk

Image
https://imgur.com/AaMdiwg

Image
https://imgur.com/zqQd0We

Image
https://imgur.com/WccODQH

Image
https://imgur.com/yRzfnD6

Image
https://imgur.com/T6X3rDg

Image
https://imgur.com/WlLwMO8

All were ran as root. Please advice if you need additional info.

Tried posting the images via img but they are not displaying so added the link to the images.

Re: CentOS 8. RAID configuration not working.

Posted: 2020/02/27 01:22:47
by TrevorH
It's much easier to read if you just cut and paste text out of a window and wrap it in [code][/code] tags in the forum but I can see what the problem is. You took the installation defaults for allocating space and it's done what it always does and dedicated 50GB to your root filesystem and lumped everything else into /home so you have a 7.2TB /home. Since it's also apparent that it's set this up as RAID 0 (i.e no redundancy at all) I think you might want to scrap this and start over. If you lose any one drive as it is, all of your data is gone.

To do what you want you need to go into the customisation of the disk allocation and set it up how you want it. Start by telling it to use RAID 1 or whatever safe (i.e non-0) RAID level you want to use. Then tell it how you want the space divided. You can safely leave space unused and then do things with it manually after the install has completed too..

Re: CentOS 8. RAID configuration not working.

Posted: 2020/02/27 01:32:06
by pacoman
Thanks for your fast response. I will scrap and start over.

Is there a procedure to do this? I want to have RAID10 if possible. I thought I configured RAID but may have not worked.

Should I completely erase prior partitions to starting over again or will the setup do it for me again?

Re: CentOS 8. RAID configuration not working.

Posted: 2020/02/27 01:42:27
by TrevorH
There's an option to set up your customise partitioning and from there you can use an option like "reclaim space" to start over. Or you can blow it away before you start and save wrestling with the installer to make it do it.

If you aim to use RAID for /boot then you must use RAID 1 for that - it will not work with any other RAID option.