1、Data bits: 8 Parity: None Stop bits: 1 Flow control:The CLI input screen is displayed. f. 在出现的 CLI 窗口里点击回车键,会出现 cli 提示符,此时可以输入配置命令了 下面介绍一些常用的命令 创建逻辑驱动器 Creating LUNs 基本命令 Basic command ADD UNIT 命令参数选项 Command options DATA=“DISKzzz” the number of an individual drive to incorporate into the LUN. Disks
2、 are identified by box number and bay number. For example, DISK110 identifies disk 10 in box number 1. DATA=“DISKxxx-DISKyyy” a range of drives is to be incorporated into the DISK101-DISK105 identifies disks 1 through 5 in box number 1. Note: Quotation marks must be entered both before and after the
3、 data disk drives that are to be included in the LUN. RAID_LEVEL= xxx the RAID fault-tolerance level to use, where xxx represents:0 = RAID 0 (no fault tolerance) 1 = RAID 1 (mirroring) 5 = RAID 5 (distributed parity) ADG = Advanced Data Guarding (ADG) If more than one pair of drives are included in
4、a RAID 1 array, the data is striped across the first half of the drives in the array and then each drive is mirrored to a drive in the remaining half of the drives for fault tolerance. This method is referred to as RAID 1+0. STRIPE_SIZE= xxx (optional) the stripe size to assign (in KB), where xxx re
5、presents 8, 16, 32, 64, 128, or 256 Kilobytes. RAID 0 uses stripe sizes 8, 16, 32, 64, 128, and 256 (Default: 128 KB) RAID 1 uses stripe sizes 8, 16, 32, 64, 128, and 256 (Default:RAID 5 uses stripe sizes 8, 16, 32, and 64 (Default: 16 KB) RAID ADG uses stripe sizes 8, 16, 32, and 64 (Default:SIZE=
6、xxxxyy (optional) how much of the available space on the indicated drives is to be used for the LUN, where xxxx represents the LUN size and yy indicates MB or GB. (When GB is entered, all return displays will be converted to MB.) If no size is specified, the maximum available space of the included d
7、isks will be assigned to the unit. See “Creating Multiple LUNs on a Group of Drives” for an example of using the Size command option. SPARE=DISKxxx (optional) disk(s) to assign as a spare to the unit, where xxx represents the disk number. More than one disk can be assigned as a spare to a LUN. MAXBO
8、OT=ENABLE/DISABLE (optional) changes the size of the boot partition. Enable = 8-GB boot partition (default) Disable = 4-GB boot partition CACHE=ENABLE/DISABLE (optional) determines whether to use the array controller cache for the LUN. Enable = (default) use the array controller cache Disable = not
9、use the array controller cache Creating a single LUN from a group of drives To create one LUN from an individual drive or group of drives:Example command CLI ADD UNIT 0 DATA=”DISK101-DISK107 DISK110” RAID_LEVEL=ADG STRIPE_SIZE=64 Maintain a record of the units as they are created. These Unit ID numb
10、ers are used in other CLI commands. In addition to recording the unit number, the drives included, RAID type and size, record the order in which they are created . Command options 0 LUN 0 is to be created. DATA=”DISK101-DISK107 DISK110” drives 1 through 7 and disk 10 in box number 1 are to incorpora
11、ted into the LUN. RAID_LEVEL=ADG RAID level ADG will be used when creating LUN 0. STRIPE_SIZE=64 stripe size of 64 will be used when creating LUN 0. Example CLI response First volume to be configured on these drives. Logical Unit size = 69460 MB RAID overhead = 0 MB Total space occupied by new unit
12、= 69460 MB Free space left on this volume = 0 MB Unit 0 is created successfully. 创建多个逻辑驱动器 Creating Multiple LUNs on a group of drives To carve out multiple LUNs from a drive or group of drives, use the ADD UNIT command and include the SIZE= command option. Repeat the command using a unique LUN ID f
13、or each LUN, along with the desired size parameter. ADD UNIT 1 DATA=”DISK111-DISK114” RAID_LEVEL=5 STRIPE_SIZE=32 SIZE=1000MB included, RAID type and size, and record the order in which they are created . 1 LUN 1 is to be created. DATA=”DISK111-DISK114” drives 11 through 14 in box number 1 to the LU
14、N. RAID_LEVEL=5 RAID 5 will be used when creating the LUN. STRIPE_SIZE=32 stripe size of 32 will be used when creating the LUN. SIZE=1000MB 1000 MB of the available space will be used for the LUN. The following display is a continuation of the previous example, creating three LUNs on the same group
15、of physical drives. The logical unit size has been adjusted by 4MB for optimal performance. Logical Unit size = 996 MB RAID overhead = 498 MB Total space occupied by new unit = 1494 MB Free space left on this volume = 24533 MB Unit 1 is created successfully. ADD UNIT 2 DATA=”DISK111-DISK114” RAID_LE
16、VEL=5 STRIPE_SIZE=32 SIZE=2000MB Logical Unit size = 2000 MB RAID overhead = 1000 MB Total space occupied by new unit = 3000 MB Free space left on this volume = 21533 MB Unit 2 is created successfully. ADD UNIT 3 DATA=”DISK111-DISK114” RAID_LEVEL=5 STRIPE_SIZE=16 SIZE=4000MB Logical Unit size = 4000
17、 MB RAID overhead = 2000 MB Total space occupied by new unit = 6000 MB Free space left on this volume = 15533 MB Unit 3 is created successfully. 创建带指定 spare 的逻辑驱动器 Creating a LUN with an assigned spare To create a LUN and assign a spare at the same time, use the ADD UNIT command and include the SPAR
18、E= command option. More than one spare can be assigned to the same LUN and the same spare can be available to multiple LUNs. ADD UNIT 4 DATA=”DISK211-DISK212” RAID_LEVEL=1 SPARE=”DISK213” 4 LUN 4 is to be created. DATA=”DISK211-DISK212” drives 11 through 12 in box number 2 are to be incorporated int
19、o the LUN. RAID_LEVEL=1 RAID 1 will be used when creating the LUN. SPARE=”DISK213” the drive in bay 13 of box 2 will be assigned as a spare drive to the LUN. Quotation marks must be entered both before and after the disk drive that is to be designated as a spare for the LUN. RAID overhead = 69460 MB
20、 Total space occupied by new unit = 138920 MB Unit 4 is created successfully. 给逻辑驱动器指定名字或 ID-Assigning a name or ID to a LUN If desired (or required by your operating system), each LUN can be assigned a unique name or ID in addition to its number. These user-defined names make it easier to identify
21、specific LUNs in other configuration procedures. OpenVMS systems require each LUN to have a unique ID. No two devices in the entire SAN for this OpenVMS system may share ID numbers. LUNs in different storage systems must have different IDs. Basic command SET UNIT_ID SET UNIT_ID 0 ABC 0 LUN 0 is bein
22、g assigned a name . ABC is the name to assign to LUN 0. The name of this LUN will be ABC . Identifier “ABC” created for unit 0 添加一个 SPARE 盘 -Adding a spare to a LUN To add a spare to an existing LUN:ADD SPARE ADD SPARE UNIT=2 DISK109 UNIT=2 the unit to assign the spare to. This is the same number th
23、at was given to the unit when it was created with the ADD UNIT command. In this example, LUN 2 will have use of the spare. DISK109 indicates the drives to assign as the spare to the LUN. Disks are identified by box number and bay number. In this example, drive 9 in box number 1 is to be used. 删除一个逻辑
24、驱动器 -Deleting LUNs To delete the last created LUN: If more than one LUN has been created, only the last LUN created can be deleted. It is important to maintain a record of the unit numbers and the order in which they are created. After a LUN is deleted, its unit number goes unused until manually ass
25、igned to a new LUN. Unit numbers are not automatically reassigned when a LUN is deleted. DELETE UNIT DELETE UNIT 4 4 the unit to delete. This is the same number that was given to the unit when it was created with the ADD UNIT command. In this example, LUN 4 is to be deleted. Data will be lost after the unit is deleted. Do you still want to DELETE unit 4 (Y/N)? Y Please wait while unit 4 is being deleted Unit 4 is deleted successfully. 删除 spares To remove a spare from u
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1