Thin Pool Deletion Procedure

Suppose we have a thin pool called Tier1_500GB in Vmax array 1234, and there is no TDEVS binded to this pool( we already unbinded all the TDEVs associated with Tier1_500GB ). Tier1_500GB contains DATA devices AAAA and AAAB . Following are the steps i followed to completely delete the THIN POOL from the array.

Note : We can only delete a THIN POOL if it doesn't have any DATA devices. So, first we have to remove all the DATA devices from the THIN POOL. The DATA devices must be DISABLED prior to remove from the THIN POOL.

1

Make sure that Tier1_500GB not bounded by any TDEVS and no tracks are allocated from this pool

Use the below command to display all the thin pools and verify.

symcfg -sid 1234 list -thin -pool -detail

2

Get all the ENABLED DATA devices associated with THIN POOL

Below command lists all the ENABLED DATA devices.

symcfg -sid 1234 show -pool Tier1_500GB -thin -pool

3

Disable all the DATA devices in the THIN POOL

symconfigure -sid 1234 -cmd "disable dev AAAA:AAAB in pool Tier1_500GB, type=thin;" preview
symconfigure -sid 1234 -cmd "disable dev AAAA:AAAB in pool Tier1_500GB, type=thin;" prepare
symconfigure -sid 1234 -cmd "disable dev AAAA:AAAB in pool Tier1_500GB, type=thin;" commit

Confirm that all the DATA devices are in DISABLED state by using below command.

symcfg -sid 1234 list -thin -pool -detail -all
( -all option will list the DISABLED DATA devices too )

If all the DATA devices in the THIN POOL are in DISABLED state, then the state of THIN POOL also changes to DISABLED.

4

Remove the DATA devices from THIN POOL

symconfigure -sid 1234 -cmd "remove dev AAAA:AAAB in pool Tier1_500GB, type=thin;" preview
symconfigure -sid 1234 -cmd "remove dev AAAA:AAAB in pool Tier1_500GB, type=thin;" prepare
symconfigure -sid 1234 -cmd "remove dev AAAA:AAAB in pool Tier1_500GB, type=thin;" commit

5

Delete THIN POOL

symconfigure -sid 1234 -cmd "delete pool Tier1_500GB, type=thin;" preview
symconfigure -sid 1234 -cmd "delete pool Tier1_500GB, type=thin;" prepare
symconfigure -sid 1234 -cmd "delete pool Tier1_500GB, type=thin;" commit

Done !