2 .\" Copyright (c) 2000,2001,2002 Søren Schmidt <sos@FreeBSD.org>
3 .\" All rights reserved.
5 .\" Redistribution and use in source and binary forms, with or without
6 .\" modification, are permitted provided that the following conditions
8 .\" 1. Redistributions of source code must retain the above copyright
9 .\" notice, this list of conditions and the following disclaimer.
10 .\" 2. Redistributions in binary form must reproduce the above copyright
11 .\" notice, this list of conditions and the following disclaimer in the
12 .\" documentation and/or other materials provided with the distribution.
14 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33 .Nd ATA device driver control program
50 .Ar type [interleave] disk0 ... diskN
63 .Op Ar mastermode slavemode
77 is a control program that provides the user access and control to the
83 can cause severe system crashes and loss of data if used improperly, please
84 exercise caution when using this command!
88 argument is the number of the ATA channel on which to operate.
89 The following commands are supported:
90 .Bl -tag -width "rebuild"
94 devices on the channel are probed and attached as
99 devices on the channel are removed from the kernel,
100 and all outstanding transfers etc. are returned back to the system marked
105 Both devices on the channel are reset and
106 initialized to the parameters the ATA driver has stored internally.
107 Devices that has gone bad and no longer responds to the probe, or devices
108 that has physically been removed are removed from the kernel.
109 Likewise are devices that show up during a reset, probed and attached.
113 ATA RAID. The Type can be RAID0 (stripe), RAID1 (mirror), RAID0+1 or
114 SPAN (JBOD). In case the RAID has a RAID0 component the
116 must be specified in number of sectors. The RAID will be created
117 of the individual disks named
120 Allthough the ATA driver allows for creating an ATA RAID on disks on any
121 controller, there are restrictions. It is only possible to boot on
122 an array if its either located on a "real" ATA RAID controller like
123 the Promise or Highpoint controllers, or if the RAID declared is of
124 RAID1 or SPAN type, in case of a SPAN the partition to boot must
125 reside on the first disk in the SPAN.
127 Deletes a RAID array on a RAID capable ATA controller.
129 Rebuild a RAID1 array on a RAID capable ATA controller.
131 Get the status of an ATA RAID.
133 Without the two mode arguments the current transfer modes of both
135 If the mode arguments are given, the ATA driver
136 is asked to change the transfer modes to those given.
138 will reject modes that is not supported by the hardware.
143 case does not matter.
144 If one of the devices mode should not be changed, use a nonexisting mode
147 and the mode will remain unchanged.
149 Show info about the attached devices on the
151 the device name and manufacture/version strings are shown.
153 Show detailed info about the device on
155 where device is 0 for master and 1 for slave.
157 Show detailed info about the encolsure on
159 where device is 0 for master and 1 for slave.
160 Fan RPM speed, enclosure temperature, 5V and 12V levels are shown.
162 Show info about all attached devices on all active controllers.
169 utility first appeared in
175 utility was written by
177 .Aq sos@FreeBSD.org .
179 This manual page was written by
181 .Aq sos@FreeBSD.org .