Solved

Migrating a thin provisioned virtual machine

Posted on 2013-11-24
7
403 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
  • 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 118
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
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

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 118

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) 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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

When we have a dead host and we lose all connections to the ESXi, and we need to find a way to move all VMs from that dead ESXi host.
HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…
This video teaches viewers how to encrypt an external drive that requires a password to read and edit the drive. All tasks are done in Disk Utility. Plug in the external drive you wish to encrypt: Make sure all previous data on the drive has been …

760 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now