How to create RAID-1 array with Hot Spare from three disks on Dell PowerEdge R7525 with PERC H745 controller

Written by - 0 comments

Published on - last updated on June 11th 2021 - Listed in Hardware


Creating a new RAID array on a hardware storage controller is usually not worth a new blog article. However this was the first time I needed to create a RAID array on a new Dell PowerEdge R7525 server with a PERC H745 RAID controller. Being used to the "terminal-style" or "ncurses-style" controller configurations, I was surprised that EVERYTHING is now click-based. Many users would probably prefer it this way - but I personally find it more confusing than the previous keyboard based PERC RAID configuration (it took me longer to find my way around). Maybe I'm old - or old-fashioned. ;-)

Anyway, this is a guide how to create a RAID-1 array with a hot spare from three physical drives on a Dell PowerEdge R7525 server with a PERC H745 RAID controller.

Press F2 to enter setup

Obviously to enter the PERC configuration, F2 key needs to be pressed during the server boot (POST).

Dell PowerEdge R7527 F2 Pressed to enter setup

A blue highlighted text should appear on top "Entering System Setup".

Once the System Setup has loaded, you will find yourself in the clickety-click main menu, where you click on Device Settings.

Dell PowerEdge R7527 System Setup Main Menu

Once in the Device Settings, obviously click on the RAID Controller Configuration Utility:

Create a virtual disk (Logical Drive)

This opens up the "Dashboard View". On a brand new system there is (most likely) no RAID array configured yet. The configuration utility therefore correctly sets a status of "Needs Attention". Further down in the properties we can see the 3 physical drives, yet no disk groups and no virtual disks (Logical Drive) have been created.

Dell PowerEdge R7527 PERC Configuration Utility Overview

Yet another click on Main Menu opens the configuration part.

Next click on Configuration Management, then on Create Virtual Disk.

Dell PowerEdge R7527 PERC Configuration Utility
Dell PowerEdge R7527 PERC Configuration Management

In the "Create Virtual Disk" window, select the wanted RAID level. In this case we want a RAID-1. Then click on Select Physical Disks. This will list all available physical drives. For a RAID-1 only two drives can be selected. I also definded the Media Type, Interface Type and Logical Sector Size according to the physical drives. Then click on Apply Changes. The configuration utility should return a "The operation has been performed successfully" which you can close by clicking on OK.

Back in the Create Virtual Disk window, don't forget the virtual disk parameters below the physical disks selection. This is where controller cache and read and write policies are defined. Here I chose to use a "Read Ahead" read policy and "Write Back" write policy and enabled the Disk Cache. Finally, click on Create Virtual Disk and in the next window confirm.


PERC Configuration Utility create virtual disk RAID-1
PERC Configuration Utility select physical disks
PERC Configuration Utility virtual disk parameters
PERC Configuration Utility confirm virtual disk creation

Create a global hot spare

To be honest, I expected to assign the hot spare role to a disk during the creation of the RAID array. However this is handled a bit differently in this PERC Configuration Utility. Back in the RAID Controller Configuration Utility main menu, click on Physical Disk Management:

Dell PowerEdge R7527 PERC Configuration Utility Main Menu

Click on the third physical disk - that's the disk which was not selected during the RAID-1 virtual disk creation. Then in the "Operation" row, select "Assign Global Hot Spare" as operation. Then click on Go.

Dell PowerEdge R7527 PERC Configuration Utility Physical Disk Management
Dell PowerEdge R7527 PERC Configuration Utility Selected Global Hot Spare

Finally, back in the Dashboard View, the status now shows "Optimal" and we can see that one Disk Group and one Virtual Disk were created.

Dell PowerEdge R7527 PERC Configuration Utility Dashboard View

The view in iDRAC

In the server's iDRAC 9 (Integrated Dell Remote Access Controller), the storage configuration can be verified. This shows 2 physical disks in "Online", one in "Ready" state:

Under the "Virtual Disks" tab, the previously created "VD0" is showing up:

The view in Ubuntu Linux

After the storage configuration was completed, Ubuntu 20.04 (Focal) LTS was installed. The partition manager detected the virtual disk as "DELL PERC H745 Frnt":

Inside the installed Operating System, the physical disks can be seen as megaraid disks. smartctl (from the smartmontools package) allows to detect them quickly:

root@per7525:~# smartctl --scan
/dev/sda -d scsi # /dev/sda, SCSI device
/dev/bus/0 -d megaraid,0 # /dev/bus/0 [megaraid_disk_00], SCSI device
/dev/bus/0 -d megaraid,1 # /dev/bus/0 [megaraid_disk_01], SCSI device
/dev/bus/0 -d megaraid,2 # /dev/bus/0 [megaraid_disk_02], SCSI device

And of course they can now be monitored using the check_smart monitoring plugin.

Update: There's now a video, too

If you prefer a video, then you're in luck. There's now a video of this tutorial on Youtube.



Add a comment

Show form to leave a comment

Comments (newest first)

No comments yet.

RSS feed

Blog Tags:

  AWS   Android   Ansible   Apache   Apple   Atlassian   BSD   Backup   Bash   Bluecoat   CMS   Chef   Cloud   Coding   Consul   Containers   CouchDB   DB   DNS   Database   Databases   Docker   ELK   Elasticsearch   Filebeat   FreeBSD   Galera   Git   GlusterFS   Grafana   Graphics   HAProxy   HTML   Hacks   Hardware   Icinga   Influx   Internet   Java   KVM   Kibana   Kodi   Kubernetes   LVM   LXC   Linux   Logstash   Mac   Macintosh   Mail   MariaDB   Minio   MongoDB   Monitoring   Multimedia   MySQL   NFS   Nagios   Network   Nginx   OSSEC   OTRS   Observability   Office   OpenSearch   PGSQL   PHP   Perl   Personal   PostgreSQL   Postgres   PowerDNS   Proxmox   Proxy   Python   Rancher   Rant   Redis   Roundcube   SSL   Samba   Seafile   Security   Shell   SmartOS   Solaris   Surveillance   Systemd   TLS   Tomcat   Ubuntu   Unix   VMWare   VMware   Varnish   Virtualization   Windows   Wireless   Wordpress   Wyse   ZFS   Zoneminder