Highlighted
Anonymous
Not applicable

How to know state of VMAX3 device allocations?

Jump to solution

Hi,

we have a new VMAX3 in our infrstructure.

we have made a few devices for tests and stuff and now we want to delete them.

when we try to delete them, we get the following error:

"Device still has tracks allocated"

By searching the web, we now know that we need to issue the command:

symdev -sid <sid> free -all -dev <dev>

after all the tracks have been freed, we can delete the device.

and this is my problem -

i don't know when can i delete the device.

i need to issue the symdev delete command to know if there are still tracks allocated.

is there a field in the symdev show command that i can know if there are still tracks allocated for this device?

or any other way that i can check to see if there are still tracks allocated for the device..

we are running SE 8.4.0.9 on a RHEL server.

Thank you!

Labels (2)
0 Kudos
1 Solution

Accepted Solutions
Highlighted
3 Argentum

Re: How to know state of VMAX3 device allocations?

Jump to solution

The command to use is:

symcfg -sid <sid> list -tdev -dev <dev> -detail

Here's an example where you can see I still have tracks allocated. Note that once you issue a command to free the tracks, the status will change too.

symcfg -sid xx list -tdev -dev 6F -detail


Symmetrix ID: 0001


Enabled Capacity (Tracks) :  219262680

Bound   Capacity (Tracks) :    3276810


                 S Y M M E T R I X   T H I N   D E V I C E S

--------------------------------------------------------------------------

                                     Pool         Pool    Exclusive   Comp

        Bound      Flags      Total  Subs      Allocated  Allocated  Ratio

Sym   Pool Name    ESPT      Tracks   (%)     Tracks (%)     Tracks

----- ------------ ----- ---------- ----- ---------- --- ---------- ------

0006F -            F..B     3276810     -          0   0        697  1.0:1

      DG1_F_F      -.--           -     -        697   0          -      -


Total                    ---------- ----- ---------- --- ---------- ------

Tracks                      3276810     -        697   0        697  1.0:1


Legend:

Flags:  (E)mulation : A = AS400, F = FBA, 8 = CKD3380, 9 = CKD3390

         (S)hared Tracks : S = Shared Tracks Present, . = No Shared Tracks

         (P)ersistent Allocs : A = All, S = Some, . = None

         S(T)atus    : B = Bound, I = Binding, U = Unbinding, A = Allocating,

                       D = Deallocating, R = Reclaiming, C = Compressing,

                       N = Uncompressing, F = FreeingAll, . = Unbound

View solution in original post

2 Replies
Highlighted
3 Argentum

Re: How to know state of VMAX3 device allocations?

Jump to solution

The command to use is:

symcfg -sid <sid> list -tdev -dev <dev> -detail

Here's an example where you can see I still have tracks allocated. Note that once you issue a command to free the tracks, the status will change too.

symcfg -sid xx list -tdev -dev 6F -detail


Symmetrix ID: 0001


Enabled Capacity (Tracks) :  219262680

Bound   Capacity (Tracks) :    3276810


                 S Y M M E T R I X   T H I N   D E V I C E S

--------------------------------------------------------------------------

                                     Pool         Pool    Exclusive   Comp

        Bound      Flags      Total  Subs      Allocated  Allocated  Ratio

Sym   Pool Name    ESPT      Tracks   (%)     Tracks (%)     Tracks

----- ------------ ----- ---------- ----- ---------- --- ---------- ------

0006F -            F..B     3276810     -          0   0        697  1.0:1

      DG1_F_F      -.--           -     -        697   0          -      -


Total                    ---------- ----- ---------- --- ---------- ------

Tracks                      3276810     -        697   0        697  1.0:1


Legend:

Flags:  (E)mulation : A = AS400, F = FBA, 8 = CKD3380, 9 = CKD3390

         (S)hared Tracks : S = Shared Tracks Present, . = No Shared Tracks

         (P)ersistent Allocs : A = All, S = Some, . = None

         S(T)atus    : B = Bound, I = Binding, U = Unbinding, A = Allocating,

                       D = Deallocating, R = Reclaiming, C = Compressing,

                       N = Uncompressing, F = FreeingAll, . = Unbound

View solution in original post

Highlighted
Anonymous
Not applicable

Re: How to know state of VMAX3 device allocations?

Jump to solution

Thank you!!

Exactly what i needed

Adding that these details apply for VMAX2 machines, it can be helpful to see the status of the device (for example when unbinding it from a pool)

0 Kudos