AMRCTL(8) BSD System Manager's Manual AMRCTL(8)NAME
amrctl -- Control utility for AMI MegaRaid controllers
SYNOPSIS
amrctl stat [-bgv] [-a attempts] [-f device] [-l volno] [-p driveno] [-s busno] [-s busno:driveno] [-t microseconds]
DESCRIPTION
The amrctl queries or controls AMI MegaRaid controllers supported by the amr(4) driver.
Only the stat subcommand is currently implemented, and reports status of the controller. The options for the stat subcommand are as follows:
-a attempts Number of retries for a command before giving up. Default 5.
-b Report battery status.
-f device Device to use. Default to /dev/amr0.
-g Report global paramters for the controller.
-l volno Report status of a logical drive.
-p driveno Report status of a physical drive.
-s busno Report status of all physical drives on the specified bus.
-s busno:driveno
Report status of the specified physical drive on the specified bus.
-t microseconds
Delay between retries for a command.
-v Increase verbosity level by one.
SEE ALSO amr(4)HISTORY
The amrctl command first appeared in NetBSD 4.0.
AUTHORS
The amrctl command was written by Pierre David <Pierre.David@crc.u-strasbg.fr> and
Jung-uk Kim <jkim@FreeBSD.org> for FreeBSD.
BSD July 22, 2006 BSD
Check Out this Related Man Page
MLXCONTROL(8) BSD System Manager's Manual MLXCONTROL(8)NAME
mlxcontrol -- Mylex DAC-family RAID management utility
SYNOPSIS
mlxcontrol <command> [args]
mlxcontrol status [-qv] [drive]
mlxcontrol rescan controller [controller ...]
mlxcontrol detach drive [drive ...]
mlxcontrol detach -a
mlxcontrol check drive
mlxcontrol config controller
mlxcontrol help command
DESCRIPTION
The mlxcontrol utility provides status monitoring and management functions for devices attached to the mlx(4) driver.
Controller names are of the form "mlxN" where N is the unit number of the controller. Drive names are of the form "mlxdN" where N is the
unit number of the drive. Do not specify the path to a device node.
status Print the status of controllers and system drives. If one or more drives are specified, only print information about these drives,
otherwise print information about all controllers and drives in the system. With the -v flag, display much more verbose informa-
tion. With the -q flag, do not print any output. This command returns 0 if all drives tested are online, 1 if one or more drives
are critical and 2 if one or more are offline.
rescan Rescan one or more controllers for non-attached system drives (e.g. drives that have been detached or created subsequent to driver
initialisation). If the -a flag is supplied, rescan all controllers in the system.
detach Detach one or more system drives. Drives must be unmounted and not opened by any other utility for this command to succeed. If the
-a flag is supplied, detach all system drives from the nominated controller.
check Initiate a consistency check and repair pass on a redundant system drive (e.g. RAID1 or RAID5). The controller will scan the system
drive and repair any inconsistencies. This command returns immediately; use the status command to monitor the progress of the
check.
rebuild Requires two arguments, controller and physdrive as specified in the output of the status command. All system drives using space on
the physical drive physdrive are rebuilt, reconstructing all data on the drive. Note that each controller can only perform one
rebuild at a time. This command returns immediately; use the status command to monitor the progress of the rebuild.
config Print the current configuration from the nominated controller. This command will be updated to allow addition/deletion of system
drives from a configuration in a future release.
help Print usage information for command.
AUTHORS
The mlxcontrol utility was written by Michael Smith <msmith@FreeBSD.org>.
BUGS
The config command does not yet support modifying system drive configuration.
Error log extraction is not yet supported.
BSD April 10, 2000 BSD