CentOS 8. RAID configuration not working.

Issues related to hardware problems
Post Reply
pacoman
Posts: 3
Joined: 2020/02/26 00:11:18

CentOS 8. RAID configuration not working.

Post by pacoman » 2020/02/26 07:33:14

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
Last edited by pacoman on 2020/02/27 01:18:22, edited 2 times in total.

User avatar
TrevorH
Forum Moderator
Posts: 28084
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: CentOS 8. RAID configuration not working.

Post by TrevorH » 2020/02/26 13:11:58

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.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

pacoman
Posts: 3
Joined: 2020/02/26 00:11:18

Re: CentOS 8. RAID configuration not working.

Post by pacoman » 2020/02/27 01:04:53

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.

User avatar
TrevorH
Forum Moderator
Posts: 28084
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: CentOS 8. RAID configuration not working.

Post by TrevorH » 2020/02/27 01:22:47

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..
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

pacoman
Posts: 3
Joined: 2020/02/26 00:11:18

Re: CentOS 8. RAID configuration not working.

Post by pacoman » 2020/02/27 01:32:06

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?

User avatar
TrevorH
Forum Moderator
Posts: 28084
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: CentOS 8. RAID configuration not working.

Post by TrevorH » 2020/02/27 01:42:27

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.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply

Return to “CentOS 8 - Hardware Support”