1.\" Copyright (c) 2008, 2009 Yahoo!, Inc. 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. 9.\" 2. Redistributions in binary form must reproduce the above copyright 10.\" notice, this list of conditions and the following disclaimer in the 11.\" documentation and/or other materials provided with the distribution. 12.\" 3. The names of the authors may not be used to endorse or promote 13.\" products derived from this software without specific prior written 14.\" permission. 15.\" 16.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 17.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 19.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 20.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26.\" SUCH DAMAGE. 27.\" 28.Dd September 2, 2011 29.Dt MFIUTIL 8 30.Os 31.Sh NAME 32.Nm mfiutil , 33.Nm mrsasutil 34.Nd Utility for managing LSI MegaRAID SAS controllers 35.Sh SYNOPSIS 36.Nm 37.Cm version 38.Nm 39.Op Fl D Ar device 40.Op Fl t Ar type 41.Op Fl u Ar unit 42.Cm show adapter 43.Nm 44.Op Fl D Ar device 45.Op Fl t Ar type 46.Op Fl u Ar unit 47.Cm show battery 48.Nm 49.Op Fl d 50.Op Fl e 51.Op Fl D Ar device 52.Op Fl t Ar type 53.Op Fl u Ar unit 54.Cm show config 55.Nm 56.Op Fl D Ar device 57.Op Fl t Ar type 58.Op Fl u Ar unit 59.Cm show drives 60.Nm 61.Op Fl D Ar device 62.Op Fl t Ar type 63.Op Fl u Ar unit 64.Cm show events 65.Op Fl c Ar class 66.Op Fl l Ar locale 67.Op Fl n Ar count 68.Op Fl v 69.Op Ar start Op Ar stop 70.Nm 71.Op Fl D Ar device 72.Op Fl t Ar type 73.Op Fl u Ar unit 74.Cm show firmware 75.Nm 76.Op Fl D Ar device 77.Op Fl t Ar type 78.Op Fl u Ar unit 79.Cm show foreign Op Ar volume 80.Nm 81.Op Fl D Ar device 82.Op Fl t Ar type 83.Op Fl u Ar unit 84.Cm show logstate 85.Nm 86.Op Fl d 87.Op Fl e 88.Op Fl D Ar device 89.Op Fl t Ar type 90.Op Fl u Ar unit 91.Cm show patrol 92.Nm 93.Op Fl d 94.Op Fl e 95.Op Fl D Ar device 96.Op Fl t Ar type 97.Op Fl u Ar unit 98.Cm show progress 99.Nm 100.Op Fl D Ar device 101.Op Fl t Ar type 102.Op Fl u Ar unit 103.Cm show volumes 104.Nm 105.Op Fl D Ar device 106.Op Fl t Ar type 107.Op Fl u Ar unit 108.Cm fail Ar drive 109.Nm 110.Op Fl D Ar device 111.Op Fl t Ar type 112.Op Fl u Ar unit 113.Cm good Ar drive 114.Nm 115.Op Fl D Ar device 116.Op Fl t Ar type 117.Op Fl u Ar unit 118.Cm rebuild Ar drive 119.Nm 120.Op Fl D Ar device 121.Op Fl t Ar type 122.Op Fl u Ar unit 123.Cm syspd Ar drive 124.Nm 125.Op Fl D Ar device 126.Op Fl t Ar type 127.Op Fl u Ar unit 128.Cm drive progress Ar drive 129.Nm 130.Op Fl D Ar device 131.Op Fl t Ar type 132.Op Fl u Ar unit 133.Cm drive clear Ar drive Brq "start | stop" 134.Nm 135.Op Fl D Ar device 136.Op Fl t Ar type 137.Op Fl u Ar unit 138.Cm start rebuild Ar drive 139.Nm 140.Op Fl D Ar device 141.Op Fl t Ar type 142.Op Fl u Ar unit 143.Cm abort rebuild Ar drive 144.Nm 145.Op Fl D Ar device 146.Op Fl t Ar type 147.Op Fl u Ar unit 148.Cm locate Ar drive Brq "on | off" 149.Nm 150.Op Fl D Ar device 151.Op Fl t Ar type 152.Op Fl u Ar unit 153.Cm cache Ar volume Op Ar setting Oo Ar value Oc Op ... 154.Nm 155.Op Fl D Ar device 156.Op Fl t Ar type 157.Op Fl u Ar unit 158.Cm name Ar volume Ar name 159.Nm 160.Op Fl D Ar device 161.Op Fl t Ar type 162.Op Fl u Ar unit 163.Cm volume progress Ar volume 164.Nm 165.Op Fl D Ar device 166.Op Fl t Ar type 167.Op Fl u Ar unit 168.Cm clear 169.Nm 170.Op Fl D Ar device 171.Op Fl t Ar type 172.Op Fl u Ar unit 173.Cm create Ar type 174.Op Fl v 175.Op Fl s Ar stripe_size 176.Ar drive Ns Op \&, Ns Ar drive Ns Op ",..." 177.Op Ar drive Ns Op \&, Ns Ar drive Ns Op ",..." 178.Nm 179.Op Fl D Ar device 180.Op Fl t Ar type 181.Op Fl u Ar unit 182.Cm delete Ar volume 183.Nm 184.Op Fl D Ar device 185.Op Fl t Ar type 186.Op Fl u Ar unit 187.Cm add Ar drive Op Ar volume 188.Nm 189.Op Fl D Ar device 190.Op Fl t Ar type 191.Op Fl u Ar unit 192.Cm remove Ar drive 193.Nm 194.Op Fl D Ar device 195.Op Fl t Ar type 196.Op Fl u Ar unit 197.Cm start patrol 198.Nm 199.Op Fl D Ar device 200.Op Fl t Ar type 201.Op Fl u Ar unit 202.Cm stop patrol 203.Nm 204.Op Fl D Ar device 205.Op Fl t Ar type 206.Op Fl u Ar unit 207.Cm patrol Ar command Op Ar interval Op Ar start 208.Nm 209.Op Fl D Ar device 210.Op Fl t Ar type 211.Op Fl u Ar unit 212.Cm foreign scan 213.Nm 214.Op Fl D Ar device 215.Op Fl t Ar type 216.Op Fl u Ar unit 217.Cm foreign clear Op Ar config 218.Nm 219.Op Fl D Ar device 220.Op Fl t Ar type 221.Op Fl u Ar unit 222.Cm foreign diag Op Ar config 223.Nm 224.Op Fl D Ar device 225.Op Fl t Ar type 226.Op Fl u Ar unit 227.Cm foreign preview Op Ar config 228.Nm 229.Op Fl D Ar device 230.Op Fl t Ar type 231.Op Fl u Ar unit 232.Cm foreign import Op Ar config 233.Nm 234.Op Fl D Ar device 235.Op Fl t Ar type 236.Op Fl u Ar unit 237.Cm flash Ar file 238.Nm 239.Op Fl D Ar device 240.Op Fl t Ar type 241.Op Fl u Ar unit 242.Cm start learn 243.Nm 244.Op Fl D Ar device 245.Op Fl t Ar type 246.Op Fl u Ar unit 247.Cm bbu Ar setting Ar value 248.Nm 249.Op Fl D Ar device 250.Op Fl t Ar type 251.Op Fl u Ar unit 252.Cm ctrlprop Ar rebuild Op Ar rate 253.Nm 254.Op Fl D Ar device 255.Op Fl t Ar type 256.Op Fl u Ar unit 257.Cm ctrlprop Ar alarm Op Ar 0/1 258.Sh DESCRIPTION 259The 260.Nm 261utility can be used to display or modify various parameters on LSI 262MegaRAID SAS RAID controllers. 263Each invocation of 264.Nm 265consists of zero or more global options followed by a command. 266Commands may support additional optional or required arguments after the 267command. 268.Pp 269Currently three global options are supported: 270.Bl -tag -width indent 271.It Fl D Ar device 272.Ar device 273specifies the device node of the controller to use. 274'/dev/' will be added to the device node if needed. 275If no device node is specified, 276then device will be made of the type and device. 277.It Fl t Ar type 278.Ar type 279specifies the type of the controller to work with either 280.Xr mfi 4 281or 282.Xr mrsas 4 . 283If no type is specified, 284then the name of the invoked tool used to derive the type. 285.It Fl u Ar unit 286.Ar unit 287specifies the unit of the controller to work with. 288If no unit is specified, 289then unit 0 is used. 290.El 291.Pp 292Various commands accept either or both of the two options: 293.Bl -tag -width indent 294.It Fl d 295Print numeric device IDs as drive identifier. 296This is the default. 297Useful in combination with 298.Fl e 299to print both, numeric device IDs and enclosure:slot information. 300.It Fl e 301Print drive identifiers in enclosure:slot form. 302See next paragraph on format details in context of input rather than 303output. 304.El 305.Pp 306Drives may be specified in two forms. 307First, 308a drive may be identified by its device ID. 309The device ID for configured drives can be found in 310.Cm show config . 311Second, 312a drive may be identified by its location as 313.Sm off 314.Op E Ar xx Ns \&: 315.Li S Ns Ar yy 316.Sm on 317where 318.Ar xx 319is the enclosure 320and 321.Ar yy 322is the slot for each drive as displayed in 323.Cm show drives . 324.Pp 325Volumes may be specified in two forms. 326First, 327a volume may be identified by its target ID. 328Second, 329on the volume may be specified by the corresponding 330.Em mfidX 331device, 332such as 333.Em mfid0 . 334.Pp 335The 336.Nm 337utility supports several different groups of commands. 338The first group of commands provide information about the controller, 339the volumes it manages, and the drives it controls. 340The second group of commands are used to manage the physical drives 341attached to the controller. 342The third group of commands are used to manage the logical volumes 343managed by the controller. 344The fourth group of commands are used to manage the drive configuration for 345the controller. 346The fifth group of commands are used to manage controller-wide operations. 347.Pp 348The informational commands include: 349.Bl -tag -width indent 350.It Cm version 351Displays the version of 352.Nm . 353.It Cm show adapter 354Displays information about the RAID controller such as the model number. 355.It Cm show battery 356Displays information about the battery from the battery backup unit. 357.It Cm show config 358Displays the volume and drive configuration for the controller. 359Each array is listed along with the physical drives the array is built from. 360Each volume is listed along with the arrays that the volume spans. 361If any hot spare drives are configured, then they are listed as well. 362.It Cm show drives 363Lists all of the physical drives attached to the controller. 364.It Xo Cm show events 365.Op Fl c Ar class 366.Op Fl l Ar locale 367.Op Fl n Ar count 368.Op Fl v 369.Op Ar start Op Ar stop 370.Xc 371Display entries from the controller's event log. 372The controller maintains a circular buffer of events. 373Each event is tagged with a class and locale. 374.Pp 375The 376.Ar class 377parameter limits the output to entries at the specified class or higher. 378The default class is 379.Dq warn . 380The available classes from lowest priority to highest are: 381.Bl -tag -width indent 382.It Cm debug 383Debug messages. 384.It Cm progress 385Periodic progress updates for long-running operations such as background 386initializations, array rebuilds, or patrol reads. 387.It Cm info 388Informational messages such as drive insertions and volume creations. 389.It Cm warn 390Indicates that some component may be close to failing. 391.It Cm crit 392A component has failed, but no data is lost. 393For example, a volume becoming degraded due to a drive failure. 394.It Cm fatal 395A component has failed resulting in data loss. 396.It Cm dead 397The controller itself has died. 398.El 399.Pp 400The 401.Ar locale 402parameter limits the output to entries for the specified part of the controller. 403The default locale is 404.Dq all . 405The available locales are 406.Dq volume , 407.Dq drive , 408.Dq enclosure , 409.Dq battery , 410.Dq sas , 411.Dq controller , 412.Dq config , 413.Dq cluster , 414and 415.Dq all . 416.Pp 417The 418.Ar count 419parameter is a debugging aid that specifies the number of events to fetch from 420the controller for each low-level request. 421The default is 15 events. 422.Pp 423By default, matching event log entries from the previous shutdown up to the 424present are displayed. 425This range can be adjusted via the 426.Ar start 427and 428.Ar stop 429parameters. 430Each of these parameters can either be specified as a log entry number or as 431one of the following aliases: 432.Bl -tag -width indent 433.It Cm newest 434The newest entry in the event log. 435.It Cm oldest 436The oldest entry in the event log. 437.It Cm clear 438The first entry since the event log was cleared. 439.It Cm shutdown 440The entry in the event log corresponding to the last time the controller was 441cleanly shut down. 442.It Cm boot 443The entry in the event log corresponding to the most recent boot. 444.El 445.It Cm show firmware 446Lists all of the firmware images present on the controller. 447.It Cm show foreign 448Displays detected foreign configurations on disks for importation or removal. 449.It Cm show logstate 450Display the various sequence numbers associated with the event log. 451.It Cm show patrol 452Display the status of the controller's patrol read operation. 453.It Cm show progress 454Report the current progress and estimated completion time for active 455operations on all volumes and drives. 456.It Cm show volumes 457Lists all of the logical volumes managed by the controller. 458.El 459.Pp 460The physical drive management commands include: 461.Bl -tag -width indent 462.It Cm fail Ar drive 463Mark 464.Ar drive 465as failed. 466.Ar Drive 467must be an online drive that is part of an array. 468.It Cm good Ar drive 469Mark 470.Ar drive 471as an unconfigured good drive. 472.Ar Drive 473must not be part of an existing array. 474.It Cm rebuild Ar drive 475Mark a failed 476.Ar drive 477that is still part of an array as a good drive suitable for a rebuild. 478The firmware should kick off an array rebuild on its own if a failed drive 479is marked as a rebuild drive. 480.It Cm syspd Ar drive 481Present the drive to the host operating system as a disk SYSPD block device in 482the format /dev/mfisyspdX. 483Clear this flag with 484.Cm good 485.Ar drive 486.It Cm drive progress Ar drive 487Report the current progress and estimated completion time of drive operations 488such as rebuilds or patrol reads. 489.It Cm drive clear Ar drive Brq "start | stop" 490Start or stop the writing of all 0x00 characters to a drive. 491.It Cm start rebuild Ar drive 492Manually start a rebuild on 493.Ar drive . 494.It Cm abort rebuild Ar drive 495Abort an in-progress rebuild operation on 496.Ar drive . 497It can be resumed with the 498.Cm start rebuild 499command. 500.It Cm locate Ar drive Brq "on | off" 501Change the state of the external LED associated with 502.Ar drive . 503.El 504.Pp 505The logical volume management commands include: 506.Bl -tag -width indent 507.It Cm cache Ar volume Op Ar setting Oo Ar value Oc Op ... 508If no 509.Ar setting 510arguments are supplied, then the current cache policy for 511.Ar volume 512is displayed; 513otherwise, 514the cache policy for 515.Ar volume 516is modified. 517One or more 518.Ar setting 519arguments may be given. 520Some settings take an additional 521.Ar value 522argument as noted below. 523The valid settings are: 524.Bl -tag -width indent 525.It Cm enable 526Enable caching for both read and write I/O operations. 527.It Cm disable 528Disable caching for both read and write I/O operations. 529.It Cm reads 530Enable caching only for read I/O operations. 531.It Cm writes 532Enable caching only for write I/O operations. 533.It Cm write-back 534Use write-back policy for cached writes. 535.It Cm write-through 536Use write-through policy for cached writes. 537.It Cm read-ahead Ar value 538Set the read ahead policy for cached reads. 539The 540.Ar value 541argument can be set to either 542.Dq none , 543.Dq adaptive , 544or 545.Dq always . 546.It Cm bad-bbu-write-cache Ar value 547Control the behavior of I/O write caching if the battery is dead or 548missing. 549The 550.Ar value 551argument can be set to either 552.Dq disable 553or 554.Dq enable . 555In general this setting should be left disabled to avoid data loss when 556the system loses power. 557.It Cm write-cache Ar value 558Control the write caches on the physical drives backing 559.Ar volume . 560The 561.Ar value 562argument can be set to either 563.Dq disable , 564.Dq enable , 565or 566.Dq default . 567.Pp 568In general this setting should be left disabled to avoid data loss when the 569physical drives lose power. 570The battery backup of the RAID controller does not save data in the write 571caches of the physical drives. 572.El 573.It Cm name Ar volume Ar name 574Sets the name of 575.Ar volume 576to 577.Ar name . 578.It Cm volume progress Ar volume 579Report the current progress and estimated completion time of volume operations 580such as consistency checks and initializations. 581.El 582.Pp 583The configuration commands include: 584.Bl -tag -width indent 585.It Cm clear 586Delete the entire configuration including all volumes, arrays, and spares. 587.It Xo Cm create Ar type 588.Op Fl v 589.Op Fl s Ar stripe_size 590.Ar drive Ns Op \&, Ns Ar drive Ns Op ",..." 591.Op Ar drive Ns Op \&, Ns Ar drive Ns Op ",..." 592.Xc 593Create a new volume. 594The 595.Ar type 596specifies the type of volume to create. 597Currently supported types include: 598.Bl -tag -width indent 599.It Cm jbod 600Creates a RAID0 volume for each drive specified. 601Each drive must be specified as a separate argument. 602.It Cm raid0 603Creates one RAID0 volume spanning the drives listed in the single drive list. 604.It Cm raid1 605Creates one RAID1 volume spanning the drives listed in the single drive list. 606.It Cm raid5 607Creates one RAID5 volume spanning the drives listed in the single drive list. 608.It Cm raid6 609Creates one RAID6 volume spanning the drives listed in the single drive list. 610.It Cm raid10 611Creates one RAID10 volume spanning multiple RAID1 arrays. 612The drives for each RAID1 array are specified as a single drive list. 613.It Cm raid50 614Creates one RAID50 volume spanning multiple RAID5 arrays. 615The drives for each RAID5 array are specified as a single drive list. 616.It Cm raid60 617Creates one RAID60 volume spanning multiple RAID6 arrays. 618The drives for each RAID6 array are specified as a single drive list. 619.It Cm concat 620Creates a single volume by concatenating all of the drives in the single drive 621list. 622.El 623.Pp 624.Sy Note : 625Not all volume types are supported by all controllers. 626.Pp 627If the 628.Fl v 629flag is specified after 630.Ar type , 631then more verbose output will be enabled. 632Currently this just provides notification as drives are added to arrays and 633arrays to volumes when building the configuration. 634.Pp 635The 636.Fl s 637.Ar stripe_size 638parameter allows the stripe size of the array to be set. 639By default a stripe size of 64K is used. 640Valid values are 512 through 1M, though the MFI firmware may reject some 641values. 642.It Cm delete Ar volume 643Delete the volume 644.Ar volume . 645.It Cm add Ar drive Op Ar volume 646Mark 647.Ar drive 648as a hot spare. 649.Ar Drive 650must be in the unconfigured good state. 651If 652.Ar volume 653is specified, 654then the hot spare will be dedicated to arrays backing that volume. 655Otherwise, 656.Ar drive 657will be used as a global hot spare backing all arrays for this controller. 658Note that 659.Ar drive 660must be as large as the smallest drive in all of the arrays it is going to 661back. 662.It Cm remove Ar drive 663Remove the hot spare 664.Ar drive 665from service. 666It will be placed in the unconfigured good state. 667.El 668.Pp 669The controller management commands include: 670.Bl -tag -width indent 671.It Cm patrol Ar command Op Ar interval Op Ar start 672Set the patrol read operation mode. 673The 674.Ar command 675argument can be one of the following values: 676.Bl -tag -width indent 677.It Cm disable 678Disable patrol reads. 679.It Cm auto 680Enable periodic patrol reads initiated by the firmware. 681The optional 682.Ar interval 683argument specifies the interval in seconds between patrol reads. 684If patrol reads should be run continuously, 685then 686.Ar interval 687should consist of the word 688.Dq continuously . 689The optional 690.Ar start 691argument specifies a non-negative, relative start time for the next patrol read. 692If an interval or start time is not specified, 693then the existing setting will be used. 694.It Cm manual 695Enable manual patrol reads that are only initiated by the user. 696.El 697.It Cm start patrol 698Start a patrol read operation. 699.It Cm stop patrol 700Stop a currently running patrol read operation. 701.It Cm foreign scan 702Scan for foreign configurations and display the number found. 703The 704.Ar config 705argument for the commands below takes the form of a number from 0 to the total 706configurations found. 707.It Cm foreign clear Op config 708Clear the specified foreign 709.Ar config 710or all if no 711.Ar config 712argument is provided. 713.It Cm foreign diag Op config 714Display a diagnostic display of the specified foreign 715.Ar config 716or all if no 717.Ar config 718argument is provided. 719.It Cm foreign preview Op config 720Preview the specified foreign 721.Ar config 722after import or all if no 723.Ar config 724argument is provided. 725.It Cm foreign import Op config 726Import the specified foreign 727.Ar config 728or all if no 729.Ar config 730argument is provided. 731.It Cm flash Ar file 732Updates the flash on the controller with the firmware stored in 733.Ar file . 734A reboot is required for the new firmware to take effect. 735.It Cm start learn 736Start a battery relearn. 737Note that this seems to always result in the battery being completely drained, 738regardless of the BBU mode. 739In particular, the controller write cache will be disabled during the relearn 740even if transparent learning mode is enabled. 741.It Cm bbu Ar setting Ar value 742Update battery backup unit (BBU) properties related to battery relearning. 743The following settings are configurable: 744.Bl -tag -width indent 745.It Cm learn-delay 746Add a delay to the next scheduled battery relearn event. 747This setting is given in hours and must lie in the range of 0 to 255. 748.It Cm autolearn-mode 749Enable or disable automatic periodic battery relearning. 750The setting may be set to 751.Dq enable 752or 753.Dq disable 754to respectively enable or disable the relearn cycle. 755Alternatively, a mode of 0, 1 or 2 may be given. 756Mode 0 enables periodic relearning, mode 1 disables it, and mode 2 disables 757it and logs a warning to the event log when it detects that a battery relearn 758should be performed. 759.It Cm bbu-mode 760Set the BBU's mode of operation. 761This setting is not supported by all BBUs. 762Where it is supported, the possible values are the integers between 1 and 5 763inclusive. 764Modes 1, 2 and 3 enable a transparent learn cycle, whereas modes 4 and 5 do not. 765The BBU's data retention time is greater when transparent learning is not used. 766.El 767.It Cm ctrlprop Ar rebuild Op Ar rate 768With no arguments display the rate of rebuild (percentage)a for volumes. 769With an integer argument (0-100), set that value as the new rebuild rate for volumes. 770.It Cm ctrlprop Ar alarm Op Ar 0/1 771With no arguments display the current alarm enable/disable status. 772With a 0, disable alarms. 773With a 1, enable alarms. 774.El 775.Sh EXAMPLES 776Configure the cache for volume mfid0 to cache only writes: 777.Pp 778.Dl Nm Cm cache mfid0 writes 779.Dl Nm Cm cache mfid0 write-back 780.Pp 781Create a RAID5 array spanning the first four disks in the second enclosure: 782.Pp 783.Dl Nm Cm create raid5 e1:s0,e1:s1,e1:s2,e1:s4 784.Pp 785Configure the first three disks on a controller as JBOD: 786.Pp 787.Dl Nm Cm create jbod 0 1 2 788.Pp 789Create a RAID10 volume that spans two arrays each of which contains two disks 790from two different enclosures: 791.Pp 792.Dl Nm Cm create raid10 e1:s0,e1:s1 e2:s0,e2:s1 793.Pp 794Add drive with the device ID of 4 as a global hot spare: 795.Pp 796.Dl Nm Cm add 4 797.Pp 798Add the drive in slot 2 in the main chassis as a hot spare for volume mfid0: 799.Pp 800.Dl Nm Cm add s2 mfid0 801.Pp 802Reconfigure a disk as a SYSPD block device with no RAID 803.Pp 804.Dl Nm Cm syspd 0 805.Pp 806Configure the adapter to run periodic patrol reads once a week with the first 807patrol read starting in 5 minutes: 808.Pp 809.Dl Nm Cm patrol auto 604800 300 810.Pp 811Display the second detected foreign configuration: 812.Pp 813.Dl Nm Cm show foreign 1 814.Pp 815Set the current rebuild rate for volumes to 40%: 816.Dl Nm Cm ctrlprop rebuild 40 817.Sh SEE ALSO 818.Xr mfi 4 , 819.Xr mrsas 4 820.Sh HISTORY 821The 822.Nm 823utility first appeared in 824.Fx 8.0 . 825