Chapter 3. Legacy CLI Syntax Reference
98
3ware 9000 Series Serial ATA Controller CLI Guide
Maint Commands
The
maint
command lets you perform maintenance operations on the
controller, its units, and drives. It is recommended that you use the
info
command first to verify the controller information before using the
maint
command to make any changes to it.
Sub-commands under this category allow you to create and modify objects
and their attributes such as creating and deleting logical units, rebuilding, etc.
These commands are read/write operations and should be used with care.
Use of the keyword “maint” is now optional. For example, “
maint rescan
c0
” is the same as “
rescan c0
”.
Syntax
[maint] (Note: maint keyword is now optional)
rescan [c<c> ...] [noscan] |NOTE: Does not import non-
JBOD on 7000/8000 models.
remove c<c> u<u> [noscan]
remove c<c> p<p>
deleteunit c<c> u<u> [noscan]
createunit c<c> r<RaidType> p<p:-p..> [k<stripe>] [nos-
can] [nocache] [g<3|4|5|6>] [autoverify] [ignoreECC] Raid-
Type = { raid0, raid1, raid5, raid10, raid50, single,
spare }
rebuild c<c> u<u> p<p:-p...> [ignoreECC]
rebuild c<c> u<u> pause (7000/8000 only)
rebuild c<c> u<u> resume (7000/8000 only)
flush c<c> [u<u>]
verify c<c> u<u> [stop]
mediascan c<c> start|stop (7000/8000 only)
commit c<c> (** Windows only **)
[maint] rescan [
cid
...] [noscan]
This command instructs the controller to rescan all ports, and reconstitute all
units. The controller updates its list of ports (attached disks), and visits every
Disk Configuration Block (DCB) in order to re-assemble its view and
awareness of logical units.
If no controller is specified, all controllers are rescanned. One or several
controllers can be specified.
By default, the OS is informed of changes resulting from rescan. You can alter
this behavior using the noscan option.