Solved

How to shrink virtual disk on XenServer?

Posted on 2016-10-13
3
64 Views
Last Modified: 2016-11-03
This is using Citrix Xenserver and XenCenter version 6.0. There are a few VM, in which the virtual disk is very under-utilized. For example, found a web server - web1, only 100 GB was used out of 500 GB. We are thinking of shrinking this existing virtual disk from  500 gb to 200 gb, how should we do?

VMware got a tool called, VMware vSphere Convertor, does Xen comes with XenConvertor or any other tool? If so, please show step-by-step on how to "shrink" it without affecting the existing data.

Thanks a lot.
0
Comment
Question by:MichaelBalack
  • 2
3 Comments
 
LVL 6

Accepted Solution

by:
Niten Kumar earned 500 total points
ID: 41844913
You will need XenConvert 2.x for this to work.  You can download from here >>>> https://www.citrix.com/go/products/xenserver/xenserver-xenconvert-free.html

1.  Download and install XenConvert on the Windows VM.

2.  Attach a secondary disk that is 205 percent times the size of the existing VDI. The secondary drive is to be used as temporary space for XenConvert.

3.  Format the secondary disk with an NTFS file system and add a drive letter to the disk.

4.  Open XenConvert and click Next.



5.  Adjust the free space size as the following:

         Example for original size: 14406

        xenserver1.jpg


         Example for New size: 5000

          xenserver2.jpg

        Description of the fields in the preceding figures:

         -  Used Space: The space currently being used in the VDI.

         -  Free Space: The new size for the VDI. So if you want to make it 10GB, you change the value to 10240 MB.

        -  Unallocated space: The additional space you give to the VM and that is displayed as unallocated space.

        -  Capacity: The value in the last row is the VM VDI total size:


6.   Proceed with the XenConvert utility to create a disk to import later or to create the new VDI on the XenServer.
0
 
LVL 1

Author Comment

by:MichaelBalack
ID: 41851327
Hi nitenKumar,

Thanks for your prompted suggestion. Please give me some time to read through, thanks.
0
 
LVL 1

Author Closing Comment

by:MichaelBalack
ID: 41873456
Thanks for Expert - Niten, in sharing his suggestion. This method rocks.
0

Featured Post

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

Suggested Solutions

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.
Is your company's data protection keeping pace with virtualization? Here are 7 dynamic ways to adapt to rapid breakthroughs in technology.
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…
Teach the user how to use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSp…

743 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

12 Experts available now in Live!

Get 1:1 Help Now