Solved

Migrating a thin provisioned virtual machine

Posted on 2013-11-24
7
423 Views
Last Modified: 2013-11-25
I want to move a thin provisioned Virtual machine
 Allocated Space:389G
Space Utalized:89G

in my cluster i have four Host and 9 Data Stores but none of the data store has free space equel to 389.
so my question is ca i move this VM to a host having 250 G Free.is it ok or there must be a free space equel to allocated space of thin provioned Vm which i want to move.
0
Comment
Question by:kastro Abbasi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
7 Comments
 
LVL 10

Expert Comment

by:Mohammed Rahman
ID: 39673878
As it is a thin lun, you should be able to move the VM to any of the host provided the data store is mapped to the host on which the VM will reside. Also, it being a thin LUN, you will not have any issues until the point the VM reaches "utilised space" of 250G (as you have 250G free)

Thin LUNs does not reserve entire allotted space on the storage system. It grows in size only when the data is written. That capacity helps optimize storage utilization because space is not allocated and then sitting idle.

You can probably shrink the allotted space on VM from 389G to less than or equal to 250G and add space to the VM at a later point of time if need be. (This is an optional step. You can move your VM to any of the 9 data stores with present settings too.) ** Again, make sure, data store is mapped to the host on which the VM will reside.
0
 

Author Comment

by:kastro Abbasi
ID: 39673887
All the data stores are mapped as we are in a cluster and i did this many times when i have plenty of free space available on datastores.

You mean moving a Thin Provisioned vm of 389G to a Datastore of (250 G free) will cause no problem.it will take only a utalized space of 89 G.
One more thing i observerd that the block size for the Residing data store of this VM is 2MB and the destination DataStore block size is 1MB.
0
 
LVL 120
ID: 39673917
You will need to convert the VM using  VMware vCenter Converter Standalone 5.5 and crate a V2V.

This procedure, will allow you to shrink the VM, ansd adjust the OS partition and virtual machine disk, in a single procdeure. This is the only recommend VMware solution for shrinking a virtual disk.

see my EE Article, Step by Step Tutorial Instructions with Screenshots

HOW TO:  P2V, V2V for FREE - VMware vCenter Converter Standalone 5.5

HOW TO:  Synchronize changes when completing a P2V or V2V with VMware vCenter Converter Standalone 5.1

HOW TO: Improve the transfer rate of a Physical to Virtual (P2V), Virtual to Virtual Conversion (V2V) using VMware vCenter Converter Standalone 5.0
0
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 

Author Comment

by:kastro Abbasi
ID: 39673926
why should i go for this,Normally i move th VM using migrate option in vm setting from one host to another host.

still i am not clear

Can i move thin provioned vm (389)Provisoned space and 89 Utalized space to a data store (250 Free space)
0
 
LVL 120

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 39674017
If you want to shrink the virtual machine disk, you will need to V2V (convert).

If your other datastore has sufficient free space, then just Migrate, and that will work. (but it will not change the size of the virtual disk!)
0
 

Author Closing Comment

by:kastro Abbasi
ID: 39674365
This was what i want Thanx to all the effort put by u guys.
0
 
LVL 10

Expert Comment

by:Mohammed Rahman
ID: 39675071
@ayazabbasi:
You mean moving a Thin Provisioned vm of 389G to a Datastore of (250 G free) will cause no problem.it will take only a utalized space of 89 G.

Yes, the data store will utilize only 89G; on which the VM resides (after moved to new host)
A thin LUN is kinda virtual LUN and not entire space is hard mapped to SAN disks.

The SAN only sets the pointers that the LUN is 389G but doesn't physically reserve 389G on disks. As you keep writing data to the disks, the "utilize size" keeps growing and ACTUALLY occupying space on physical disks.

In your case, the LUN can grow from 89G upto 250G without any issues as there is free space available for LUN to grow. The problem will arise once you reach the 250G. Now, the LUN thinks it can grow upto 389G but there is no space for it to expand and will lead to issues.
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
Ransomware is a malware that is again in the list of security  concerns. Not only for companies, but also for Government security and  even at personal use. IT departments should be aware and have the right  knowledge to how to fight it.
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question