Sun Microsystems, Inc.  Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-71-1005170.1
Update Date:2017-10-05
Keywords:

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  


Related Items
  • Sun Storage 6180 Array
  •  
  • Sun Storage 6580 Array
  •  
  • Sun Storage 2540-M2 Array
  •  
  • Sun Storage 6780 Array
  •  
  • Sun Storage 2510 Array
  •  
  • Sun Storage 6140 Array
  •  
  • Sun Storage 2530-M2 Array
  •  
  • Sun Storage 2530 Array
  •  
  • Sun Storage 6540 Array
  •  
  • Sun Storage 6130 Array
  •  
Related Categories
  • PLA-Support>Sun Systems>DISK>Arrays>SN-DK: 6130
  •  
  • _Old GCS Categories>Sun Microsystems>Storage - Disk>Modular Disk - 6xxx Arrays
  •  

PreviouslyPublishedAs
207258


Applies to:

Sun Storage 6540 Array - Version Not Applicable and later
Sun 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

Goal

This 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.

Solution

1. Document your current volume attributes:

Using Common Array Manager GUI :

  1. Select Storage Systems
  2. Expand Your Array Name
  3. Click Volumes
  4. Click on the Volume Link for your volume name
  5. Note the Pool for this volume
  6. Click Pools in the left menu panel
  7. Click Pool Link for the name of the pool from step 5
  8. Note the currently selected Profile for this pool
  9. Click Profiles from the left menu panel
  10. Click Profile Link for the name of the profile in step 8

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 s2510-array-a volume 512-vol | grep Profile
    Profile:                         Default   

# sscs list -a array_name profile profile_name

For example:
# sscs list -a s2510-array-a  profile Default
  Profile: Default
  Profile In Use:            Yes
  Factory Profile:           Yes
  Description:               Pre-configured Default profile
  RAID Level:                5
  Segment Size:              512 KB
  Read Ahead:                On
  Optimal Number of Drives:  Variable
  Disk Type:                 Any
  Dedicated Hot Spare:       No
  Pool:                      Default

Note the following attributes for subsequent work.

  • RAID Level
  • Segment Size
  • Read Ahead Cache setting
  • Number of drives
  • Drive type

2. Create a new profile with the desired transition segment size:

Using CAM GUI :

  1. Select Storage Systems
  2. Select Profiles
  3. Click the New Button
  4. Define a profile exactly like the current one, except for the segment size (see note on allowable segment size values) 
  5. Click OK

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:
# sscs create -a s2510-array-a -r 5 -s 256K -h off -n variable -k ANY profile  new_256K_profile

 

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 :

  1. Select Storage Systems
  2. Expand Your Array Name
  3. Click Pools
  4. Click New button
  5. Fill in Pool name and select the profile that you created above.

Using CAM CLI :

# sscs create -a arrayname -p new_profile pool new_pool_name

For example:
# sscs create -a s2510-array-a -p new_256K_profile pool new_256K_pool

4. Change the Pool of the Volume to the New Pool:

Using CAM GUI :

  1. Select Storage Systems
  2. Expand Your Array Name
  3. Click Volumes
  4. Click on the Volume Link for your volume name
  5. Change the Pool Drop-down to the new pool name
  6. Click Save

Using CAM CLI :

# sscs modify -a array_name -p new_pool_name volume volume_to_be_modified

For example:
# sscs modify -a s2510-array-a -p new_256K_pool volume 512-vol

5. Review the Job Completion:

Using CAM GUI :

  • Select Storage Systems
  • Expand Your Array Name
  • Click Jobs

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
  Copyright © 2018 Oracle, Inc.  All rights reserved.
 Feedback