BIOCTL(8)               OpenBSD System Manager's Manual              BIOCTL(8)

NAME
     bioctl - RAID management interface

SYNOPSIS
     bioctl [-Dhiv] [-a alarm-function] [-b channel:target[.lun]]
            [-H channel:target[.lun]] [-u channel:target[.lun]] device

DESCRIPTION
     RAID device drivers which support management functionality can register
     their services with the bio(4) driver.  bioctl then can be used to main-
     tain RAID volumes.

     The options are as follows:

     -a alarm-function
             Control the RAID card's alarm functionality, if supported.
             alarm-function may be one of:

             disable  Disable the alarm on the RAID controller.
             enable   Enable the alarm on the RAID controller.
             get      Retrieve the current alarm state (enabled or disabled).
             silence | quiet
                      Silence the alarm if it is currently beeping.

             The alarm-function may be specified as given above, or by the
             first letter only (e.g. -a e).

     -b channel:target[.lun]
             Instruct the device at channel:target[.lun] to start blinking, if
             there is ses(4) or safte(4) support in the enclosure.

     -D      Enable debug output.

     -H channel:target[.lun]
             If the device at channel:target[.lun] is currently marked
             ``Unused'', promote it to being a ``Hot Spare''.

     -h      Where necessary, produce "human-readable" output.  Use unit suf-
             fixes: Byte, Kilobyte, Megabyte, Gigabyte, Terabyte, Petabyte,
             Exabyte in order to reduce the number of digits to four or less.

     -i      Enumerate the selected RAID devices.

     -u channel:target[.lun]
             Instruct the device at channel:target[.lun] to cease blinking, if
             there is ses(4) or safte(4) support in the enclosure.

     -v      Be more verbose in output.

     device  Select a drive by name (e.g. sd0) or a RAID controller by name
             (e.g. ami0).  For operations which will be performed against
             ses(4) or safte(4) enclosures, it is also possible to directly
             specify the enclosure name (e.g. safte0).

SEE ALSO
     ami(4), arc(4), bio(4), ciss(4), mfi(4), safte(4), scsi(4), ses(4)

HISTORY
     The bioctl command first appeared in OpenBSD 3.8.

AUTHORS
     The bioctl interface was written by Marco Peereboom <marco@openbsd.org>.

OpenBSD 4.0                    December 27, 2004                             1
