bioctl(8)
- NetBSD Manual Pages
BIOCTL(8) NetBSD System Manager's Manual BIOCTL(8)
NAME
bioctl -- RAID management interface
SYNOPSIS
bioctl [-Dhiv] [-a alarm-function] [-b channel:target[.lun]]
[-c raidlevel] [-H channel:target[.lun]]
[-l special[,special[,...]]] [-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.
-c raidlevel
Create a softraid(4) device of level raidlevel. The device must
begin with ``softraid'' followed by a number.
-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.
-l special[,special[,...]]
Use special device list to create within the softraid(4) frame-
work. Requires -c.
-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).
EXAMPLES
The following command, executed from the command line, shows the status
of the logical drives on the RAID controller:
# bioctl -h mfi0
Volume Status Size Device
mfi0 0 Online 74G mfi0 RAID1
0 Online 75G 1:0.0 noencl <ATA WDC WD800JD-75MS1E04>
1 Online 75G 1:1.0 noencl <ATA WDC WD800JD-75MS1E04>
mfi0 1 Online 697G mfi0 RAID5
0 Online 233G 1:3.0 noencl <ATA WDC WD2500JS-75N2E04>
1 Online 233G 1:2.0 noencl <ATA WDC WD2500JS-75N2E04>
2 Online 233G 1:4.0 noencl <ATA WDC WD2500JS-75N2E04>
3 Online 233G 1:5.0 noencl <ATA WDC WD2500JS-75N2E04>
SEE ALSO
bio(4), mfi(4),
BUGS
the softraid stuff is not available at this time.
HISTORY
The bioctl command first appeared in OpenBSD 3.8.
AUTHORS
The bioctl interface was written by Marco Peereboom <marco@openbsd.org>.
NetBSD 4.0 Sep 9, 2007 NetBSD 4.0
Powered by man-cgi (2024-03-20).
Maintained for NetBSD
by Kimmo Suominen.
Based on man-cgi by Panagiotis Christias.