AMCC 9550SX, 9500S, 9590SE, 9650SE manual Cx start mediascan

Page 64

Chapter 2. CLI Syntax Reference

autodetect=onoff enables or disables automatic detection of drives on the controller’s ports for staggered spin-up.

disk=<p:-p>allspecifies one or many disks (that is, drives or ports). If a port is empty (no drive is inserted), this feature is disabled for that port and its port number is shown. The example below shows that autodetect has been set to off to initiate staggered spin-up during hot-swapping, where port 3 was empty and ports 5 and 6 had drives inserted.

Example:

//localhost>> /c0 set autodetect=off disk=3:5-6

Setting Auto-Detect on /c0 to [off] for port [3] and for disk [5,6]... Done

If “disk=all,” then all of the drives or ports for that controller are specified.

For example:

//localhost>> /c0 set autodetect=off disk=all

Setting Auto-Detect on /c2 to [off] for all disks/ports... Done.

Usage Scenario:

If you are hot-plugging a large number of drives at the same time and are concerned that you might overload the power supply, you might use this command as follows:

1Issue the command (set autodetect=off) to disable automatic detection of the ports for staggered spin-up.

2If the ports are not emply, pull the drives out of the specified ports.

3Insert (or replace) the drives at the ports specified.

4Issue the command (set autodetect=on) to enable auto detect of the ports with the newly inserted drives.

The preceding steps would spin up the newly inserted drives in a staggered manner. Please note that the command takes longer for ports that do not have drives inserted, since the controller allows time for the empty ports to respond.

/cx start mediascan

This command applies only to 7000/8000 controllers. For 9000 series controllers, use the verify command.

This command provides media scrubbing for validating the functionality of a disk, including bad block detection, remapping, and so forth. The command starts a media scan operation on the specified controller /cx.

58

3ware Serial ATA RAID Controller CLI Guide

Image 64
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 followingWorking with 3ware CLI Using the command interface interactivelyTo use the CLI interactively Using an input file to execute a script Using a single command with outputScripting 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 diag Show alarms reverseShow rebuild Show verify Show selftestRescan FlushCommit 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 ondegrade=cacheofffollow Cx set exportjbod=onoffCx set spinup=nn Cx set autocarve=onoff Cx set stagger=nnCx 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 rebuildstatus Cx/ux show statusCx/ux show verifystatus Cx/ux show initializestatus Cx/ux show nameCx/ux show serial Cx/ux show qpolicyCx/ux show storsave Cx/ux show identifyCx/ux show autoverify Cx/ux show cacheCx/ux show ignoreECC Cx/ux show volumesCx/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 ignoreECC=onoff Cx/ux set identify=onoffSupported RAID Types for Caching Cx/ux set qpolicy=onoff Cx/ux set name=stringCx/ux set storsave=protectbalanceperform quiet Example 3ware Serial ATA RAID Controller CLI Guide Valid Migration Paths Supported Stripe Sizes Example of splitting a mirror Migration ProcessExample 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 disable quiet Cx/bbu enableCx/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 identify Ex/slotx showEx/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