HP Microsoft Windows Server 2003 for Itanium-based Systems manual Sample scenario, Syntax

Page 46

Creating a logical drive

When you use the CLI to create a logical drive, the array that holds the logical drive is created implicitly. (This is different from the GUI procedure, in which the array is created explicitly).

Syntax

<target> create type=ld [parameter=value]

To create a logical drive on a new array, specify both the controller and the drives that are to constitute the new array. For example:

ctrl slot=5 create type=ld drives=1:0,1:1,1:3 raid=adg

To create a logical drive on an existing array, specify the array. You do not need to specify

the drives in this case because they are already defined. For example:

ctrl slot=5 array A create type=ld size=330 raid=adg

Standard parameters for creating a logical drive are described in the following table. If you do not specify a particular parameter when creating a logical drive, the CLI uses the default value for that parameter.

Parameter

Acceptable values

Comments

 

 

 

drives

#:#allallunassigned

Default setting is all.

 

 

 

raid

adg541+010?

Default setting is the highest level that the

 

 

logical drive can accept.

 

 

 

ss

8163264128256default?

Units are KB.* Default setting depends on

 

 

the RAID level.

size

#max?

This parameter determines the desired size

 

 

of the logical drive. Units are MB.* Default

 

 

setting is max.

 

 

 

sectors

3263default

Default setting depends on the operating

 

 

system.

aa

enabledisable

Default setting is enable.

 

 

 

*Use only these units. Do not enter any extra text into the command to specify the units.

Sample scenario

Consider a situation in which you want to create two arrays. One of these arrays needs two logical drives, while the other needs only one.

First, determine what physical drives are available and what their properties are:

=> ctrl ch="Lab 4" pd all show

For this sample scenario, the screen response is:

MSA1000 at Lab 4

unassigned

physicaldrive 1:12 (box 1:bay12, Parallel SCSI, 36.4 GB, OK) physicaldrive 1:13 (box 1:bay13, Parallel SCSI, 9.1 GB, OK) physicaldrive 1:14 (box 1:bay14, Parallel SCSI, 9.1 GB, OK)

Knowing this information, you can now create the first array with one logical drive:

=> ctrl ch="Lab 4" create type=ld drives=1:12

Now, verify that the array has been created:

=> ctrl ch="Lab 4" pd all show

In this case, the screen response is:

MSA1000 at Lab 4 array A

Using the Command Line Interface 46

Image 46
Contents HP Array Configuration Utility User Guide Audience assumptions Contents Diagnosing array problems Getting started Features and system requirementsInstalling ACU This sectionSetting the execution mode for Microsoft Windows Overview for using ACUComparison of ACU execution modes Opening ACU in Local Application mode Choosing an operating modeOpening ACU in Browser mode Http//servername2301Opening ACU through Systems Insight Manager Select Device QueriesTypical Standard mode screen GUI operating modesTypical Configuration Wizards mode screen Completing the configuration process Typical Express Configuration mode screenUsing Standard Configuration mode Configuring a new controllerPossible tasks in Standard Configuration mode Using Express Configuration mode Click Finish Using the configuration wizardsCreating an array Click Create an array, and then click BeginConfiguring a new controller Creating a logical drive Click Create a logical drive, and then click BeginConfiguring a new controller Modifying a configuration using Standard Configuration mode Modifying an existing configurationChoices available after opening ACU Clear Configuration Modifying a configuration using Express modeModifying a configuration using the Configuration wizards Click Express Configuration, and then click BeginClick Controller Settings, and then click Begin Controller settingsCreate an array Create a logical drive Delete arrays Expand Array Delete logical drivesClick Delete logical drives, and then click Begin Click Extend logical drive, and then click Begin Extend logical driveMigrate a logical drive Click Migrate a logical drive, and then click BeginRA4x00 controllers Spare managementSelective Storage Presentation Click Spare Management, and then click BeginMSA and Smart Array Cluster storage controllers Configuring switches Click ACU Switch ConfigurationSplitting a mirrored array Recombining a split, mirrored arrayModifying an existing configuration Introduction to scripting in ACU Command line syntaxScripting in ACU Operating modesSample custom input script Cpqacuxe -i FilenameScript file options Description of option categories in ACU scriptingAction Control categoryController category MethodLicenseKey, DeleteLicenseKey ClearConfigurationWithDataLossController RAIDArrayIDRebuildPriority, ExpandPriority SurfaceScanDelayArray category SSPStateDrive Logical Drive categoryOnlineSpare LogicalDriveStripeSize SizeSectors ArrayAcceleratorConnectionName Error reportingSSPAdaptersWithAccess HostModeACU scripting error messages 0-9, !, @, #, *, , , ,, -, , +, , ., /, and space. The ID Current configuration Overview of the ACU CLI Using the Command Line InterfaceRunning the CLI Keyword abbreviations Command variableCLI syntax Target variableHiding warning prompts Typical proceduresExample command Querying a deviceSample scenario SyntaxModifying the controller chassis name Example commandsExample Using Selective Storage Presentation Sample scenarioModifying connection names Managing host modes connection profilesExpanding an array Deleting target devicesIdentifying devices Extending a logical driveMigrating a logical drive Target modify raid=01+0156adg? ss=8163264128256default?Managing spare drives Target modify size=#max? forcedChanging the Expand Priority setting Changing the Rebuild Priority settingChanging the controller cache ratio Re-enabling a failed logical drive Changing the surface scan delay timeEnabling or disabling the drive cache Disabling a redundant controller Setting the targetEnabling or disabling the array accelerator Typical scenarioRescanning the system = rescanProbability of logical drive failure Factors involved in logical drive failureProbability of logical drive failure Drive arrays and fault-tolerance methods Drive arraysDrive arrays and fault-tolerance methods Fault-tolerance methods Hardware-based fault-tolerance methodsAdvantages RAID 0-No fault toleranceDisadvantages RAID 1+0-drive mirroring RAID 5-distributed data guarding RAID 6 ADG-Advanced Data GuardingComparing the hardware-based RAID methods RAID RAID 6 ADGAlternative fault-tolerance methods Selecting a RAID methodServer Diagnostics Diagnosing array problemsDiagnostic tools Post messagesAcronyms and abbreviations SSP Index Index