November 14, 2012

EMC DMX-4 Storage Reclamation using CLI




STORAGE RECLAMATION – Summary

  • Unmasking
  • Write Disable
  • Un-mapping
  • Dissolve meta
  • Deleting hypers

STORAGE RECLAMATION - Detailed Steps
 
1). Unmasking

Unmasking devices from the host
symmaskdb –sid 1234 –www 10000000c93f62cf –dir 7d –p 0 remove devs 26ca

Refresh the Symmetrix Array
symmask –sid 1234 –refresh

2). Write Disable

Write Disable the devices before unmapping from the Director and from port
symdev -sid 1234 write_disable 26ca -sa 7d -p 0 -noprompt

3). Un-mapping

Create a cmd/txt file with the following line
unmap dev 26ca from dir all:all;

Perform preview operation using symconfigure command
symconfigure –sid 1234 –f unmap.txt –v –nop preview

Perform prepare operation using symconfigure command
symconfigure –sid 1234 –f unmap.txt –v –nop prepare

Perform Commit operation using symconfigure command
symconfigure –sid 1234 –f unmap.txt –v –nop commit

Verify that the device has been unmapped
symdev –sid 1234 list -noport

4). Dissolve meta

To Dissolve meta create a cmd/txt file with the following line
dissolve meta dev 26ca;

Perform preview operation using symconfigure command
symconfigure –sid 1234 –f dissolve.txt –v –nop preview

Perform prepare operation using symconfigure command
symconfigure –sid 1234 –f dissolve.txt –v –nop prepare

Perform Commit operation using symconfigure command
symconfigure –sid 1234 –f dissolve.txt –v –nop commit

Verify that the meta has been Dissoved
symdev –sid 1234 list –noport

5). Deleting Hypers

To delete the hypers create a cmd/txt file with the following line
delete dev 26ca:26d1;

Perform preview operation using symconfigure command
symconfigure –sid 1234 –f dissolve.txt –v –nop preview

Perform prepare operation using symconfigure command
symconfigure –sid 1234 –f dissolve.txt –v –nop prepare

Perform Commit operation using symconfigure command
symconfigure –sid 1234 –f dissolve.txt –v –nop commit

Verify that Hypers have been deleted
symdev –sid 1234 list -noport

No comments :