HPE Storage Users Group https://3parug.net/ |
|
[SOLVED] Ghost VVol volumes after completely removing VVol https://3parug.net/viewtopic.php?f=18&t=3241 |
Page 1 of 1 |
Author: | godosh [ Thu Jul 11, 2019 2:15 pm ] |
Post subject: | [SOLVED] Ghost VVol volumes after completely removing VVol |
Hello, We tested VVol for a few weeks with VMware, and created a few VMs, and decided to completely remove it from the 3PAR. Now, a few months later, I still have a bunch of stale VVs linked to VMs that used to be on the VVol storage container, and I couldn't find a way to remove them. showcpg: Code: ----------------------(MB)----------------------- ----Volumes---- -Usage- ------ Usr ------ ------ Snp ------ ---- Adm ---- Id Name Warn% VVs TPVVs TDVVs Usr Snp Total Used Total Used Total Used 1 FC_r5 - 38 28 0 38 1 2734464 2718080 140928 82944 32768 9600 0 FC_r6_ss12 - 31 31 0 27 31 29294080 29294080 20237696 20228352 71680 59392 2 SSD_r5_ss4 - 3 1 2 3 0 756352 756352 11648 0 49152 35456 3 SSD_r5_ss9 - 1 1 0 1 0 1097216 1097216 16896 0 8192 1152 --------------------------------------------------------------------------------------------- 4 total 69 32 33882112 33865728 20407168 20311296 161792 105600 It shows 38 VVs for CPG FC_r5, although I really only have 1 VV on that CPG! showvv -cpg FC_r5 Code: ----Rsvd(MB)----- -(MB)- Id Name Prov Type CopyOf BsId Rd -Detailed_State- Adm Snp Usr VSize 41 some_vv tpvv base --- 41 RW normal 1280 82944 243328 409600 ------------------------------------------------------------------------------------- 1 total 1280 82944 243328 409600 Now the "showvvolsc" command shows I have no storage container because I deleted it when removing VVol from the system: Code: -------(MB)------- Name Num_VMs Num_VVols In_Use Provisioned ------------------------------------------ total 0 0 0 0 What do you think? |
Author: | MammaGutt [ Fri Jul 12, 2019 1:20 am ] |
Post subject: | Re: Ghost VVol volumes after completely removing VVol |
what about "showvvcpg" and "showvvolvm -sc sys:all" ? If there are any ghost volumes they should also be in a vvset so showvvset should also display them. |
Author: | godosh [ Mon Jul 15, 2019 11:08 am ] |
Post subject: | Re: Ghost VVol volumes after completely removing VVol |
"showvvolvm -sc sys:all" shows all the ghost VMs, but there are no more Storage Container on this system, and the vvol vvset has also been deleted. All the ghost VMs are in the state "unbound". There is absolutely no signs of the previous vvol vvset or storage container, only the vvol VMs are there. Also, the CPG in which the vvol vvset used to be still contains the ghost vvol VMs, because it counted towards the number of volumes in the CPG. What would be the next step? |
Author: | MammaGutt [ Mon Jul 15, 2019 11:24 am ] |
Post subject: | Re: Ghost VVol volumes after completely removing VVol |
If there is no storage container and no vvset, there should be no vluns (exports). So you can just delete the VVs. Not sure if you have any options in SSMC but you can do it from CLI. help removevv Would be your place to start. |
Author: | godosh [ Tue Jul 16, 2019 8:56 am ] |
Post subject: | Re: Ghost VVol volumes after completely removing VVol |
That solved it! Thank you so much for saving my day. I had to set this environment variable first to see the vvol VMs: Code: setclienv matchbulkobjs 1 Then I've been able to do "removevv" for each vvol VM volumes. |
Author: | i3laze [ Sat Feb 20, 2021 5:19 am ] |
Post subject: | Re: Ghost VVol volumes after completely removing VVol |
godosh wrote: Then I've been able to do "removevv" for each vvol VM volumes. Wasn't that simple for me, as my orphaned vvols were part of a storage container vvset:Code: cli% removevv -f cfg-VVolTest-a927508d dat-VVolTest-0d195835 Removing vv cfg-VVolTest-a927508d Removing vv dat-VVolTest-0d195835 Could not remove any VV from the VV list. Attempt to delete vv cfg-VVolTest-a927508d which is a member of vv set Backend Attempt to delete vv dat-VVolTest-0d195835 which is a member of vv set Backend What did the extra job was: Code: removevvset vvsetname volume_name Grabbed this hint here:https://cloud-land.com/removing-a-3par- ... n-a-vvset/ |
Page 1 of 1 | All times are UTC - 5 hours |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |