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

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • 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 Identify NIS Authenticated Users
  2. pvmove Command Examples in Linux
  3. CentOS / RHEL 6 : Lock User Account After N Number of Incorrect Login Attempts
  4. RHEL 7 – RHCSA Notes – System documentation including man, info, and files in /usr/share/doc
  5. “Abort command issued nexus” error messages in /var/log/messages file
  6. sed: command not found
  7. cpufreq-set Command Examples in Linux
  8. pkill Command Examples in Linux
  9. lsusb: command not found
  10. How to create and mount filesystems in Linux

You May Also Like

Primary Sidebar

Recent Posts

  • fprintd-delete Command Examples in Linux
  • fprintd-delete: command not found
  • foreman: command not found
  • foreman Command Examples in Linux

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright