AMCC 9590SE-4ME manual Cx/ux start rebuild disk=pp-p...ignoreECC, Cx/ux start verify

Page 65

Unit Object Commands

noscan is used to not inform the operating system of this change. The default is to inform the operating system.

quiet is used for non-interactive mode. No confirmation is given and the command is executed immediately. This is useful for scripting purposes.

Example of interactive mode: //localhost> /c0/u0 del

Are you sure you want to delete the unit /c0/u0? Enter Y to continue.

/cx/ux start rebuild disk=p<p:-p...>[ignoreECC]

This command allows you to rebuild a degraded unit using the specified disk=p. Rebuild only applies to redundant arrays such as RAID 1, RAID 5, RAID 10, and RAID 50.

During rebuild, bad sectors on the source disk will cause the rebuild to fail. You can allow the operation to continue by using ignoreECC.

The rebuild process is a background task and will change the state of a unit to REBUILDING. Various show commands also show the percent completion as rebuilding progresses.

Note that the disk used to rebuild a unit (specified with disk=p) must be a SPARE or a unconfigured disk. You must first remove the degraded drive(s) before starting the rebuild. Refer to the command “/cx/px remove [noscan] [quiet]” on page 73 for details. Also refer to the command “/cx rescan [noscan]” on page 38 to add new drives or to retry the original drive.

If you are rebuilding a RAID 50 or RAID 10 unit, multiple drives can be specified if more than one sub-array is degraded.

When you issue this command, the specified rebuild will begin if schedules are disabled; otherwise it will pause until the next scheduled rebuild. A file system check is recommended following rebuild when using the ignoreECC option.

/cx/ux start verify

This command starts a background verification process on the specified unit /cx/ux. The following table shows the supported matrix as a function of the controller model and logical unit type.

N/A (Not Applicable) refers to cases where the given logical unit type is not supported on that controller model.

www.3ware.com

59

Image 65
Contents 3ware Command Line InterfaceCopyright Table of Contents Page Cx/ux set autoverify=onoff Return Code About this CLI Guide Page Features of the CLI Introduction to the 3ware Command Line InterfaceTerminology Supported Operating SystemsWorking with 3ware CLI Installing the 3ware CLI on Mac OSUsing a single command with output Using the command interface interactivelyOutputting the CLI to a Text File Using an input file to execute a scriptConventions Understanding RAID Levels and ConceptsRAID Concepts RAID Available RAID ConfigurationsRAID 0 Configuration Example RAID 5 Configuration Example Single Disk Determining What RAID Level to UseUsing Drive Capacity Efficiently CLI Syntax Reference Common Tasks Mapped to CLI CommandsCommon Tasks Mapped to CLI Commands Common Tasks Mapped to CLI Commands Syntax Overview Focus Object Shell Object CommandsShow Show ver Show rebuild Show alarms reverseShow diag Show selftest Show verifyFlush Update fw=filenamewithpath forceRescan CommitCx show Controller Object CommandsCx show Typical output looks like Cx show attribute attributeCx show driver Cx show biosCx show model Cx show firmwareCx show pcb Cx show serialCx show pchip Cx show achipCx show numunits Cx show numportsCx show ctlbus Cx show exportjbodCx show stagger Cx show spinupCx show ondegrade Cx show autocarveCx show memory Cx show carvesizeCx show unitstatus Cx show autorebuildCx show drivestatus Cx show allunitstatus3JV3MVTA Cx show allSupported Stripe Sizes Controller Object Commands Supported Model-Unit Types for ignoreECC Cx rescan noscanCx flush Cx update fw=filenamewithpath forceCx commit Cx show diag Cx show alarms reverseCx show rebuild RAID-5 Initializing Cx show verify Cx show selftest Cx add rebuild=dddhhduration Setting Up a Rebuild ScheduleCx add verify=dddhhduration Setting Up a Verify ScheduleCx del rebuild=slotid Cx add selftest=dddhhCx del selftest=slotid Cx set rebuild=enabledisable1..5Cx del verify=slotid Cx set exportjbod=onoff Cx set verify=enabledisable1..5Cx set selftest=enabledisable task=UDMASMART Cx set spinup=nn Cx set ondegrade=cacheofffollowCx set stagger=nn Cx set autocarve=onoffCx set autorebuild=onoff Cx set carvesize=1024..2048Cx stop mediascan Cx start mediascanCx/ux show Unit Object CommandsCx/ux show status Cx/ux show attribute attributeCx/ux show verifystatus Cx/ux show rebuildstatusCx/ux show initializestatus Cx/ux show nameCx/ux show storsave Cx/ux show qpolicyCx/ux show identify Cx/ux show autoverifyCx/ux show cache Cx/ux show volumesCx/ux show ignoreECC Cx/ux show allCx/ux del noscan quiet Cx/ux remove noscan quietCx/ux start verify Cx/ux start rebuild disk=pp-p...ignoreECCCx/ux stop verify Cx/ux pause rebuildCx/ux resume rebuild Cx/ux set cache=onoff quiet Cx/ux flushCx/ux set autoverify=onoff Cx/ux set ignoreECC=onoff Cx/ux set identify=onoffCx/ux set name=string Cx/ux set qpolicy=onoffCx/ux set storsave=protectbalanceperform quiet By default, qpolicy is offExample Valid Migration Paths Supported Stripe Sizes Migration Process 3JV2Q1VA Cx/px show attribute attribute Port Object CommandsCx/px show Cx/px show model Cx/px show statusCx/px show serial Cx/px show firmwareCx/px show lspeed Cx/px show ncqCx/px show capacity Cx/px show smartCx/px show all Cx/px set identify=onoff Cx/px remove noscan quietCx/bbu show BBU Object CommandsCx/bbu show status Cx/bbu show attribute attributeCx/bbu show lasttest Cx/bbu show batinstCx/bbu show volt Cx/bbu show tempCx/bbu show serial Cx/bbu show bootloaderCx/bbu show fw Cx/bbu show pcbCx/bbu disable quiet Cx/bbu enableEx show Enclosure Object CommandsEx show slots Ex show attribute attributeEx show controllers Ex show temp Ex show fansEx show all Ex/slotx showEx/slotx set identify=onoff Ex/slotx show identifyEx/fanx show Ex/tempx showHelp with specific commands Help CommandsHelp with attributes Help flush HelpHelp show Help rescan Help updateHelp commit Help focusReturn Code