![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||
Solution Type Technical Instruction Sure Solution 1005170.1 : Sun StorageTek 6000 and 2500 Series Arrays: How to Change the Segment Size for a Volume Using CAM
PreviouslyPublishedAs 207258 Applies to:Sun Storage 6540 Array - Version Not Applicable and laterSun Storage 6180 Array - Version Not Applicable and later Sun Storage 2530 Array - Version Not Applicable and later Sun Storage 6780 Array - Version Not Applicable and later Sun Storage 2510 Array - Version Not Applicable and later All Platforms GoalThis document outlines the steps to change the segment size of an existing volume using Common Array Manager (CAM). The procedure preserves all data and may be done online via the Command Line Interface, (using sscs), or with the Web Browser Interface. Both approaches are provided herein. Solution1. Document your current volume attributes: Using Common Array Manager GUI :
Using Common Array Manager CLI (sscs): The sscs CAM command-line interface is found in the following locations:
Solaris: /opt/SUNWstkcam/bin/ Linux: /opt/sun/cam/bin/ Windows: C:\Program Files\Sun\Common Array Manager\bin Get the profile name (and details) for the volume. # sscs list -a array_name volume volume_name | grep Profile For example: # sscs list -a array_name profile profile_name For example: Note the following attributes for subsequent work.
2. Create a new profile with the desired transition segment size: Using CAM GUI :
Using CAM CLI : Create the new profile based on the following options for sscs: # sscs create -a arrayname -r RAIDLEVEL -s segment_size -h read_ahead -n #drives -k drive_type profile profile_name For Example:
NOTE: The segment can only transition by double or half the current value for the volume. For example, 512K can go to 256K or 1024K only.
3. Create a New Pool for This Profile: Using CAM GUI :
Using CAM CLI : # sscs create -a arrayname -p new_profile pool new_pool_name For example: 4. Change the Pool of the Volume to the New Pool: Using CAM GUI :
Using CAM CLI : # sscs modify -a array_name -p new_pool_name volume volume_to_be_modified For example: 5. Review the Job Completion: Using CAM GUI :
Using CAM CLI : # sscs list -a s2510-array-a jobs
Job ID: 2012.12.28.09.29.42.209 Status: In progress # sscs list -a s2510-array-a jobs 2012.12.28.09.29.42.209 Job ID: 2012.12.28.09.29.42.209 Type: Volume Segment Size Change Status: In progress % Complete: 78 Time to Completion: 00:00:05 Priority: Unknown
NOTE: Only a single segment resize operation per volume may be executed, at a given time.
Upon completion of the job, you can use sscs to see the new segment size of the volume. # sscs list -a s2510-array-a volume 512-vol
Volume: 512-vol Type: Standard WWN: 60:0A:01:80:00:00:AB:CD:00:00:AB:CD:EF:00:01:BD Pool: new_256K_pool Profile: new_256K_profile Virtual Disk: 3 Size: 2.000 GB State: Free Status: Online Action: Ready Condition: Optimal Read Only: No Controller: B Preferred Controller: B Modification Priority: High RAID Level: 5 Segment Size: 256 KB Read Cache: Disabled Write Cache: Enabled Write Cache with Replication: Enabled Write Cache without Batteries: Disabled Write Cache Active: True Flush Write Cache After: 10 s Disk Scrubbing: Disabled Disk Scrubbing with Redundancy: Disabled Security: None Pre-Read Redundancy Check: Disabled Attachments This solution has no attachment |
||||||||||||
|