American Megatrends MAN-STOR-ITX27-CLI manual Volume Configuration

Page 9

Volume Configuration

Initial volume configuration can be done in three stages.

1. RAID Disk Creation

At the base level is the RAID CONTROLLER.

CLI> list –-type or –t controller raid <Enter>

Example: list –t controller raid

This will list the available RAID controllers in the system. By default, Software MD will be shown as a RAID controller with controller number “0”. If Hardware RAID controllers present, then they will take precedence over Software MD.

CLI> list –-type or -t PD --controllerno or -n 0 raid <Enter>

Example: list –t pd –n 0 raid

This will list the PD’s that are available for configuration in controller number zero. PD’s can be grouped through a RAID level to form a Logical disk – LD.

CLI>create –-type or -t LD –-stripesize or -p 64

–-diskname or -d /dev/sda (use –d 1 or –d 2…15 on a 3U) –-diskname or –d /dev/sdb

–-diskname or –d /dev/sdc –-diskname or –d /dev/sdd --raidlevel or –r 0 --controllerno or –n 0 --cachemode or –m 3 raid <Enter>

Example: create –t ld –p 64 –d 1 –d 2 –r 1 –n 0 –m 2 raid

This will create a RAID 1 Logical Disk – LD with 64K-chunk size and two disks on a 3U.

Example: create –t ld –p 64 –d /dev/sda –d /dev/sdb –d /dev/sdc –r 5 –n 0 –m 1 raid

This command will crate a RAID 5 Logical disk – LD with 64 k chunk size and three disks on a 1U box.

CLI> list –-type or –t LD raid <Enter>

Example: list –t ld raid

This will list the available RAID LD’s present in the system.

Chapter One: Overview of CLI 3

Image 9 Contents
MAN-STOR-ITX27-CLI 06/07/2010 Revision History Preface Table of Contents Limited Warranty Limitations of Liability Technical Support Disclaimer Accessing CLI PrefaceOverview of CLI NIC-1 Initial SetupThis will list the available RAID LD’s present in the system Volume ConfigurationPage To create a target, use the following commands Similarly a SAN volume can be created as followsNext step is to activate a port for iSCSI traffic Then, to enable the target, use the syntax belowChapter Command SetCLIshow -h Enter For example To find out how the show command works, typeThese commands configure the way alerts are generated Alert ConfigurationDate/Time Configuration Domain ConfigurationThese commands configure the time zone and date These commands display or clear the event log Event log CommandsThese commands configure the network firewall options Firewall ConfigurationGeneral Server Configuration Health ConfigurationThese commands get the health information ISCSI Configuration Command Argument Description These commands configure the License License configurationNetwork Controller Configuration NAS Quota Configuration NAS User / Group Configuration List retrieved will be given for both instead of singlyFor exmaple set -t user -u test1 -p test1 -f Test1 ug Protocol Configuration RAID & Disk Management Commands Command Argument Description Upgrades the firmware for a These commands work on NAS shares and directory Share, Directory & ACL ConfigurationLevel for NT Volume and Snapshot Commands System Control ConfigurationThese commands configure the System controls 3provisiontype 0-ThinCommand Argument Description Command Argument Description UPS Configuration These commands configure the UPS for power managementXml Synchronous replication For example update -l c0v0 -p 50 -m SyncreplicaFor example Update -l c0v0 -g rg0 syncreplica For example Update -l c0v0 -p 50 -m 172.16.70.102These commands configure asynchronous replication Asynchronous ReplicationUtilization bandwidth utilization Command Argument Description Failedduetorollback Command Argument Description Command Argument Description Command Argument Description These commands configure a journal and journal file Journal Volume ManagementExample Example Get -t journalfile -c Cont0 -f jf0 journalPage These commands are to view cdp for journal file Recovery WizardThese commands are used as part of recovery wizard Continuous Data ProtectionStorage Resource Management These commands are used as part of SRMList the tasks in report, pending Workflow queueLocal and Replicated Snapshot validation These commands are used as part of snap validationPage Appendix a Error Codes Code 175 Error in mounting the share 338 License file read write error Code Code Code Code Description Code Description Code Description