• 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. What happens in the Background when you execute the “useradd” command under Linux
  2. How To Create a Partition Using “parted” Command
  3. mkfs Command Examples in Linux
  4. How to disable write access to USB devices using “hdparm” tool
  5. Basic vim commands (cheat sheet)
  6. How to test a PHP script
  7. How To Separate Each Of Syslog Client’s Messages Into Different File (CentOS/RHEL 6 and 7)
  8. The Squid Service in Failed State with Error: “Failed to make swap directory /var/spool/squid/00: (13) Permission denied”
  9. Inconsistent Device Names Across Reboot Cause Mount Failure Or Incorrect Mount in Linux
  10. Linux Command line Basics – Executing commands from the command line

You May Also Like

Primary Sidebar

Recent Posts

  • JavaFX ComboBox: Set a value to the combo box
  • Nginx load balancing
  • nginx 504 gateway time-out
  • Images preview with ngx_http_image_filter_module

© 2022 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright