This post is more than 5 years old
1 Rookie
•
51 Posts
1
26945
June 19th, 2015 06:00
Deleting a VMAX3 LUN.
I am challenged with Deleting a VMAX3 lun VIA Unisphere GUI. There is no UNBIND from Pool option and i cant delete thin luns with alocated tracks. The luns also not allocated to a Front End port.
Any Thoughts..
No Events found!
red1918sox
1 Rookie
•
51 Posts
0
June 19th, 2015 07:00
Thanks Keith
echolaughmk
2 Intern
•
522 Posts
1
June 19th, 2015 06:00
You will need to free any allocated tracks on the ydev before you can delete it. There is a symcli command for symdev free -all or in unishpere on the designated volume there should be a reclaim action as part of the options. Once all tracks are freed then you will be able to delete it.
VMAX3 has this new requirement sunce there is no more binding to pools with SRPs in place on the new array.
KW160
121 Posts
0
June 19th, 2015 06:00
On VMAX3 you must run a "free all" to de-allocate all extents:
1. Select the storage system.
2. Select Storage > Volumes.
3. Locate the volumes using the volumes filter.
4. Select one or more volumes, click more >>
5. To free all allocations associated with the volumes, regardless of whether the data is written, select Free all allocations (written and unwritten).
KW160
121 Posts
0
October 4th, 2016 20:00
Where error are you receiving?
KW160
121 Posts
0
October 4th, 2016 20:00
There is no unbind on VMAX3. The only prerequsites to deletion are to unmap the device from all ports and to free all allocated tracks. If you have performed these actions, I would suggest running a rediscover in Unisphere to force it to re-sync it's local database with the array. If that doesn't work then I would suggest opening an SR with Dell EMC support.
nikh8255
1 Rookie
•
12 Posts
0
December 10th, 2016 19:00
Is the any command to verify that all storage has been freed ..... something like symdev -sid 1234 verify freeing -dev xxxx
I Want to write a script which will delete device after freeing up space.
dynamox
9 Legend
•
20.4K Posts
1
December 11th, 2016 20:00
symcfg list -sid 123 -srp -tdev -devs 00060
nikh8255
1 Rookie
•
12 Posts
0
December 11th, 2016 21:00
THanks for the reply dynamox..... but while deleting large luns i hvae seen that "symcfg -sid xxxx list -tdev -devs abcd" shows zero tracks allocated but still while deleting the tdev with symconfigure it says that tracks are still allocated....
SO is there any other way to find that all tracks have been dellocated from tdev and all other backgroud tasks have been completed.....?
nikh8255
1 Rookie
•
12 Posts
0
December 12th, 2016 02:00
THanks for the reply dynamox..... but while deleting large luns i hvae seen that "symcfg -sid xxxx list -tdev -devs abcd" shows zero tracks allocated but still while deleting the tdev with symconfigure it says that tracks are still allocated....
SO is there any other way to find that all tracks have been dellocated from tdev and all other backgroud tasks have been completed.....?
dynamox
9 Legend
•
20.4K Posts
1
December 12th, 2016 06:00
try this
symcfg -sid 123 verify -tdev -devs 00060 -freeingall
johnjaworski
4 Posts
2
December 15th, 2016 12:00
I have found the best way to check that status of the device data "free" with symcfg -sid XX list -tdev -dev DEV -detail
It will show you total tracks and their status.."bound or U for Unbinding".
the REAL answer seems to be ..be patient. While traditional vmax unbind also took some time to unbind from the pool, especially for large drives, hypermax must background that free process further down because it seems to take a good deal longer. Indeed I have seen as well when checking the status with symcfg that I will go all the way down to 0 tracks left but often sit in "U" status or not flip to "." status/unbound so symconfigure will still fail to delete. Come back an hour later and rerun your delete, and all will be well
nerdnair
1 Rookie
•
68 Posts
1
January 13th, 2017 14:00
What level of validation does the symdev -sid xxxx -devs 0123 - 089a free -all command do ?
I had an instance where it did not validate if the LUN was mapped or masked, it went ahead and freed up the data on that LUN / range of LUNs.
nikh8255
1 Rookie
•
12 Posts
0
January 15th, 2017 20:00
I Obeserved that when symdev free command is run the flags of devices shown in in symcfg list -tdev -dex xxxx changes from F..B to F..F (freeingall) and once all the tracks are deallocated it comes back to F..B.....abd then it allows us to delete the device.
so i scripted in the same way..... it works for small devices ... till 512gb
but if the device is 1TB or more then after issueing symdev free command the device flags changes from F..B to F..F (while freeing) to F..B (which now means all tracks deallocated)...... but when i issue command to delete the device, it again throws an error that tracks are still allocated to device even though it shows 0 tracks allocated in symcfg list -tdev - dev xxxx command and could not delete it.....but after some random time it allows me to delete the device.... this is wierd.... let me know if anyone of you face the same......
nikh8255
1 Rookie
•
12 Posts
0
January 15th, 2017 20:00
THanks for sharing.... this is too dangerous..... i guess data is lost in this case and cannot be recovered.....
it will be helpfull if u share ur approach for deleting devices safely.....
nerdnair
1 Rookie
•
68 Posts
0
January 17th, 2017 11:00
Yes the data was lost, however we were able to recover the data from the back ups.
We remove the devices from the storage groups, delete the masking view - set the devices to not_ready
wait for a 24 hour period to ensure no alerts have generated from the hosts.
after the 24 hour period, run a symdev -sid xxxx -devs yyyy-zzzz free -all .