Vous êtes sur la page 1sur 2

How to Reclaim a THIN LUN from VMAX

Author: Dinesh Punyani

xxxx- means SYM/VMAX ID’s last 4 digit

AAAA-SYM Dev ID of the LUN

NOTE:

STEP-1 to STEP-8 are for reclaiming storage from a Server/Storage Group

Step-9 to Step-10 are for reclaiming UNUSED space from THIN LUN to the parent pool

NOTE: Storage Reclaim from a Server will delete all Data on the LUN which is being reclaimed.

1. Create a List of THIN LUNS that needs to be reclaimed.

2. LUN should be un-mounted from HOST/SERVER and make sure No IO operation are happening
on these LUNs.

3. List Down the storage group to which these luns are allocated

Symaccess –sid xxxx list –type storage –dev AAAA

4. Remove the LUN from all Storage Group and FAST Storage GROUP. And Make sure LUN is not
being USED.
Symaccess –sid XXXX –name SERVER_SG remove dev AAAA -unmap
Symaccess –sid xxxx –name FAST_SG remove dev AAAA -unmap

5. After completion of above command. Make the Device in Not Ready State.
symdev -sid xxxx not_ready AAAA

6. Unbind the Device from the Parent Pool


Symconfigure –sid xxxx –f “Unbind.txt” –v preview
Or else
Symconfigure –sid xxxx –cmd “unbind tdev AAAA from pool Tier3_SATA_POOL;” –v preview
Unbind.TXT Content is
unbind tdev AAAA from pool Tier3_SATA_POOL;

Symconfigure –sid xxxx –f “Unbind.txt” –v commit

(After above step all your data is permanently lost)

7. Dissolve Meta LUN to disassociate meta members from Meta Head after UNBINDING the LUN
from POOL.
Symconfigure –sid xxxx –cmd “dissolve meta dev AAAA ;” –v preview

Symconfigure –sid xxxx –cmd “dissolve meta dev AAAA;” –v commit

8. If require you can create Meta TDEVs which are freed up in above steps. But there is no harm in
keeping these TDEVs as thes can be re-used later for new allocations.

Symconfigure –sid xxxx –cmd “delete dev AAAA raidset=false;” –v preview

Symconfigure –sid xxxx –cmd “delete dev AAAA raidset=false;” –v commit

9. If you want to reclaim unused space to pool from a THIN LUN without losing data on that LUN
then follow below Procedure:
Symconfigure –sid xxxx –f “Reclaim.txt” –v preview
Reclaim.TXT Content is
Start free on tdev AAAA start_cyl=0 and end_cyl=last_cyl type =reclaim;

Example: start free on tdev 20C7 start_cyl=0 end_cyl=last_cyl type=reclaim;

Or else
Symconfigure –sid xxxx –cmd “Start free on tdev AAAA start_cyl=0 and end_cyl=last_cyl type
=reclaim;” –v preview
Symconfigure –sid xxxx –f “Reclaim.txt” –v commit

10. To know the current reclaim status you can run below command.

Symcfg –sid xxxx show –thin –pool TIER3_SATA_POOL –detail –GB |FIND /I “Reclaim”

Vous aimerez peut-être aussi