Solved

Migrating a thin provisioned virtual machine

Posted on 2013-11-24
7
426 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 121
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
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 

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 121

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
When rebooting a vCenters 6.0 and try to connect using vSphere Client we get this issue "Invalid URL: The hostname could not parsed." When we get this error we need to do some changes in the vCenter advanced settings to fix the issue.
Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …
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 …

718 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