This post is more than 5 years old
5 Practitioner
•
274.2K Posts
0
8358
How to know state of VMAX3 device allocations?
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 free -all -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!
WorldPolice
123 Posts
1
July 23rd, 2018 04:00
The command to use is:
symcfg -sid list -tdev -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
Anonymous
5 Practitioner
5 Practitioner
•
274.2K Posts
0
July 24th, 2018 04:00
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)