JDMils_Interact
Enthusiast
Enthusiast

Alert "virtual disks that need consolidation" in a VCD environment

I'm a complete Noob when it comes to VCD, never used it before, but I've been tasked into consolidating the disks for a particular virtual machine. Can someone link me to any documentation on how to fix this issue? I'm assuming because VCD is involved that I cannot do what I normally do, which is to log into the vCenter and storage migrate the VM to release locks then run the consolidate command.

Thanks

3 Replies
vMarkusK1985
Expert
Expert

Hi,

is the VM Provisioned with Fast Provisioning (Linked Clone)? If not you can also use vCenter without any hassle to Consolidate the Disks.

https://mycloudrevolution.com | https://twitter.com/vMarkus_K | https://github.com/vMarkusK
JDMils_Interact
Enthusiast
Enthusiast

How do I check that?

0 Kudos
vMarkusK1985
Expert
Expert

I have used the vDisk ChainLength as an indicator. If TP is enabled is a OrgDVS Storage Setting, but if you disable it after a Vm is provisioned via TP the Chain will no be removed automatically.

Get-CIVM | `

        Select Name, Org, OrgVdc, vApp, ID, `

        @{N="StorageProfile";E={$_.ExtensionData.StorageProfile.Name}}, `

        @{N='Ownerid';E={$_.vapp.owner}}, `

        @{N='OwnerFullName';E={$_.vapp.owner.fullname}}, `

        @{N='ChainLength';E={$_.ExtensionData.VCloudExtension.any.VirtualDisksMaxChainLength} }   

https://mycloudrevolution.com | https://twitter.com/vMarkus_K | https://github.com/vMarkusK
0 Kudos