Sun Microsystems, Inc.  Sun System Handbook - ISO 3.4 June 2011 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-71-1005170.1
Update Date:2011-04-20
Keywords:

Solution Type  Technical Instruction Sure

Solution  1005170.1 :   Sun StorageTek [TM] 6130/6140/6540: How to Change the Segment Size for a Volume Using CAM  


Related Items
  • Sun Storage 6580 Array
  •  
  • Sun Storage 6540 Array
  •  
  • Sun Storage 6180 Array
  •  
  • Sun Storage 6780 Array
  •  
  • Sun Storage 2510 Array
  •  
  • Sun Storage 6130 Array
  •  
  • Sun Storage 6140 Array
  •  
  • Sun Storage 2530 Array
  •  
Related Categories
  • GCS>Sun Microsystems>Storage - Disk>Modular Disk - 6xxx Arrays
  •  

PreviouslyPublishedAs
207258


Description
This document describes the process to change the segment size of a volume using
the Common Array Manager(CAM) or sscs CLI.


Steps to Follow
List out Current Profile for a Given Volume.
Using CAM
  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
  11. Note all settings for
  • RAID Level
  • Segment Size
  • Read Ahead Cache setting
  • Number of drives
  • Drive type
  • Number of Drives

Using sscs

1. Get the profile name from the volume:

sscs list -a array_name volume volume_name | grep Profile

2. List profile details:

sscs list -a array_name profile profile_name

3. Note all settings for

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

Create a new profile with the desired transition segment size

Using CAM

  1. Select Storage Systems
  2. Select Profiles
  3. Click the New Button
  4. Define the profile like the current one for the volume, changing the
    name and segment size.
  5. Click OK

Using sscs

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 myarray -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, 256K can go to 128K or 512K only.

Create a New Pool for This Profile

Using CAM

  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 sscs

sscs create -a arrayname -p new_profile pool new_pool_name

example:

sscs create -a myarray -p new_256K_profile pool new_256K_pool

Change the Pool of the Volume to the New Pool Name

Using CAM

  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 sscs

sscs modify -a array_name -p new_pool_name volume volume_to_be_modified

example:

sscs modify -a myarray -p new_256K_pool volume MyVol

Review the Job Completion

Using CAM

  1. Select Storage Systems
  2. Expand Your Array Name
  3. Click Jobs

Using sscs

sscs list -a array_name jobs

NOTE: Only a single segment resize operation per volume may be executed, at a given time. Internal Comments
For internal Sun use only.


Segment size changes are seen only at the volume level. This can be reviewed

in a vdShow output in the stateCaptureData.dmp file. The following is a

snippit for two volumes in the same 2+1 RAID 5 VDisk.


Virtual Disk Unit 0 Configuration

Volume Type: 2+1 RAID 5

User Label: Mitch

WWN: 600a0b8000170f66000019ad44c60075

Address: 44bb0680

Devnum: 10000000

Capacity: 209715200 blocks

Block Size: 512 bytes

Large IO: 4096 blocks (up to 3 concurrent parts)

Ownership: This controller

Segment Size: 1024 blocks

Stripe Size: 2048 blocks


Virtual Disk Unit 6 Configuration

Volume Type: 2+1 RAID 5

User Label: testvol_6

WWN: 600a0b8000170f66000019b144cdc12b

Address: 44b6f440

Devnum: 10000006

Capacity: 204800 blocks

Block Size: 512 bytes

Large IO: 4096 blocks (up to 3 concurrent parts)

Ownership: This controller

Segment Size: 512 blocks

Stripe Size: 1024 blocks


Note the change in the SEGMENT SIZE decreased from 1024(512K) to 512(256K).


segment, 6130, 6140, 6540, change
Previously Published As
86591

Change History
Date: 2006-10-03
User Name: 31620
Action: Approved
Comment: Verified Metadata - ok
Verified Keywords - ok
Verified still correct for audience - currently set to contract
Audience left at contract as per FvF at
http://kmo.central/howto/content/voyager-contributor-standards.html
Checked review date - currently set to 2007-08-08
Checked for TM - added correct STK trademark
Publishing under the current publication rules of 18 Apr 2005:
Version: 3

Attachments
This solution has no attachment
  Copyright © 2011 Sun Microsystems, Inc.  All rights reserved.
 Feedback