The raidctl utility creates, deletes, or displays RAID volumes of the LSI1030 HW Raid controller.
The raidctl utility requires privileges that are controlled by the underlying file-system permissions. Only privileged users can manipulate the RAID system configuration. If a non-privileged user attempts to create or delete a RAID volume, the command fails with EPERM.
Without options, raidctl displays the current RAID configuration on all exisiting controllers.
The following options are supported:
Create a mirror using disk1 and disk2. Replace the contents of disk2 with the contents of disk1. Specify disk1 and disk2 in canonical form, for example, c0t0d0.
When you create a a RAID volume, the RAID volume assumes the identity of the first target in the disk pair (disk1). The second target (disk2) disappears from the system. Therefore, the RAID volume appears as one disk.
To have a successful RAID creation, there must not already be a RAID configuration present on the specified controller. Additionally, the secondary disk must not be mounted, as it has all its data erased and replaced with the primary disk's data.
Delete the RAID volume specified as disk1.
Specify disk1 in canonical form, for example, c0t0d0.
Force an update. Do not prompt.
Update the firmware running on the specified controller (controller).
List the system's RAID configuration. If controller is specified, list RAID configurations for controller.
Displays logical RAID volume name.
Displays RAID status as either RESYNCING (disks are syncing), DEGRADED RAID is operating with reduced functionality), OK (operating optimally), or FAILED (non-functional).
Displays RAID disk name.
Displays disk status as either OK or FAILED.
The following command creates the RAID configuration:
# raidctl -c c0t0d0 c0t1d0 RAID Volume 'c0t0d0' created
The following command displays the RAID configuration:
# raidctl RAID RAID RAID Disk Volume Status Disk Status ---------------------------------------- c0t0d0 RESYNCING c0t0d0 OK c0t1d0 OK
The following command deletes the RAID configuration:
# raidctl -d c0t0d0 RAID Volume 'c0t0d0' deleted
The following command updates flash images on the controller:
# raidctl -F lsi1030.fw 0 Update flash image on controller 0? (y/N): y Flash updated successfully
The following exit values are returned:
Invalid command line input.
Request operation failed.
See attributes(5) for descriptions of the following attributes:
|ATTRIBUTE TYPE||ATTRIBUTE VALUE|