View, Create, Delete virtual RAID volumes with RACADM on an FC630 server (Dell 13G)
SSH to the iDRAC of the machine:
jonas@nyx:~$ ssh root@192.168.0.2
root@192.168.0.2’s password:
Enter RACADM:
/admin1-> racadm
Check for existing RAID volumes:
racadm»storage get vdisks
racadm storage get vdisks
Disk.Virtual.0:RAID.Integrated.1-1
Check ID:s of the physical disks and the controller:
racadm»storage get pdisks
racadm storage get pdisks
Disk.Bay.0:Enclosure.Internal.0-1:RAID.Integrated.1-1
Disk.Bay.1:Enclosure.Internal.0-1:RAID.Integrated.1-1
Disk.Bay.2:Enclosure.Internal.0-1:RAID.Integrated.1-1
Disk.Bay.3:Enclosure.Internal.0-1:RAID.Integrated.1-1
Disk.Bay.4:Enclosure.Internal.0-1:RAID.Integrated.1-1
Disk.Bay.5:Enclosure.Internal.0-1:RAID.Integrated.1-1
Disk.Bay.6:Enclosure.Internal.0-1:RAID.Integrated.1-1
Disk.Bay.7:Enclosure.Internal.0-1:RAID.Integrated.1-1
racadm»storage get controllers
racadm storage get controllers
RAID.Integrated.1-1
Create the RAID volume:
In this case RAID6 with read-ahead and write-back switched on
racadm»racadm storage createvd:RAID.Integrated.1-1 -rl r6 -wp wb -rp ra -name SSDVOL2 -pdkey:Disk.Bay.4:Enclosure.Internal.0-1:RAID.Integrated.1-1,Disk.Bay.5:Enclosure.Internal.0-1:RAID.Integrated.1-1,Disk.Bay.6:Enclosure.Internal.0-1:RAID.Integrated.1-1,Disk.Bay.7:Enclosure.Internal.0-1:RAID.Integrated.1-1
racadm storage createvd:RAID.Integrated.1-1 -rl r6 -wp wb -rp ra -name SSDVOL2 -pdkey:Disk.Bay.4:Enclosure.Internal.0-1:RAID.Integrated.1-1,Disk.Bay.5:Enclosure.Internal.0-1:RAID.Integrated.1-1,Disk.Bay.6:Enclosure.Internal.0-1:RAID.Integrated.1-1,Disk.Bay.7:Enclosure.Internal.0-1:RAID.Integrated.1-1
RAC1040 : Successfully accepted the storage configuration operation.
To apply the configuration operation, create a configuration job, and then restart the server.
To create the required commit and reboot jobs, run the jobqueue command.
For more information about the jobqueue command, enter the RACADM command “racadm help jobqueue”.
Schedule the job (Note: Also see altenative method below):
racadm»jobqueue create RAID.Integrated.1-1
racadm jobqueue create RAID.Integrated.1-1
RAC1024: Successfully scheduled a job.
Verify the job status using “racadm jobqueue view -i JID_xxxxx” command.
Commit JID = JID_222873363294
racadm»
Execute the job by powercycling the server:
racadm»serveraction powercycle
racadm serveraction powercycle
Server power operation successful
ALTERNATIVE: Schedule the job without reboot:
If the RAID controller supports realtime execution, the virtual disk can be created without the need to reboot. To do this, add “–realtime” after the job creation command as follows:
racadm»jobqueue create RAID.Integrated.1-1 –realtime
Verify RAID volume creation after job has completed:
racadm»storage get vdisks
racadm storage get vdisks
Disk.Virtual.0:RAID.Integrated.1-1
Disk.Virtual.1:RAID.Integrated.1-1