3PAR Users Group

A Storage Administrator Community




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: [SOLVED] Ghost VVol volumes after completely removing VVol
PostPosted: Thu Jul 11, 2019 2:15 pm 

Joined: Thu Jan 05, 2017 11:43 am
Posts: 8
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?


Last edited by godosh on Tue Jul 16, 2019 8:56 am, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: Ghost VVol volumes after completely removing VVol
PostPosted: Fri Jul 12, 2019 1:20 am 

Joined: Mon Sep 21, 2015 2:11 pm
Posts: 973
Location: Europe
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.

_________________
The views and opinions expressed are my own and do not necessarily reflect those of my current or previous employers.


Top
 Profile  
Reply with quote  
 Post subject: Re: Ghost VVol volumes after completely removing VVol
PostPosted: Mon Jul 15, 2019 11:08 am 

Joined: Thu Jan 05, 2017 11:43 am
Posts: 8
"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?


Top
 Profile  
Reply with quote  
 Post subject: Re: Ghost VVol volumes after completely removing VVol
PostPosted: Mon Jul 15, 2019 11:24 am 

Joined: Mon Sep 21, 2015 2:11 pm
Posts: 973
Location: Europe
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.

_________________
The views and opinions expressed are my own and do not necessarily reflect those of my current or previous employers.


Top
 Profile  
Reply with quote  
 Post subject: Re: Ghost VVol volumes after completely removing VVol
PostPosted: Tue Jul 16, 2019 8:56 am 

Joined: Thu Jan 05, 2017 11:43 am
Posts: 8
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.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 


Who is online

Users browsing this forum: ekasaj, Google [Bot], oby and 33 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group | DVGFX2 by: Matt