To check the health of a 3ware RAID array on a Linux system, you can use the tw_cli
utility. tw_cli
is a command-line interface for managing 3ware RAID controllers and arrays.
Here's an example of how to use tw_cli
to display the status of all the arrays on the controller:
$ sudo tw_cli /c0 show
This will display the status of the arrays, including the array number, type, size, and other details.
You can also use tw_cli
to display the status of a specific array. For example, to display the status of array 0 on controller 0, you can use the following command:
$ sudo tw_cli /c0/u0 show
Note: You will need to have the necessary privileges to run the
sudo
command.
It's also a good idea to periodically check the health of your RAID arrays to ensure that they are functioning properly and to identify any potential issues.
Note: The specific options and syntax for the
tw_cli
command may vary depending on your Linux distribution and version. Consult thetw_cli
man page or documentation for your system for more information.