AMCC 9500S manual Migration Process, Example of splitting a mirror, Example of capacity expansion

Page 81

Unit Object Commands

autoverify attribute enables the autoverify attribute on the unit that is to be migrated. For more details on this feature, see “/cx/ux set autoverify=onoff” on page 68.

Migration Process

In all cases of migration, the background migration process must be completed before the newly sized unit is available for use. You can continue using the original unit during this time. Once the migration is finished, a reboot will be required if you are booted from the unit. For secondary storage, depending on your operating system, you may need to first unmount the unit, then use CLI commands to ‘remove’ and ‘rescan’ the unit so that the operating system can see the new capacity, and then remount the unit. For details see “/cx/ux remove [noscan] [quiet]” on page 65 and “/cx rescan [noscan]” on page 43.

You may also need to resize the file system or add a new partition. For instructions, consult the documentation for your operating system.

Warning: It is important that you allow migration to complete before adding drives to the unit. Making physical changes to the unit during migration may cause the migration process to stop, and can jeopardize the safety of your data.

Example of splitting a mirror

//localhost> /c1/u3 migrate type=single

Indicates that u3 should be split into Single units. In this case, u3 is a RAID-1 and the Migrate command splits u3 into u3 and ux, each with a RAID type of Single.

Warning: Make sure that no I/O is pending before splitting a mirror. If the Raid 1 is the boot device, you should boot from a different device before splitting the mirror.

Example of capacity expansion

//localhost> /c0/u3 migrate type=raid10 disk=10-11 stripe=16

Indicates that the destination unit has a RAID type of raid10 and has added the disks 10 and 11 to the disks in the existing unit u3.

www.3ware.com

75

Image 81
Contents 3ware Serial ATA RAID Controller Command Line InterfaceCopyright 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 Features of the CLI Introduction to the 3ware Command Line InterfaceTerminology Supported Operating SystemsInstalling the 3ware CLI on Windows Installing the 3ware CLITo install 3ware CLI on Windows Permissions Required to Run CLITo start CLI, do one of the following Installing the 3ware CLI on Linux and FreeBSDUsing 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 Conventions Outputting the CLI to a Text FileRAID Concepts Understanding RAID Levels and ConceptsRAID Available RAID ConfigurationsRAID 1 Configuration Example RAID 5 Configuration Example RAID 6 Configuration Example RAID 10 Configuration Example Jbod Single DiskPossible Configurations Based on Number of Drives RAID Configuration TypesDetermining What RAID Level to Use Hot SpareDrive Capacity Using Drive Capacity EfficientlySupport for Over 2 Terabytes CLI Syntax Reference Common Tasks Mapped to CLI CommandsCLI Syntax Reference Port Tasks Syntax OverviewC1 add type=raid1 disk=0-1 Focus Object Shell Object CommandsExample ShowShow ver Show alarms reverse Show diagShow rebuild Show selftest Show verifyFlush RescanCommit Cx show Controller Object CommandsCx show Cx show attribute attribute Cx 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 RAID Types Supported Stripe Sizes KB Supported Model-Unit Types for ignoreECC Cx rescan noscan Cx flush Cx commitCx show alarms reverse Cx show rebuild Cx show diagRAID-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 add selftest=dddhh Setting Up a Selftest ScheduleCx del rebuild=slotid Cx set rebuild=enabledisable1..5Cx del verify=slotid Cx del selftest=slotidCx set selftest=enabledisable task=UDMASMART Cx set verify=enabledisable1..5Cx set exportjbod=onoff Cx set ondegrade=cacheofffollowCx set spinup=nn Cx set stagger=nn Cx set autocarve=onoffCx set carvesize=1024..2048 Cx set autodetect=onoff disk=p-pall Cx set autorebuild=onoffCx start mediascan Cx stop mediascan Unit Object CommandsCx/ux show Cx/ux show status Cx/ux show rebuildstatusCx/ux show verifystatus Cx/ux show name Cx/ux show initializestatusCx/ux show serial Cx/ux show qpolicyCx/ux show identify Cx/ux show storsaveCx/ux show autoverify Cx/ux show cacheCx/ux show volumes Cx/ux show ignoreECCCx/ux show all Cx/ux remove noscan quiet Cx/ux start rebuild disk=pp-p...ignoreECC Cx/ux del noscan quietCx/ux pause rebuild Cx/ux start verifyCx/ux resume rebuild Supported RAID Logical Unit Types for VerificationCx/ux flush Cx/ux stop verifyCx/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 Cx/px show Port Object CommandsCx/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 enable Cx/bbu disable quietCx/bbu test quiet Ex show Enclosure Object CommandsEx show controllers Ex show attribute attributeEx show fans Ex show slotsEx show temp Ex show allEx/slotx show Ex/slotx show identifyEx/slotx set identify=onoff Help with specific commands Help CommandsEx/fanx show Ex/tempx showAttribute attribute Help Help with attributesHelp show Help updateHelp flush Help rescanHelp /cx Help focusHelp /cx/ux Help /cx/pxReturn Code Command LoggingHelp /ex/fanx Help /ex/tempxIf you type