Asset ID: |
1-71-1011303.1 |
Update Date: | 2012-06-11 |
Keywords: | |
Solution Type
Technical Instruction Sure
Solution
1011303.1
:
Sun Storage[TM] 6130/6140/6180/6540/6580/6780: How to Change RAID Level for a VDisk Using CAM or the sscs CLI
Related Items |
- Sun Storage 6580 Array
- Sun Storage Common Array Manager (CAM)
- Sun Storage 6130 Array
- Sun Storage 6540 Array
- Sun Storage 6180 Array
- Sun Storage 6140 Array
- Sun Storage 6780 Array
|
Related Categories |
- PLA-Support>Sun Systems>DISK>Disk Device Software>SN-DK: CAM
- .Old GCS Categories>Sun Microsystems>Storage Software>Modular Disk Device Software
|
PreviouslyPublishedAs
215510
Applies to:
Sun Storage 6140 Array - Version Not Applicable and later
Sun Storage 6130 Array - Version Not Applicable to Not Applicable [Release N/A]
Sun Storage 6540 Array - Version Not Applicable to Not Applicable [Release N/A]
Sun Storage 6580 Array - Version Not Applicable to Not Applicable [Release N/A]
Sun Storage 6780 Array - Version Not Applicable to Not Applicable [Release N/A]
All Platforms
Goal
This document provides the steps necessary to perform Dynamic RAID Migration (DRM) for a given VDisk, using Common Array Manager (CAM) or the sscs CLI (Command Line).
The requirements for this are as follows:
- There can be only one VDisk in a Pool, if you are changing the level at the pool level.
- There can only a single volume in a VDisk, if you are changing the level at the volume level.
- Migrations to a RAID 1+0 require an even number of drives.
- The volume sizes remain unchanged, so a migration from a RAID 5+1 to 3+3 would
require that the volumes can be contained within the space of 3 drives of the
original 5+1 VDisk.
If these requirements are not met, you should expand your VDisk.
Fix
1) List out current profile for a given volume or pool.
Browser:
- Select Storage Systems.
- Expand Your Array Name.
- Click Volumes.
- Click on the Volume Link for your volume name.
- Note the Pool for this volume.
- Click Pools in the left menu panel.
- Click Pool Link for the name of the pool from step 5.
- Note the currently selected Profile for this pool.
- Click Profiles from the left menu panel.
- Click Profile Link for the name of the profile in step 8.
- Note all settings for:
- RAID Level.
- Segment Size.
- Read Ahead Cache setting.
- Number of drives.
- Drive type.
SSCS CLI:
- Get the profile name from the volume:
sscs list -a <array_name> volume <volume_name> | grep Profile
- List profile details:
sscs list -a <array_name> profile <profile_name>
- Note all settings for:
- RAID Level.
- Segment Size.
- Read Ahead Cache setting.
- Number of drives.
- Drive type.
2) Create a new profile with the desired transition RAID Level.
Browser:
- Select Storage Systems.
- Select Profiles.
- Click the New button.
- Define the profile like the current one for the volume, changing the name and RAID Level.
- Click OK.
SSCS CLI:
- Create the new profile based on the following options for sscs:
sscs create -a <array_name> -r <raid_level> -s <segment_size> -h <read_ahead> -n <number_of_drive> -k <drive_type> profile <profile_name>
Example:
sscs create -a myarray -r 1 -s 256K -h off -n variable -k any profile new_RAID1_profile
3)
Create a new pool for this profile.
Browser:
- Select Storage Systems.
- Expand Your Array Name.
- Click Pools.
- Click New button.
- Fill in Pool name and select the profile that you created above.
SSCS CLI:
sscs create -a <array_name> -p <profile_name> pool <new_pool_name>
Example:
sscs create -a myarray -p new_RAID1_profile pool new_RAID1_pool
4) Change the pool of the volume of the VDisk to the new pool.
For the volume:
Browser:
- Select Storage Systems.
- Expand Your Array Name.
- Click Volumes.
- Click on the Volume Link for your volume name.
- Change the Pool Drop-down to the new pool name.
- Click Save.
SSCS CLI:
sscs modify -a <array_name> -p <new_pool_name> volume <volume_to_be_modified>
Example:
sscs modify -a myarray -p new_RAID1_pool volume MyVol
For the VDisk:
Browser:
- Select Storage Systems.
- Expand Your Array Name.
- Click VDisk.
- Click on the Vdisk Link for the vdisk of your set of volumes.
- Change the Pool Drop-down to the new pool name.
- Click Save.
SSCS CLI:
sscs modify -a <array_name> -p <new_pool_name> vdisk <vdisk_to_be_modified>
Example:
sscs modify -a myarray -p new_RAID1_pool vdisk 1
5) Review the job completion.
Browser:
- Select Storage Systems.
- Expand Your Array Name.
- Click Jobs.
SSCS CLI:
sscs list -a <array_name> jobs
Note: DRM, DVE (Dynamic Volume Expansion), DCE (Dynamic Capacity Expansion) or DSS (Dynamic Segment Sizing) cannot be run at the same time. Only one long running job can run on a volume or VDisk at a given time.
6) Check the change.
Browser:
- Select Storage Systems.
- Expand Your Array Name.
- Click Volumes.
- Note the VDisk for your volume.
- Click VDisks.
- Note the RAID Level of the VDisk.
SSCS CLI:
- Get the VDisk number for the volume:
sscs list -a <array_name> volume <volume_name> | grep "Virtual Disk"
Example:
sscs list -a myarray volume MyVol | grep "Virtual Disk"
Virtual Disk: 4
- Get the RAID Level of the VDisk:
sscs list -a <array_name> vdisk <vdisk_number> | grep "RAID Level"
Example:
sscs list -a myarray vdisk 4 | grep "RAID Level"
RAID Level 5
Attachments
This solution has no attachment