• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

The Geek Diary

CONCEPTS | BASICS | HOWTO

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • Linux Services
    • VCS
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
    • Data Guard
  • DevOps
    • Docker
    • Shell Scripting
  • Interview Questions
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

How to install CentOS / RHEL 7 on RAID Partition

By admin

The post discusses the installation procedure of CentOS / RHEL 7 on RAID 1 partition. We will use 2 disks for the installation so as to get the RAID 1 configuration.

We will use Below settings for root, swap and /boot partitions :

  1. Device Type – RAID
  2. RAID level – RAID 1
  3. File system – XFS

Installation using RAID 1 Partition

1. Once you are done with all the primary settings like setting language etc, you would get to the screen where you can select the installation destination.

select installation destination RHEL : CentOS 7

2. Select the 2 disks present on the system – sda and sdb. Also select the button I will configure partitioning and then click button done.

select 2 disks for RAID installation RHEL 7

3. Click create them automatically.

create partitions automatically RHEL 7 RAID installation

4. Select Device Type to be RAID and write your personal label, such as md0.

select RAID 1 partitioning for root partition

5. Similarly, you can set the Device type and labels for swap and /boot partitions as shown below.

manual RAID 1 partitioning for swap RHEL 7

manual RAID 1 partitioning for :boot RHEL 7

If you want to add other partition, then click + on the left bottom, then enter size. Select Device Type to be RAID as well.

6. Then click Done to format the partition.

7. Then continue the installation process.

Verify the RAID configuration

You can verify the RAID configuration using the df command. As shown below the device used for root file system is md126.

df command output to verify RAID 1 RHEL 7

You can also use the command mdadm –query –detail /dev/md127 for more details.

mdadm query output for RAID 1 installation of RHEL 7

Filed Under: CentOS/RHEL 7, Linux

Some more articles you might also be interested in …

  1. How to persistently set nr_requests using UDEV rules
  2. CentOS / RHEL : How to change password hashing algorithm
  3. lvremove failing to remove volume after using ‘shred’ command
  4. How to Disable Ctrl+c or Ctrl+z Using the “trap” Command in Linux
  5. How to enable/disable SELinux Modes in RHEL/CentOS
  6. How to restrict ssh logins by user and client address on CentOS/RHEL
  7. ‘lxc_cgfs – Device or resource busy – failed to set memory.use_hierarchy to 1; continuing’ – error while starting LXC container
  8. How To Add/Remove Locale Archive in CentOS/RHEL 5,6
  9. Unable to Start RDMA Services on CentOS/RHEL 7
  10. How to Change the VNC Server Resolution in Linux

You May Also Like

Primary Sidebar

Recent Posts

  • How to set the default character set in MySQL and how to propagate it in a master-master replication scenario
  • “Connection reset by peer” – error while ssh into a CentOS/RHEL system with a specific user only
  • MySQL: how to figure out which session holds which table level or global read locks
  • Recommended Configuration of the MySQL Performance Schema
  • Archives
  • Contact Us
  • Copyright

© 2021 · The Geek Diary