AMCC 9550SX, 9500S, 9590SE manual Cx/ux del noscan quiet, Cx/ux start rebuild disk=pp-p...ignoreECC

Page 72

Chapter 2. CLI Syntax Reference

/cx/ux del [noscan] [quiet]

This command allows you to delete a unit. Deleting a unit not only removes the specified unit from the controller's list of managed units, but also destroys the DCB (Disk Configuration Block) metadata. After deleting a unit, ports (or disks) associated with the unit will be part of the free pool of managed disks.

Warning: This is a destructive command and should be used with care. All data on the specified unit will be lost after executing this command.

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

Deleting /c0/u0 will cause the data on the unit to be permanently lost.

Do you want to continue ? YN [N]:

/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 6, RAID 10, and RAID 50.

During rebuild, bad sectors on the source disk will cause the rebuild to fail. RAID 6 arrays are less susceptible to failing since two copies of the data exist. 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 81 for details. Also refer to the command “/cx rescan [noscan]” on page 43 to add new drives or to retry the original drive.

If you are rebuilding a RAID 50, RAID 6, 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.

66

3ware Serial ATA RAID Controller CLI Guide

Image 72
Contents Command Line Interface 3ware Serial ATA RAID ControllerCopyright Table of Contents 3ware Serial ATA RAID Controller CLI Guide Cx/ux set autoverify=onoff 3ware Serial ATA RAID Controller CLI Guide About this CLI Guide Introduction to the 3ware Command Line Interface Features of the CLISupported Operating Systems TerminologyInstalling the 3ware CLI Installing the 3ware CLI on WindowsTo install 3ware CLI on Windows Permissions Required to Run CLIInstalling the 3ware CLI on Linux and FreeBSD To start CLI, do one of the followingUsing the command interface interactively Working with 3ware CLITo use the CLI interactively Using a single command with output Using an input file to execute a scriptScripting example Outputting the CLI to a Text File ConventionsUnderstanding RAID Levels and Concepts RAID ConceptsAvailable RAID Configurations RAIDRAID 1 Configuration Example RAID 5 Configuration Example RAID 6 Configuration Example RAID 10 Configuration Example Single Disk JbodRAID Configuration Types Possible Configurations Based on Number of DrivesDetermining What RAID Level to Use Hot SpareUsing Drive Capacity Efficiently Drive CapacitySupport for Over 2 Terabytes Common Tasks Mapped to CLI Commands CLI Syntax ReferenceCLI Syntax Reference Syntax Overview Port TasksC1 add type=raid1 disk=0-1 Shell Object Commands Focus ObjectShow ExampleShow ver Show alarms reverse Show diagShow rebuild Show verify Show selftestFlush RescanCommit Controller Object Commands Cx showCx show Cx show attribute attribute Cx show bios Cx show driverCx show model Cx show firmwareCx show serial Cx show pcbCx show pchip Cx show achipCx show numports Cx show numunitsCx show ctlbus Cx show exportjbodCx show spinup Cx show staggerCx show ondegrade Cx show autocarveCx show carvesize Cx show memoryCx show autorebuild Cx show unitstatusCx show allunitstatus Cx show drivestatusCx show all 3JV3MVTASupported RAID Types Supported Stripe Sizes KB Supported Model-Unit Types for ignoreECC Cx rescan noscan Cx commit Cx flushCx show alarms reverse Cx show diag Cx show rebuildRAID-5 Initializing Cx show verify Cx show selftest Setting Up a Rebuild Schedule Cx add rebuild=dddhhdurationSetting Up a Verify Schedule Cx add verify=dddhhdurationSetting Up a Selftest Schedule Cx add selftest=dddhhCx set rebuild=enabledisable1..5 Cx del rebuild=slotidCx del verify=slotid Cx del selftest=slotidCx set verify=enabledisable1..5 Cx set selftest=enabledisable task=UDMASMARTCx set exportjbod=onoff Cx set ondegrade=cacheofffollowCx set spinup=nn Cx set stagger=nn Cx set autocarve=onoffCx set carvesize=1024..2048 Cx set autorebuild=onoff Cx set autodetect=onoff disk=p-pallCx start mediascan Unit Object Commands Cx stop mediascanCx/ux show Cx/ux show status Cx/ux show rebuildstatusCx/ux show verifystatus Cx/ux show initializestatus Cx/ux show nameCx/ux show serial Cx/ux show qpolicy Cx/ux show storsave Cx/ux show identify Cx/ux show autoverify Cx/ux show cacheCx/ux show volumes Cx/ux show ignoreECCCx/ux show all Cx/ux remove noscan quiet Cx/ux del noscan quiet Cx/ux start rebuild disk=pp-p...ignoreECCCx/ux start verify Cx/ux pause rebuildCx/ux resume rebuild Supported RAID Logical Unit Types for VerificationCx/ux stop verify Cx/ux flushCx/ux set autoverify=onoff Cx/ux set cache=onoff quietCx/ux set identify=onoff Cx/ux set ignoreECC=onoffSupported RAID Types for Caching Cx/ux set name=string Cx/ux set qpolicy=onoffCx/ux set storsave=protectbalanceperform quiet Example 3ware Serial ATA RAID Controller CLI Guide Valid Migration Paths Supported Stripe Sizes Migration Process Example of splitting a mirrorExample of capacity expansion Example of migrate output Port Object Commands Cx/px showCx/px show status Cx/px show modelCx/px show serial Cx/px show firmwareCx/px show ncq Cx/px show lspeedCx/px show capacity Cx/px show smartCx/px show all Cx/px remove noscan quiet Cx/px set identify=onoffBBU Object Commands Cx/bbu showCx/bbu show attribute attribute Cx/bbu show statusCx/bbu show batinst Cx/bbu show lasttestCx/bbu show volt Cx/bbu show tempCx/bbu show bootloader Cx/bbu show serialCx/bbu show fw Cx/bbu show pcbCx/bbu enable Cx/bbu disable quietCx/bbu test quiet Enclosure Object Commands Ex showEx show attribute attribute Ex show controllersEx show slots Ex show fansEx show temp Ex show allEx/slotx show Ex/slotx show identifyEx/slotx set identify=onoff Help Commands Help with specific commandsEx/fanx show Ex/tempx showAttribute attribute Help with attributes HelpHelp update Help showHelp flush Help rescanHelp focus Help /cxHelp /cx/ux Help /cx/pxCommand Logging Return CodeHelp /ex/fanx Help /ex/tempxIf you type