13c6bf4efSScott Long.\" Copyright (c) 2008, 2009 Yahoo!, Inc. 23c6bf4efSScott Long.\" All rights reserved. 33c6bf4efSScott Long.\" 43c6bf4efSScott Long.\" Redistribution and use in source and binary forms, with or without 53c6bf4efSScott Long.\" modification, are permitted provided that the following conditions 63c6bf4efSScott Long.\" are met: 73c6bf4efSScott Long.\" 1. Redistributions of source code must retain the above copyright 83c6bf4efSScott Long.\" notice, this list of conditions and the following disclaimer. 93c6bf4efSScott Long.\" 2. Redistributions in binary form must reproduce the above copyright 103c6bf4efSScott Long.\" notice, this list of conditions and the following disclaimer in the 113c6bf4efSScott Long.\" documentation and/or other materials provided with the distribution. 123c6bf4efSScott Long.\" 3. The names of the authors may not be used to endorse or promote 133c6bf4efSScott Long.\" products derived from this software without specific prior written 143c6bf4efSScott Long.\" permission. 153c6bf4efSScott Long.\" 163c6bf4efSScott Long.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 173c6bf4efSScott Long.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 183c6bf4efSScott Long.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 193c6bf4efSScott Long.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 203c6bf4efSScott Long.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 213c6bf4efSScott Long.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 223c6bf4efSScott Long.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 233c6bf4efSScott Long.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 243c6bf4efSScott Long.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 253c6bf4efSScott Long.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 263c6bf4efSScott Long.\" SUCH DAMAGE. 273c6bf4efSScott Long.\" 282e5df98aSJohn Baldwin.Dd September 2, 2011 29b1f3db02SScott Long.Dt MFIUTIL 8 303c6bf4efSScott Long.Os 313c6bf4efSScott Long.Sh NAME 327e0f8b79SDoug Ambrisko.Nm mfiutil , 337e0f8b79SDoug Ambrisko.Nm mrsasutil 343c6bf4efSScott Long.Nd Utility for managing LSI MegaRAID SAS controllers 353c6bf4efSScott Long.Sh SYNOPSIS 363c6bf4efSScott Long.Nm 373c6bf4efSScott Long.Cm version 383c6bf4efSScott Long.Nm 397e0f8b79SDoug Ambrisko.Op Fl D Ar device 407e0f8b79SDoug Ambrisko.Op Fl t Ar type 413c6bf4efSScott Long.Op Fl u Ar unit 423c6bf4efSScott Long.Cm show adapter 433c6bf4efSScott Long.Nm 447e0f8b79SDoug Ambrisko.Op Fl D Ar device 457e0f8b79SDoug Ambrisko.Op Fl t Ar type 463c6bf4efSScott Long.Op Fl u Ar unit 473c6bf4efSScott Long.Cm show battery 483c6bf4efSScott Long.Nm 497bbae305SBjoern A. Zeeb.Op Fl d 507bbae305SBjoern A. Zeeb.Op Fl e 517e0f8b79SDoug Ambrisko.Op Fl D Ar device 527e0f8b79SDoug Ambrisko.Op Fl t Ar type 533c6bf4efSScott Long.Op Fl u Ar unit 543c6bf4efSScott Long.Cm show config 553c6bf4efSScott Long.Nm 567e0f8b79SDoug Ambrisko.Op Fl D Ar device 577e0f8b79SDoug Ambrisko.Op Fl t Ar type 583c6bf4efSScott Long.Op Fl u Ar unit 593c6bf4efSScott Long.Cm show drives 603c6bf4efSScott Long.Nm 617e0f8b79SDoug Ambrisko.Op Fl D Ar device 627e0f8b79SDoug Ambrisko.Op Fl t Ar type 633c6bf4efSScott Long.Op Fl u Ar unit 643c6bf4efSScott Long.Cm show events 653c6bf4efSScott Long.Op Fl c Ar class 663c6bf4efSScott Long.Op Fl l Ar locale 673c6bf4efSScott Long.Op Fl n Ar count 683c6bf4efSScott Long.Op Fl v 693c6bf4efSScott Long.Op Ar start Op Ar stop 703c6bf4efSScott Long.Nm 717e0f8b79SDoug Ambrisko.Op Fl D Ar device 727e0f8b79SDoug Ambrisko.Op Fl t Ar type 733c6bf4efSScott Long.Op Fl u Ar unit 743c6bf4efSScott Long.Cm show firmware 753c6bf4efSScott Long.Nm 767e0f8b79SDoug Ambrisko.Op Fl D Ar device 777e0f8b79SDoug Ambrisko.Op Fl t Ar type 783c6bf4efSScott Long.Op Fl u Ar unit 7906f1884fSSean Bruno.Cm show foreign Op Ar volume 8006f1884fSSean Bruno.Nm 817e0f8b79SDoug Ambrisko.Op Fl D Ar device 827e0f8b79SDoug Ambrisko.Op Fl t Ar type 8306f1884fSSean Bruno.Op Fl u Ar unit 843c6bf4efSScott Long.Cm show logstate 853c6bf4efSScott Long.Nm 867bbae305SBjoern A. Zeeb.Op Fl d 877bbae305SBjoern A. Zeeb.Op Fl e 887e0f8b79SDoug Ambrisko.Op Fl D Ar device 897e0f8b79SDoug Ambrisko.Op Fl t Ar type 903c6bf4efSScott Long.Op Fl u Ar unit 913c6bf4efSScott Long.Cm show patrol 923c6bf4efSScott Long.Nm 937bbae305SBjoern A. Zeeb.Op Fl d 947bbae305SBjoern A. Zeeb.Op Fl e 957e0f8b79SDoug Ambrisko.Op Fl D Ar device 967e0f8b79SDoug Ambrisko.Op Fl t Ar type 973c6bf4efSScott Long.Op Fl u Ar unit 9898be0dfeSJohn Baldwin.Cm show progress 9998be0dfeSJohn Baldwin.Nm 1007e0f8b79SDoug Ambrisko.Op Fl D Ar device 1017e0f8b79SDoug Ambrisko.Op Fl t Ar type 10298be0dfeSJohn Baldwin.Op Fl u Ar unit 1033c6bf4efSScott Long.Cm show volumes 1043c6bf4efSScott Long.Nm 1057e0f8b79SDoug Ambrisko.Op Fl D Ar device 1067e0f8b79SDoug Ambrisko.Op Fl t Ar type 1073c6bf4efSScott Long.Op Fl u Ar unit 1083c6bf4efSScott Long.Cm fail Ar drive 1093c6bf4efSScott Long.Nm 1107e0f8b79SDoug Ambrisko.Op Fl D Ar device 1117e0f8b79SDoug Ambrisko.Op Fl t Ar type 1123c6bf4efSScott Long.Op Fl u Ar unit 1133c6bf4efSScott Long.Cm good Ar drive 1143c6bf4efSScott Long.Nm 1157e0f8b79SDoug Ambrisko.Op Fl D Ar device 1167e0f8b79SDoug Ambrisko.Op Fl t Ar type 1173c6bf4efSScott Long.Op Fl u Ar unit 1183c6bf4efSScott Long.Cm rebuild Ar drive 1193c6bf4efSScott Long.Nm 1207e0f8b79SDoug Ambrisko.Op Fl D Ar device 1217e0f8b79SDoug Ambrisko.Op Fl t Ar type 1223c6bf4efSScott Long.Op Fl u Ar unit 1237c2ad1eeSSean Bruno.Cm syspd Ar drive 1247c2ad1eeSSean Bruno.Nm 1257e0f8b79SDoug Ambrisko.Op Fl D Ar device 1267e0f8b79SDoug Ambrisko.Op Fl t Ar type 1277c2ad1eeSSean Bruno.Op Fl u Ar unit 1283c6bf4efSScott Long.Cm drive progress Ar drive 1293c6bf4efSScott Long.Nm 1307e0f8b79SDoug Ambrisko.Op Fl D Ar device 1317e0f8b79SDoug Ambrisko.Op Fl t Ar type 1323c6bf4efSScott Long.Op Fl u Ar unit 1333c6bf4efSScott Long.Cm drive clear Ar drive Brq "start | stop" 1343c6bf4efSScott Long.Nm 1357e0f8b79SDoug Ambrisko.Op Fl D Ar device 1367e0f8b79SDoug Ambrisko.Op Fl t Ar type 1373c6bf4efSScott Long.Op Fl u Ar unit 1383c6bf4efSScott Long.Cm start rebuild Ar drive 1393c6bf4efSScott Long.Nm 1407e0f8b79SDoug Ambrisko.Op Fl D Ar device 1417e0f8b79SDoug Ambrisko.Op Fl t Ar type 1423c6bf4efSScott Long.Op Fl u Ar unit 1433c6bf4efSScott Long.Cm abort rebuild Ar drive 1443c6bf4efSScott Long.Nm 1457e0f8b79SDoug Ambrisko.Op Fl D Ar device 1467e0f8b79SDoug Ambrisko.Op Fl t Ar type 1473c6bf4efSScott Long.Op Fl u Ar unit 1483c6bf4efSScott Long.Cm locate Ar drive Brq "on | off" 1493c6bf4efSScott Long.Nm 1507e0f8b79SDoug Ambrisko.Op Fl D Ar device 1517e0f8b79SDoug Ambrisko.Op Fl t Ar type 1523c6bf4efSScott Long.Op Fl u Ar unit 1532e5df98aSJohn Baldwin.Cm cache Ar volume Op Ar setting Oo Ar value Oc Op ... 1543c6bf4efSScott Long.Nm 1557e0f8b79SDoug Ambrisko.Op Fl D Ar device 1567e0f8b79SDoug Ambrisko.Op Fl t Ar type 1573c6bf4efSScott Long.Op Fl u Ar unit 1583c6bf4efSScott Long.Cm name Ar volume Ar name 1593c6bf4efSScott Long.Nm 1607e0f8b79SDoug Ambrisko.Op Fl D Ar device 1617e0f8b79SDoug Ambrisko.Op Fl t Ar type 1623c6bf4efSScott Long.Op Fl u Ar unit 1633c6bf4efSScott Long.Cm volume progress Ar volume 1643c6bf4efSScott Long.Nm 1657e0f8b79SDoug Ambrisko.Op Fl D Ar device 1667e0f8b79SDoug Ambrisko.Op Fl t Ar type 1673c6bf4efSScott Long.Op Fl u Ar unit 1683c6bf4efSScott Long.Cm clear 1693c6bf4efSScott Long.Nm 1707e0f8b79SDoug Ambrisko.Op Fl D Ar device 1717e0f8b79SDoug Ambrisko.Op Fl t Ar type 1723c6bf4efSScott Long.Op Fl u Ar unit 1733c6bf4efSScott Long.Cm create Ar type 1743c6bf4efSScott Long.Op Fl v 1753c6bf4efSScott Long.Op Fl s Ar stripe_size 1763c6bf4efSScott Long.Ar drive Ns Op \&, Ns Ar drive Ns Op ",..." 1773c6bf4efSScott Long.Op Ar drive Ns Op \&, Ns Ar drive Ns Op ",..." 1783c6bf4efSScott Long.Nm 1797e0f8b79SDoug Ambrisko.Op Fl D Ar device 1807e0f8b79SDoug Ambrisko.Op Fl t Ar type 1813c6bf4efSScott Long.Op Fl u Ar unit 1823c6bf4efSScott Long.Cm delete Ar volume 1833c6bf4efSScott Long.Nm 1847e0f8b79SDoug Ambrisko.Op Fl D Ar device 1857e0f8b79SDoug Ambrisko.Op Fl t Ar type 1863c6bf4efSScott Long.Op Fl u Ar unit 1873c6bf4efSScott Long.Cm add Ar drive Op Ar volume 1883c6bf4efSScott Long.Nm 1897e0f8b79SDoug Ambrisko.Op Fl D Ar device 1907e0f8b79SDoug Ambrisko.Op Fl t Ar type 1913c6bf4efSScott Long.Op Fl u Ar unit 1923c6bf4efSScott Long.Cm remove Ar drive 1933c6bf4efSScott Long.Nm 1947e0f8b79SDoug Ambrisko.Op Fl D Ar device 1957e0f8b79SDoug Ambrisko.Op Fl t Ar type 1963c6bf4efSScott Long.Op Fl u Ar unit 1973c6bf4efSScott Long.Cm start patrol 1983c6bf4efSScott Long.Nm 1997e0f8b79SDoug Ambrisko.Op Fl D Ar device 2007e0f8b79SDoug Ambrisko.Op Fl t Ar type 2013c6bf4efSScott Long.Op Fl u Ar unit 2023c6bf4efSScott Long.Cm stop patrol 2033c6bf4efSScott Long.Nm 2047e0f8b79SDoug Ambrisko.Op Fl D Ar device 2057e0f8b79SDoug Ambrisko.Op Fl t Ar type 2063c6bf4efSScott Long.Op Fl u Ar unit 2073c6bf4efSScott Long.Cm patrol Ar command Op Ar interval Op Ar start 2083c6bf4efSScott Long.Nm 2097e0f8b79SDoug Ambrisko.Op Fl D Ar device 2107e0f8b79SDoug Ambrisko.Op Fl t Ar type 2113c6bf4efSScott Long.Op Fl u Ar unit 21206f1884fSSean Bruno.Cm foreign scan 21306f1884fSSean Bruno.Nm 2147e0f8b79SDoug Ambrisko.Op Fl D Ar device 2157e0f8b79SDoug Ambrisko.Op Fl t Ar type 21606f1884fSSean Bruno.Op Fl u Ar unit 21706f1884fSSean Bruno.Cm foreign clear Op Ar config 21806f1884fSSean Bruno.Nm 2197e0f8b79SDoug Ambrisko.Op Fl D Ar device 2207e0f8b79SDoug Ambrisko.Op Fl t Ar type 22106f1884fSSean Bruno.Op Fl u Ar unit 22206f1884fSSean Bruno.Cm foreign diag Op Ar config 22306f1884fSSean Bruno.Nm 2247e0f8b79SDoug Ambrisko.Op Fl D Ar device 2257e0f8b79SDoug Ambrisko.Op Fl t Ar type 22606f1884fSSean Bruno.Op Fl u Ar unit 22706f1884fSSean Bruno.Cm foreign preview Op Ar config 22806f1884fSSean Bruno.Nm 2297e0f8b79SDoug Ambrisko.Op Fl D Ar device 2307e0f8b79SDoug Ambrisko.Op Fl t Ar type 23106f1884fSSean Bruno.Op Fl u Ar unit 23206f1884fSSean Bruno.Cm foreign import Op Ar config 23306f1884fSSean Bruno.Nm 2347e0f8b79SDoug Ambrisko.Op Fl D Ar device 2357e0f8b79SDoug Ambrisko.Op Fl t Ar type 23606f1884fSSean Bruno.Op Fl u Ar unit 2373c6bf4efSScott Long.Cm flash Ar file 238dee3e845SMark Johnston.Nm 2397e0f8b79SDoug Ambrisko.Op Fl D Ar device 2407e0f8b79SDoug Ambrisko.Op Fl t Ar type 241dee3e845SMark Johnston.Op Fl u Ar unit 242dee3e845SMark Johnston.Cm start learn 243dee3e845SMark Johnston.Nm 2447e0f8b79SDoug Ambrisko.Op Fl D Ar device 2457e0f8b79SDoug Ambrisko.Op Fl t Ar type 246dee3e845SMark Johnston.Op Fl u Ar unit 247dee3e845SMark Johnston.Cm bbu Ar setting Ar value 248ee7a2acaSSean Bruno.Nm 2497e0f8b79SDoug Ambrisko.Op Fl D Ar device 2507e0f8b79SDoug Ambrisko.Op Fl t Ar type 251ee7a2acaSSean Bruno.Op Fl u Ar unit 252ee7a2acaSSean Bruno.Cm ctrlprop Ar rebuild Op Ar rate 253ee7a2acaSSean Bruno.Nm 2547e0f8b79SDoug Ambrisko.Op Fl D Ar device 2557e0f8b79SDoug Ambrisko.Op Fl t Ar type 256ee7a2acaSSean Bruno.Op Fl u Ar unit 257ee7a2acaSSean Bruno.Cm ctrlprop Ar alarm Op Ar 0/1 2583c6bf4efSScott Long.Sh DESCRIPTION 2593c6bf4efSScott LongThe 2603c6bf4efSScott Long.Nm 2613c6bf4efSScott Longutility can be used to display or modify various parameters on LSI 2623c6bf4efSScott LongMegaRAID SAS RAID controllers. 2633c6bf4efSScott LongEach invocation of 2643c6bf4efSScott Long.Nm 2653c6bf4efSScott Longconsists of zero or more global options followed by a command. 2663c6bf4efSScott LongCommands may support additional optional or required arguments after the 2673c6bf4efSScott Longcommand. 2683c6bf4efSScott Long.Pp 2697e0f8b79SDoug AmbriskoCurrently three global options are supported: 2703c6bf4efSScott Long.Bl -tag -width indent 2717e0f8b79SDoug Ambrisko.It Fl D Ar device 2727e0f8b79SDoug Ambrisko.Ar device 2737e0f8b79SDoug Ambriskospecifies the device node of the controller to use. 274*2878d99dSGraham Percival.Pa /dev/ 275*2878d99dSGraham Percivalwill be added to the device node if needed. 2767e0f8b79SDoug AmbriskoIf no device node is specified, 2777e0f8b79SDoug Ambriskothen device will be made of the type and device. 2787e0f8b79SDoug Ambrisko.It Fl t Ar type 2797e0f8b79SDoug Ambrisko.Ar type 2807e0f8b79SDoug Ambriskospecifies the type of the controller to work with either 2817e0f8b79SDoug Ambrisko.Xr mfi 4 2827e0f8b79SDoug Ambriskoor 2837e0f8b79SDoug Ambrisko.Xr mrsas 4 . 2847e0f8b79SDoug AmbriskoIf no type is specified, 2857e0f8b79SDoug Ambriskothen the name of the invoked tool used to derive the type. 2863c6bf4efSScott Long.It Fl u Ar unit 2873c6bf4efSScott Long.Ar unit 2883c6bf4efSScott Longspecifies the unit of the controller to work with. 2893c6bf4efSScott LongIf no unit is specified, 2903c6bf4efSScott Longthen unit 0 is used. 2913c6bf4efSScott Long.El 2923c6bf4efSScott Long.Pp 2937bbae305SBjoern A. ZeebVarious commands accept either or both of the two options: 2947bbae305SBjoern A. Zeeb.Bl -tag -width indent 2957bbae305SBjoern A. Zeeb.It Fl d 2967bbae305SBjoern A. ZeebPrint numeric device IDs as drive identifier. 2977bbae305SBjoern A. ZeebThis is the default. 2987bbae305SBjoern A. ZeebUseful in combination with 2997bbae305SBjoern A. Zeeb.Fl e 3007bbae305SBjoern A. Zeebto print both, numeric device IDs and enclosure:slot information. 3017bbae305SBjoern A. Zeeb.It Fl e 3027bbae305SBjoern A. ZeebPrint drive identifiers in enclosure:slot form. 3037bbae305SBjoern A. ZeebSee next paragraph on format details in context of input rather than 3047bbae305SBjoern A. Zeeboutput. 3057bbae305SBjoern A. Zeeb.El 3063c6bf4efSScott Long.Pp 3073c6bf4efSScott LongDrives may be specified in two forms. 3083c6bf4efSScott LongFirst, 3093c6bf4efSScott Longa drive may be identified by its device ID. 3103c6bf4efSScott LongThe device ID for configured drives can be found in 3113c6bf4efSScott Long.Cm show config . 3123c6bf4efSScott LongSecond, 3133c6bf4efSScott Longa drive may be identified by its location as 3143c6bf4efSScott Long.Sm off 3153c6bf4efSScott Long.Op E Ar xx Ns \&: 3163c6bf4efSScott Long.Li S Ns Ar yy 3173c6bf4efSScott Long.Sm on 3183c6bf4efSScott Longwhere 3193c6bf4efSScott Long.Ar xx 3203c6bf4efSScott Longis the enclosure 3213c6bf4efSScott Longand 3223c6bf4efSScott Long.Ar yy 3233c6bf4efSScott Longis the slot for each drive as displayed in 3243c6bf4efSScott Long.Cm show drives . 3253c6bf4efSScott Long.Pp 3267bbae305SBjoern A. ZeebVolumes may be specified in two forms. 3277bbae305SBjoern A. ZeebFirst, 3287bbae305SBjoern A. Zeeba volume may be identified by its target ID. 3297bbae305SBjoern A. ZeebSecond, 3307bbae305SBjoern A. Zeebon the volume may be specified by the corresponding 3317bbae305SBjoern A. Zeeb.Em mfidX 3327bbae305SBjoern A. Zeebdevice, 3337bbae305SBjoern A. Zeebsuch as 3347bbae305SBjoern A. Zeeb.Em mfid0 . 3357bbae305SBjoern A. Zeeb.Pp 3363c6bf4efSScott LongThe 3373c6bf4efSScott Long.Nm 3383c6bf4efSScott Longutility supports several different groups of commands. 3393c6bf4efSScott LongThe first group of commands provide information about the controller, 3403c6bf4efSScott Longthe volumes it manages, and the drives it controls. 3413c6bf4efSScott LongThe second group of commands are used to manage the physical drives 3423c6bf4efSScott Longattached to the controller. 3433c6bf4efSScott LongThe third group of commands are used to manage the logical volumes 3443c6bf4efSScott Longmanaged by the controller. 3453c6bf4efSScott LongThe fourth group of commands are used to manage the drive configuration for 3463c6bf4efSScott Longthe controller. 3473c6bf4efSScott LongThe fifth group of commands are used to manage controller-wide operations. 3483c6bf4efSScott Long.Pp 3493c6bf4efSScott LongThe informational commands include: 3503c6bf4efSScott Long.Bl -tag -width indent 3513c6bf4efSScott Long.It Cm version 3523c6bf4efSScott LongDisplays the version of 3533c6bf4efSScott Long.Nm . 3543c6bf4efSScott Long.It Cm show adapter 3553c6bf4efSScott LongDisplays information about the RAID controller such as the model number. 3563c6bf4efSScott Long.It Cm show battery 3573c6bf4efSScott LongDisplays information about the battery from the battery backup unit. 3583c6bf4efSScott Long.It Cm show config 3593c6bf4efSScott LongDisplays the volume and drive configuration for the controller. 3603c6bf4efSScott LongEach array is listed along with the physical drives the array is built from. 3613c6bf4efSScott LongEach volume is listed along with the arrays that the volume spans. 3623c6bf4efSScott LongIf any hot spare drives are configured, then they are listed as well. 3633c6bf4efSScott Long.It Cm show drives 3643c6bf4efSScott LongLists all of the physical drives attached to the controller. 3653c6bf4efSScott Long.It Xo Cm show events 3663c6bf4efSScott Long.Op Fl c Ar class 3673c6bf4efSScott Long.Op Fl l Ar locale 3683c6bf4efSScott Long.Op Fl n Ar count 3693c6bf4efSScott Long.Op Fl v 3703c6bf4efSScott Long.Op Ar start Op Ar stop 3713c6bf4efSScott Long.Xc 3723c6bf4efSScott LongDisplay entries from the controller's event log. 3733c6bf4efSScott LongThe controller maintains a circular buffer of events. 3743c6bf4efSScott LongEach event is tagged with a class and locale. 3753c6bf4efSScott Long.Pp 3763c6bf4efSScott LongThe 3773c6bf4efSScott Long.Ar class 3783c6bf4efSScott Longparameter limits the output to entries at the specified class or higher. 3793c6bf4efSScott LongThe default class is 3803c6bf4efSScott Long.Dq warn . 3813c6bf4efSScott LongThe available classes from lowest priority to highest are: 38246355096SJoel Dahl.Bl -tag -width indent 3833c6bf4efSScott Long.It Cm debug 3843c6bf4efSScott LongDebug messages. 3853c6bf4efSScott Long.It Cm progress 3863c6bf4efSScott LongPeriodic progress updates for long-running operations such as background 3873c6bf4efSScott Longinitializations, array rebuilds, or patrol reads. 3883c6bf4efSScott Long.It Cm info 3893c6bf4efSScott LongInformational messages such as drive insertions and volume creations. 3903c6bf4efSScott Long.It Cm warn 3913c6bf4efSScott LongIndicates that some component may be close to failing. 3923c6bf4efSScott Long.It Cm crit 3933c6bf4efSScott LongA component has failed, but no data is lost. 3943c6bf4efSScott LongFor example, a volume becoming degraded due to a drive failure. 3953c6bf4efSScott Long.It Cm fatal 3963c6bf4efSScott LongA component has failed resulting in data loss. 3973c6bf4efSScott Long.It Cm dead 3983c6bf4efSScott LongThe controller itself has died. 3993c6bf4efSScott Long.El 4003c6bf4efSScott Long.Pp 4013c6bf4efSScott LongThe 4023c6bf4efSScott Long.Ar locale 4033c6bf4efSScott Longparameter limits the output to entries for the specified part of the controller. 4043c6bf4efSScott LongThe default locale is 4053c6bf4efSScott Long.Dq all . 4063c6bf4efSScott LongThe available locales are 4073c6bf4efSScott Long.Dq volume , 4083c6bf4efSScott Long.Dq drive , 409f6ac2391SJoel Dahl.Dq enclosure , 4103c6bf4efSScott Long.Dq battery , 4113c6bf4efSScott Long.Dq sas , 4123c6bf4efSScott Long.Dq controller , 4133c6bf4efSScott Long.Dq config , 4143c6bf4efSScott Long.Dq cluster , 4153c6bf4efSScott Longand 4163c6bf4efSScott Long.Dq all . 4173c6bf4efSScott Long.Pp 4183c6bf4efSScott LongThe 4193c6bf4efSScott Long.Ar count 4203c6bf4efSScott Longparameter is a debugging aid that specifies the number of events to fetch from 4213c6bf4efSScott Longthe controller for each low-level request. 4223c6bf4efSScott LongThe default is 15 events. 4233c6bf4efSScott Long.Pp 4243c6bf4efSScott LongBy default, matching event log entries from the previous shutdown up to the 42575f8dcc8SGordon Berglingpresent are displayed. 42675f8dcc8SGordon BerglingThis range can be adjusted via the 4273c6bf4efSScott Long.Ar start 4283c6bf4efSScott Longand 4293c6bf4efSScott Long.Ar stop 4303c6bf4efSScott Longparameters. 4313c6bf4efSScott LongEach of these parameters can either be specified as a log entry number or as 4323c6bf4efSScott Longone of the following aliases: 43346355096SJoel Dahl.Bl -tag -width indent 4343c6bf4efSScott Long.It Cm newest 4353c6bf4efSScott LongThe newest entry in the event log. 4363c6bf4efSScott Long.It Cm oldest 4373c6bf4efSScott LongThe oldest entry in the event log. 4383c6bf4efSScott Long.It Cm clear 4393c6bf4efSScott LongThe first entry since the event log was cleared. 4403c6bf4efSScott Long.It Cm shutdown 4413c6bf4efSScott LongThe entry in the event log corresponding to the last time the controller was 4423c6bf4efSScott Longcleanly shut down. 4433c6bf4efSScott Long.It Cm boot 4443c6bf4efSScott LongThe entry in the event log corresponding to the most recent boot. 4453c6bf4efSScott Long.El 4463c6bf4efSScott Long.It Cm show firmware 4473c6bf4efSScott LongLists all of the firmware images present on the controller. 44806f1884fSSean Bruno.It Cm show foreign 44906f1884fSSean BrunoDisplays detected foreign configurations on disks for importation or removal. 4503c6bf4efSScott Long.It Cm show logstate 4513c6bf4efSScott LongDisplay the various sequence numbers associated with the event log. 4523c6bf4efSScott Long.It Cm show patrol 4533c6bf4efSScott LongDisplay the status of the controller's patrol read operation. 45498be0dfeSJohn Baldwin.It Cm show progress 45598be0dfeSJohn BaldwinReport the current progress and estimated completion time for active 45698be0dfeSJohn Baldwinoperations on all volumes and drives. 4573c6bf4efSScott Long.It Cm show volumes 4583c6bf4efSScott LongLists all of the logical volumes managed by the controller. 4593c6bf4efSScott Long.El 4603c6bf4efSScott Long.Pp 4613c6bf4efSScott LongThe physical drive management commands include: 4623c6bf4efSScott Long.Bl -tag -width indent 4633c6bf4efSScott Long.It Cm fail Ar drive 4643c6bf4efSScott LongMark 4653c6bf4efSScott Long.Ar drive 4663c6bf4efSScott Longas failed. 4673c6bf4efSScott Long.Ar Drive 4683c6bf4efSScott Longmust be an online drive that is part of an array. 4693c6bf4efSScott Long.It Cm good Ar drive 4703c6bf4efSScott LongMark 4713c6bf4efSScott Long.Ar drive 4723c6bf4efSScott Longas an unconfigured good drive. 4733c6bf4efSScott Long.Ar Drive 4743c6bf4efSScott Longmust not be part of an existing array. 4753c6bf4efSScott Long.It Cm rebuild Ar drive 4763c6bf4efSScott LongMark a failed 4773c6bf4efSScott Long.Ar drive 4783c6bf4efSScott Longthat is still part of an array as a good drive suitable for a rebuild. 4793c6bf4efSScott LongThe firmware should kick off an array rebuild on its own if a failed drive 4803c6bf4efSScott Longis marked as a rebuild drive. 4817c2ad1eeSSean Bruno.It Cm syspd Ar drive 4827c2ad1eeSSean BrunoPresent the drive to the host operating system as a disk SYSPD block device in 48375f8dcc8SGordon Berglingthe format /dev/mfisyspdX. 48475f8dcc8SGordon BerglingClear this flag with 4857c2ad1eeSSean Bruno.Cm good 4867c2ad1eeSSean Bruno.Ar drive 4873c6bf4efSScott Long.It Cm drive progress Ar drive 4883c6bf4efSScott LongReport the current progress and estimated completion time of drive operations 4893c6bf4efSScott Longsuch as rebuilds or patrol reads. 4903c6bf4efSScott Long.It Cm drive clear Ar drive Brq "start | stop" 4913c6bf4efSScott LongStart or stop the writing of all 0x00 characters to a drive. 4923c6bf4efSScott Long.It Cm start rebuild Ar drive 4933c6bf4efSScott LongManually start a rebuild on 4943c6bf4efSScott Long.Ar drive . 4953c6bf4efSScott Long.It Cm abort rebuild Ar drive 4963c6bf4efSScott LongAbort an in-progress rebuild operation on 4973c6bf4efSScott Long.Ar drive . 4983c6bf4efSScott LongIt can be resumed with the 4993c6bf4efSScott Long.Cm start rebuild 5003c6bf4efSScott Longcommand. 5013c6bf4efSScott Long.It Cm locate Ar drive Brq "on | off" 5023c6bf4efSScott LongChange the state of the external LED associated with 5033c6bf4efSScott Long.Ar drive . 5043c6bf4efSScott Long.El 5053c6bf4efSScott Long.Pp 5063c6bf4efSScott LongThe logical volume management commands include: 5073c6bf4efSScott Long.Bl -tag -width indent 5082e5df98aSJohn Baldwin.It Cm cache Ar volume Op Ar setting Oo Ar value Oc Op ... 5093c6bf4efSScott LongIf no 5103c6bf4efSScott Long.Ar setting 5112e5df98aSJohn Baldwinarguments are supplied, then the current cache policy for 5123c6bf4efSScott Long.Ar volume 5133c6bf4efSScott Longis displayed; 5143c6bf4efSScott Longotherwise, 5153c6bf4efSScott Longthe cache policy for 5163c6bf4efSScott Long.Ar volume 5173c6bf4efSScott Longis modified. 5182e5df98aSJohn BaldwinOne or more 5193c6bf4efSScott Long.Ar setting 5202e5df98aSJohn Baldwinarguments may be given. 5212e5df98aSJohn BaldwinSome settings take an additional 5222e5df98aSJohn Baldwin.Ar value 5232e5df98aSJohn Baldwinargument as noted below. 5242e5df98aSJohn BaldwinThe valid settings are: 5253c6bf4efSScott Long.Bl -tag -width indent 5263c6bf4efSScott Long.It Cm enable 5273c6bf4efSScott LongEnable caching for both read and write I/O operations. 5283c6bf4efSScott Long.It Cm disable 5293c6bf4efSScott LongDisable caching for both read and write I/O operations. 5303c6bf4efSScott Long.It Cm reads 5313c6bf4efSScott LongEnable caching only for read I/O operations. 5323c6bf4efSScott Long.It Cm writes 5333c6bf4efSScott LongEnable caching only for write I/O operations. 5343c6bf4efSScott Long.It Cm write-back 5353c6bf4efSScott LongUse write-back policy for cached writes. 5363c6bf4efSScott Long.It Cm write-through 5373c6bf4efSScott LongUse write-through policy for cached writes. 5388b22f43dSJohn Baldwin.It Cm read-ahead Ar value 5393c6bf4efSScott LongSet the read ahead policy for cached reads. 5403c6bf4efSScott LongThe 5413c6bf4efSScott Long.Ar value 5423c6bf4efSScott Longargument can be set to either 5433c6bf4efSScott Long.Dq none , 5443c6bf4efSScott Long.Dq adaptive , 5453c6bf4efSScott Longor 5463c6bf4efSScott Long.Dq always . 5478b22f43dSJohn Baldwin.It Cm bad-bbu-write-cache Ar value 5488b22f43dSJohn BaldwinControl the behavior of I/O write caching if the battery is dead or 5498b22f43dSJohn Baldwinmissing. 5508b22f43dSJohn BaldwinThe 5518b22f43dSJohn Baldwin.Ar value 5528b22f43dSJohn Baldwinargument can be set to either 5538b22f43dSJohn Baldwin.Dq disable 5548b22f43dSJohn Baldwinor 5558b22f43dSJohn Baldwin.Dq enable . 5568b22f43dSJohn BaldwinIn general this setting should be left disabled to avoid data loss when 5578b22f43dSJohn Baldwinthe system loses power. 5588b22f43dSJohn Baldwin.It Cm write-cache Ar value 5593c6bf4efSScott LongControl the write caches on the physical drives backing 5603c6bf4efSScott Long.Ar volume . 5613c6bf4efSScott LongThe 5623c6bf4efSScott Long.Ar value 5633c6bf4efSScott Longargument can be set to either 5643c6bf4efSScott Long.Dq disable , 5653c6bf4efSScott Long.Dq enable , 5663c6bf4efSScott Longor 5673c6bf4efSScott Long.Dq default . 5683c6bf4efSScott Long.Pp 5693c6bf4efSScott LongIn general this setting should be left disabled to avoid data loss when the 5703c6bf4efSScott Longphysical drives lose power. 5713c6bf4efSScott LongThe battery backup of the RAID controller does not save data in the write 5723c6bf4efSScott Longcaches of the physical drives. 5733c6bf4efSScott Long.El 5743c6bf4efSScott Long.It Cm name Ar volume Ar name 5753c6bf4efSScott LongSets the name of 5763c6bf4efSScott Long.Ar volume 5773c6bf4efSScott Longto 5783c6bf4efSScott Long.Ar name . 5793c6bf4efSScott Long.It Cm volume progress Ar volume 5803c6bf4efSScott LongReport the current progress and estimated completion time of volume operations 5813c6bf4efSScott Longsuch as consistency checks and initializations. 5823c6bf4efSScott Long.El 5833c6bf4efSScott Long.Pp 5843c6bf4efSScott LongThe configuration commands include: 5853c6bf4efSScott Long.Bl -tag -width indent 5863c6bf4efSScott Long.It Cm clear 5873c6bf4efSScott LongDelete the entire configuration including all volumes, arrays, and spares. 5883c6bf4efSScott Long.It Xo Cm create Ar type 5893c6bf4efSScott Long.Op Fl v 5903c6bf4efSScott Long.Op Fl s Ar stripe_size 5913c6bf4efSScott Long.Ar drive Ns Op \&, Ns Ar drive Ns Op ",..." 5923c6bf4efSScott Long.Op Ar drive Ns Op \&, Ns Ar drive Ns Op ",..." 5933c6bf4efSScott Long.Xc 5943c6bf4efSScott LongCreate a new volume. 5953c6bf4efSScott LongThe 5963c6bf4efSScott Long.Ar type 5973c6bf4efSScott Longspecifies the type of volume to create. 5983c6bf4efSScott LongCurrently supported types include: 5993c6bf4efSScott Long.Bl -tag -width indent 6003c6bf4efSScott Long.It Cm jbod 6013c6bf4efSScott LongCreates a RAID0 volume for each drive specified. 6023c6bf4efSScott LongEach drive must be specified as a separate argument. 6033c6bf4efSScott Long.It Cm raid0 6043c6bf4efSScott LongCreates one RAID0 volume spanning the drives listed in the single drive list. 6053c6bf4efSScott Long.It Cm raid1 6063c6bf4efSScott LongCreates one RAID1 volume spanning the drives listed in the single drive list. 6073c6bf4efSScott Long.It Cm raid5 6083c6bf4efSScott LongCreates one RAID5 volume spanning the drives listed in the single drive list. 6093c6bf4efSScott Long.It Cm raid6 6103c6bf4efSScott LongCreates one RAID6 volume spanning the drives listed in the single drive list. 6113c6bf4efSScott Long.It Cm raid10 6123c6bf4efSScott LongCreates one RAID10 volume spanning multiple RAID1 arrays. 6133c6bf4efSScott LongThe drives for each RAID1 array are specified as a single drive list. 6143c6bf4efSScott Long.It Cm raid50 6153c6bf4efSScott LongCreates one RAID50 volume spanning multiple RAID5 arrays. 6163c6bf4efSScott LongThe drives for each RAID5 array are specified as a single drive list. 6173c6bf4efSScott Long.It Cm raid60 6183c6bf4efSScott LongCreates one RAID60 volume spanning multiple RAID6 arrays. 6193c6bf4efSScott LongThe drives for each RAID6 array are specified as a single drive list. 6203c6bf4efSScott Long.It Cm concat 6213c6bf4efSScott LongCreates a single volume by concatenating all of the drives in the single drive 6223c6bf4efSScott Longlist. 6233c6bf4efSScott Long.El 6243c6bf4efSScott Long.Pp 6253c6bf4efSScott Long.Sy Note : 6263c6bf4efSScott LongNot all volume types are supported by all controllers. 6273c6bf4efSScott Long.Pp 6283c6bf4efSScott LongIf the 6293c6bf4efSScott Long.Fl v 6303c6bf4efSScott Longflag is specified after 6313c6bf4efSScott Long.Ar type , 6323c6bf4efSScott Longthen more verbose output will be enabled. 6333c6bf4efSScott LongCurrently this just provides notification as drives are added to arrays and 6343c6bf4efSScott Longarrays to volumes when building the configuration. 6353c6bf4efSScott Long.Pp 6363c6bf4efSScott LongThe 6373c6bf4efSScott Long.Fl s 6383c6bf4efSScott Long.Ar stripe_size 6393c6bf4efSScott Longparameter allows the stripe size of the array to be set. 6403c6bf4efSScott LongBy default a stripe size of 64K is used. 6413c6bf4efSScott LongValid values are 512 through 1M, though the MFI firmware may reject some 6423c6bf4efSScott Longvalues. 6433c6bf4efSScott Long.It Cm delete Ar volume 6443c6bf4efSScott LongDelete the volume 6453c6bf4efSScott Long.Ar volume . 6463c6bf4efSScott Long.It Cm add Ar drive Op Ar volume 6473c6bf4efSScott LongMark 6483c6bf4efSScott Long.Ar drive 6493c6bf4efSScott Longas a hot spare. 6503c6bf4efSScott Long.Ar Drive 6513c6bf4efSScott Longmust be in the unconfigured good state. 6523c6bf4efSScott LongIf 6533c6bf4efSScott Long.Ar volume 6543c6bf4efSScott Longis specified, 6553c6bf4efSScott Longthen the hot spare will be dedicated to arrays backing that volume. 6563c6bf4efSScott LongOtherwise, 6573c6bf4efSScott Long.Ar drive 6583c6bf4efSScott Longwill be used as a global hot spare backing all arrays for this controller. 6593c6bf4efSScott LongNote that 6603c6bf4efSScott Long.Ar drive 6613c6bf4efSScott Longmust be as large as the smallest drive in all of the arrays it is going to 6623c6bf4efSScott Longback. 6633c6bf4efSScott Long.It Cm remove Ar drive 6643c6bf4efSScott LongRemove the hot spare 6653c6bf4efSScott Long.Ar drive 6663c6bf4efSScott Longfrom service. 6673c6bf4efSScott LongIt will be placed in the unconfigured good state. 6683c6bf4efSScott Long.El 6693c6bf4efSScott Long.Pp 6703c6bf4efSScott LongThe controller management commands include: 6713c6bf4efSScott Long.Bl -tag -width indent 6723c6bf4efSScott Long.It Cm patrol Ar command Op Ar interval Op Ar start 6733c6bf4efSScott LongSet the patrol read operation mode. 6743c6bf4efSScott LongThe 6753c6bf4efSScott Long.Ar command 6763c6bf4efSScott Longargument can be one of the following values: 6773c6bf4efSScott Long.Bl -tag -width indent 6783c6bf4efSScott Long.It Cm disable 6793c6bf4efSScott LongDisable patrol reads. 6803c6bf4efSScott Long.It Cm auto 6813c6bf4efSScott LongEnable periodic patrol reads initiated by the firmware. 6823c6bf4efSScott LongThe optional 6833c6bf4efSScott Long.Ar interval 6843c6bf4efSScott Longargument specifies the interval in seconds between patrol reads. 685d4352d29SJoel DahlIf patrol reads should be run continuously, 6863c6bf4efSScott Longthen 6873c6bf4efSScott Long.Ar interval 6883c6bf4efSScott Longshould consist of the word 6893c6bf4efSScott Long.Dq continuously . 6903c6bf4efSScott LongThe optional 6913c6bf4efSScott Long.Ar start 6923c6bf4efSScott Longargument specifies a non-negative, relative start time for the next patrol read. 6933c6bf4efSScott LongIf an interval or start time is not specified, 6943c6bf4efSScott Longthen the existing setting will be used. 6953c6bf4efSScott Long.It Cm manual 6963c6bf4efSScott LongEnable manual patrol reads that are only initiated by the user. 6973c6bf4efSScott Long.El 6983c6bf4efSScott Long.It Cm start patrol 6993c6bf4efSScott LongStart a patrol read operation. 7003c6bf4efSScott Long.It Cm stop patrol 7013c6bf4efSScott LongStop a currently running patrol read operation. 70206f1884fSSean Bruno.It Cm foreign scan 70375f8dcc8SGordon BerglingScan for foreign configurations and display the number found. 70475f8dcc8SGordon BerglingThe 70506f1884fSSean Bruno.Ar config 70606f1884fSSean Brunoargument for the commands below takes the form of a number from 0 to the total 70706f1884fSSean Brunoconfigurations found. 70806f1884fSSean Bruno.It Cm foreign clear Op config 709463a577bSEitan AdlerClear the specified foreign 71006f1884fSSean Bruno.Ar config 71106f1884fSSean Brunoor all if no 71206f1884fSSean Bruno.Ar config 71306f1884fSSean Brunoargument is provided. 71406f1884fSSean Bruno.It Cm foreign diag Op config 715463a577bSEitan AdlerDisplay a diagnostic display of the specified foreign 71606f1884fSSean Bruno.Ar config 71706f1884fSSean Brunoor all if no 71806f1884fSSean Bruno.Ar config 71906f1884fSSean Brunoargument is provided. 72006f1884fSSean Bruno.It Cm foreign preview Op config 721463a577bSEitan AdlerPreview the specified foreign 72206f1884fSSean Bruno.Ar config 72306f1884fSSean Brunoafter import or all if no 72406f1884fSSean Bruno.Ar config 72506f1884fSSean Brunoargument is provided. 72606f1884fSSean Bruno.It Cm foreign import Op config 727463a577bSEitan AdlerImport the specified foreign 72806f1884fSSean Bruno.Ar config 72906f1884fSSean Brunoor all if no 73006f1884fSSean Bruno.Ar config 73106f1884fSSean Brunoargument is provided. 7323c6bf4efSScott Long.It Cm flash Ar file 7333c6bf4efSScott LongUpdates the flash on the controller with the firmware stored in 7343c6bf4efSScott Long.Ar file . 7353c6bf4efSScott LongA reboot is required for the new firmware to take effect. 736dee3e845SMark Johnston.It Cm start learn 737dee3e845SMark JohnstonStart a battery relearn. 738252d8593SMark JohnstonNote that this seems to always result in the battery being completely drained, 739252d8593SMark Johnstonregardless of the BBU mode. 740252d8593SMark JohnstonIn particular, the controller write cache will be disabled during the relearn 741252d8593SMark Johnstoneven if transparent learning mode is enabled. 742dee3e845SMark Johnston.It Cm bbu Ar setting Ar value 743dee3e845SMark JohnstonUpdate battery backup unit (BBU) properties related to battery relearning. 744dee3e845SMark JohnstonThe following settings are configurable: 745dee3e845SMark Johnston.Bl -tag -width indent 746dee3e845SMark Johnston.It Cm learn-delay 74775f8dcc8SGordon BerglingAdd a delay to the next scheduled battery relearn event. 74875f8dcc8SGordon BerglingThis setting is given in hours and must lie in the range of 0 to 255. 749dee3e845SMark Johnston.It Cm autolearn-mode 750dee3e845SMark JohnstonEnable or disable automatic periodic battery relearning. 751dee3e845SMark JohnstonThe setting may be set to 752dee3e845SMark Johnston.Dq enable 753dee3e845SMark Johnstonor 754dee3e845SMark Johnston.Dq disable 755dee3e845SMark Johnstonto respectively enable or disable the relearn cycle. 756dee3e845SMark JohnstonAlternatively, a mode of 0, 1 or 2 may be given. 757dee3e845SMark JohnstonMode 0 enables periodic relearning, mode 1 disables it, and mode 2 disables 758dee3e845SMark Johnstonit and logs a warning to the event log when it detects that a battery relearn 759dee3e845SMark Johnstonshould be performed. 760dee3e845SMark Johnston.It Cm bbu-mode 76175f8dcc8SGordon BerglingSet the BBU's mode of operation. 76275f8dcc8SGordon BerglingThis setting is not supported by all BBUs. 763dee3e845SMark JohnstonWhere it is supported, the possible values are the integers between 1 and 5 764dee3e845SMark Johnstoninclusive. 765dee3e845SMark JohnstonModes 1, 2 and 3 enable a transparent learn cycle, whereas modes 4 and 5 do not. 766dee3e845SMark JohnstonThe BBU's data retention time is greater when transparent learning is not used. 767dee3e845SMark Johnston.El 768ee7a2acaSSean Bruno.It Cm ctrlprop Ar rebuild Op Ar rate 769ee7a2acaSSean BrunoWith no arguments display the rate of rebuild (percentage)a for volumes. 770ee7a2acaSSean BrunoWith an integer argument (0-100), set that value as the new rebuild rate for volumes. 771ee7a2acaSSean Bruno.It Cm ctrlprop Ar alarm Op Ar 0/1 772ee7a2acaSSean BrunoWith no arguments display the current alarm enable/disable status. 77375f8dcc8SGordon BerglingWith a 0, disable alarms. 77475f8dcc8SGordon BerglingWith a 1, enable alarms. 7753c6bf4efSScott Long.El 7763c6bf4efSScott Long.Sh EXAMPLES 7773c6bf4efSScott LongConfigure the cache for volume mfid0 to cache only writes: 7783c6bf4efSScott Long.Pp 7793c6bf4efSScott Long.Dl Nm Cm cache mfid0 writes 7803c6bf4efSScott Long.Dl Nm Cm cache mfid0 write-back 7813c6bf4efSScott Long.Pp 7823c6bf4efSScott LongCreate a RAID5 array spanning the first four disks in the second enclosure: 7833c6bf4efSScott Long.Pp 7843c6bf4efSScott Long.Dl Nm Cm create raid5 e1:s0,e1:s1,e1:s2,e1:s4 7853c6bf4efSScott Long.Pp 7863c6bf4efSScott LongConfigure the first three disks on a controller as JBOD: 7873c6bf4efSScott Long.Pp 7883c6bf4efSScott Long.Dl Nm Cm create jbod 0 1 2 7893c6bf4efSScott Long.Pp 7903c6bf4efSScott LongCreate a RAID10 volume that spans two arrays each of which contains two disks 7913c6bf4efSScott Longfrom two different enclosures: 7923c6bf4efSScott Long.Pp 7933c6bf4efSScott Long.Dl Nm Cm create raid10 e1:s0,e1:s1 e2:s0,e2:s1 7943c6bf4efSScott Long.Pp 7953c6bf4efSScott LongAdd drive with the device ID of 4 as a global hot spare: 7963c6bf4efSScott Long.Pp 7973c6bf4efSScott Long.Dl Nm Cm add 4 7983c6bf4efSScott Long.Pp 7993c6bf4efSScott LongAdd the drive in slot 2 in the main chassis as a hot spare for volume mfid0: 8003c6bf4efSScott Long.Pp 8013c6bf4efSScott Long.Dl Nm Cm add s2 mfid0 8023c6bf4efSScott Long.Pp 8037c2ad1eeSSean BrunoReconfigure a disk as a SYSPD block device with no RAID 8047c2ad1eeSSean Bruno.Pp 8057c2ad1eeSSean Bruno.Dl Nm Cm syspd 0 8067c2ad1eeSSean Bruno.Pp 8073c6bf4efSScott LongConfigure the adapter to run periodic patrol reads once a week with the first 8083c6bf4efSScott Longpatrol read starting in 5 minutes: 8093c6bf4efSScott Long.Pp 8103c6bf4efSScott Long.Dl Nm Cm patrol auto 604800 300 81106f1884fSSean Bruno.Pp 81206f1884fSSean BrunoDisplay the second detected foreign configuration: 81306f1884fSSean Bruno.Pp 81406f1884fSSean Bruno.Dl Nm Cm show foreign 1 815ee7a2acaSSean Bruno.Pp 816ee7a2acaSSean BrunoSet the current rebuild rate for volumes to 40%: 817ee7a2acaSSean Bruno.Dl Nm Cm ctrlprop rebuild 40 8183c6bf4efSScott Long.Sh SEE ALSO 8197e0f8b79SDoug Ambrisko.Xr mfi 4 , 8207e0f8b79SDoug Ambrisko.Xr mrsas 4 821d78c3fa1SScott Long.Sh HISTORY 822d78c3fa1SScott LongThe 823d78c3fa1SScott Long.Nm 824d78c3fa1SScott Longutility first appeared in 825d78c3fa1SScott Long.Fx 8.0 . 826