How to configure the DELL PERC H200 RAID controller
This documentation explains how to configure the DELL PERC H200 RAID controller on a Scaleway Dedibox.
Before you start
To complete the actions presented below, you must have:
- A Dedibox account logged into the console
- A Dedibox dedicated server with a DELL PERC H200 RAID controller
Checking the RAID controller status
To check the status of the DELL PERC H200 RAID controller, run the following command:
sas2ircu LIST
Output:
LSI Corporation SAS2 IR Configuration Utility.
Version 5.00.00.00 (2010.02.09)
Copyright (c) 2009 LSI Corporation. All rights reserved.
Adapter Vendor Device SubSys SubSys
Index Type ID ID Pci Address Ven ID Dev ID
----- ------------ ------ ------ ----------------- ------ ------
0 SAS2008 1000h 72h 00h:01h:00h:00h 1028h 1f1dh
SAS2IRCU: Utility Completed Successfully.
Checking the RAID status
To check the status of the hardware RAID on your Dell PERC H200, run the following command:
sas2ircu-status
Output:
-- Controller informations --
-- ID | Model
c0 | SAS2008
-- Arrays informations --
-- ID | Type | Size | Status
c0u0 | RAID1 | 1907G | Okay (OKY)
-- Disks informations
-- ID | Model | Status
c0u0p0 | ST32000444SS (9WM3NAR0) | Optimal (OPT)
c0u0p1 | ST32000444SS (9WM3MZL2) | Optimal (OPT)
Optimizing RAID performance
For maximum performance, you can activate the cache of your SATA disks. After creating a virtual disk, the cache of SATA disks is disabled by default. Restore maximum performance by re-enabling the cache using rescue mode.
- Boot your server into rescue mode using a 64-bit Ubuntu operating system.
- Log into the server using the provided SSH credentials and run the following commands to re-enable the disk cache:
sudo su
echo 'deb http://linux.dell.com/repo/community/deb/latest /' | sudo tee -a /etc/apt/sources.list.d/linux.dell.com.sources.list
apt-get update && apt-get install -y --force-yes srvadmin-base
service dataeng start
/opt/dell/srvadmin/sbin/omconfig storage vdisk action=changepolicy controller=0 vdisk=0 diskcachepolicy=enabled
Advanced operations
Creating a RAID volume
To create a virtual drive in controller 0, including disks 0 and 1:
# to create a RAID0
sas2ircu 0 create raid0 max 1:0 1:1
# to create a RAID1
sas2ircu 0 create raid1 max 1:0 1:1
# to create a volume with a volume name (optional)
sas2ircu 0 create $raidtype max 1:0 1:1 my-RAID0
Creating a hot spare drive
To create a hot spare drive:
# example with drive 1:1
sas2ircu 0 HOTSPARE 1:1
Deleting configuration
To delete controller 0 configuration:
sas2ircu 0 delete
Enabling an inactive volume
To enable an inactive volume:
sas2ircu 0 ACTIVATE $the-volume-id
See Also
Still need help?Create a support ticket