![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||
Solution Type Technical Instruction Sure Solution 1003527.1 : Sun Storage 3000 Arrays: How to Create and Map Logical Drive Partitions
PreviouslyPublishedAs 204959 Applies to:Sun Storage 3310 Array - Version Not Applicable and laterSun Storage 3320 SCSI Array - Version Not Applicable and later Sun Storage 3510 FC Array - Version Not Applicable and later Sun Storage 3511 SATA Array - Version Not Applicable and later All Platforms GoalThis document contains examples of some commonly used sccli commands that can be used on the following arrays:
This document provides guidance for the following tasks:
Solution The three sccli sub-commands are as follows: > create logical-drive [raid-level] [disk-list] > configure partition [partition-id] [size] > map [partition-id] [channel].[target].[lun] Examples of these commands First, list the unused disks in the array to determine their channel and IDs. Use the show disks command. Here is an abbreviated sample output: sccli> show disks Ch Id Size Speed LD Status IDs Rev ------------------------------------------------------------------------ 2 2 68.37GB 200MB NONE FRMT SEAGATE ST373307FSUN72G 0307 2 3 68.37GB 200MB NONE FRMT SEAGATE ST373307FSUN72G 0307 2 4 68.37GB 200MB NONE FRMT SEAGATE ST373307FSUN72G 0307 2 5 68.37GB 200MB NONE FRMT SEAGATE ST373307FSUN72G 0307 2 6 68.37GB 200MB NONE FRMT SEAGATE ST373307FSUN72G 0307 2 7 68.37GB 200MB NONE FRMT SEAGATE ST373307FSUN72G 0307 2 8 68.37GB 200MB NONE FRMT SEAGATE ST373307FSUN72G 0307 2 9 68.37GB 200MB NONE FRMT SEAGATE ST373307FSUN72G 0307 2 10 68.37GB 200MB NONE FRMT SEAGATE ST373307FSUN72G 0307 2 11 68.37GB 200MB NONE FRMT SEAGATE ST373307FSUN72G 0307 Creating logical drives This creates a RAID-5 logical drive with 5 disks: > create logical-drive RAID5 2.3,2.4,2.5,2.6,2.7 This creates an NRAID logical drive with 3 disks: > create logical-drive NRAID 2.9,2.10,2.11 After creating a logical disk, run the show logical-drives command to find the LD-ID of the newly-created logical drive. For example: sccli> show logical-drives LD LD-ID Size Assigned Type Disks Spare Failed Status ------------------------------------------------------------------------- ld0 2B4416E8 204.35GB Primary RAID5 5 0 0 Good ld1 4747D39B 68.12GB Primary NRAID 1 0 0 Good ld2 530E5934 68.12GB Primary NRAID 1 0 0 Good ld3 4A52C0E9 204.35GB Primary NRAID 3 0 0 Good Configuring partitions Configure 5 partitions on the logical disk with ID 4A52C0E9, each a different size: configure partition 4A52C0E9-00 100m configure partition 4A52C0E9-01 2g configure partition 4A52C0E9-02 512m configure partition 4A52C0E9-03 1024m configure partition 4A52C0E9-04 4g Partition IDs are composed of the LD-ID (from the show logical-drives command) and a HEX value between 00 and 7F, separated by a dash. In version 3.x FW, this means a maximum of 128 partitions per LD. With version 4.x FW, the maximum number of partitions per LD was reduced to 32 (the number of LDs was increased from 8 to 32). When running this command, the user will be prompted to respond to the following: Repartitioning may cause data to be lost. Change partition table? If the intention is to use this command in a script or a loop, use the --yes option. For example: sccli --yes [device] configure partition 4A52C0E9-00 100m Mapping partitions to LUNs Syntax: map [partition-id] [channel].[target].[lun] The following example will map the given partition to channel 1, target 42 as LUN 0. map 4A52C0E9-3C 1.42.0 The channel and target values should already be set and can be found by running the command show channels. The lun number is a decimal value between 0 and 31
Previously Published As Attachments This solution has no attachment |
||||||||||||
|