To check the health of an Adaptec RAID array on FreeBSD, you can use the arcconf
command-line utility, which is part of the Adaptec Storage Manager software package. This utility allows you to view the status of your RAID array, as well as perform various tasks such as rebuilding or resyncing a failed drive, creating or deleting arrays, and more.
To check the health of your Adaptec RAID array, follow these steps:
pkg
package manager:# pkg install adaptec-storage-manager
arcconf
command to check the status of your Adaptec RAID array. The syntax for this command is:arcconf GETCONFIG 1 LD
This will display the configuration and status of your Adaptec RAID array. The 1
indicates the controller number, and the LD
(logical drive) parameter tells arcconf
to display information about the logical drives on the controller.
State
field in the output. If it says Optimal
, your Adaptec RAID array is healthy. If it says Failed
, one or more drives in the array have failed and you will need to rebuild or replace the failed drives.Here is an example of the output you might see when running arcconf GETCONFIG 1 LD
:
Controller information Controller Status : Optimal Channel description : Adaptec RAID controller Serial Number : 123456 Firmware Version : 6.0.0-1006 Memory Size : 128MB Battery information : Not present Logical device information Logical device number 0 Logical device name : RAID1 RAID level : 1 Size : 931.5 GB State : Optimal Stripe-unit size : 64 KB Number of physical devices : 2 Number of dedicated hot spares : 0 Logical device number 1 Logical device name : RAID5 RAID level : 5 Size : 1.8 TB State : Optimal Stripe-unit size : 64 KB Number of physical devices : 4 Number of dedicated hot spares : 0
If you need more information or want to perform specific tasks on your Adaptec RAID array, you can use the arcconf
utility's many other options and parameters. You can find more information about arcconf
in the Adaptec Storage Manager documentation or by running arcconf help
on the command line.