Solved

Add Storage to VM

Posted on 2013-05-14
6
359 Views
Last Modified: 2013-05-15
I have inherited a some vwmare 3.5 servers with a Fibre SAN carved into several datastores. I want to ultimately add space to one of my windows 2003 server's drives. When I look at the datastore inventory it shows almost 20GB of free space. When I edit the settings of the VM it does not show that I can increase the size of the virtual disk. ie - disk size and maximum size are the same.

Other machines with different datastores show free space and the availability of that space to the virtual disks.
0
Comment
Question by:SysBUTLER
  • 3
  • 2
6 Comments
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
0
 
LVL 30

Expert Comment

by:Kerem ERSOY
Comment Utility
Hi,

ESX 3.5 does not allow online expanding of disk spaces when the Guest is running. Also it does not allow the expansion of volume when there are any snapshots associated with the VM.

So make sure that you remove all snapshots and make sure your VM is shut down before trying to increase the virtual disk size.


Cheers,
K.
0
 

Author Comment

by:SysBUTLER
Comment Utility
I don't want to add a disk, I just want to expand the one I have. I am battling with free space, and this is a temporary fix until I can get some new servers.
The disks are SCSI and part of Fiber array.
I have attached a PDF with some screenshots.
DiskVMWARE.pdf
0
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
LVL 117

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
Comment Utility
firstly, you only have 20GB free on your datastore.

you are in danger, if you add storage to your virtual machine (vmdk file) for the OS, if the free space on the datastore reaches Zero, you will not be able to start up your VMs, because VMs also use a swap file equal to memory, when they are started, so be warned!

In your example, the Maximum Disk Size is based on the Block Size of the Datastore.

if the Block Size is 1MB which it is, the macx size of disk is 256GB.

see here

• 1MB block size – 256GB maximum file size
• 2MB block size – 512GB maximum file size
• 4MB block size – 1024GB maximum file size
• 8MB block size – 2048GB maximum file size

You will need to MOVE the Virtual Machine to a Datastore, which has a Block Size of at least 2MB.

To create a 2MB Block Size requires the datastore to be "formated/created", e.g. needs to be set on creation.

A workaround, as it's a temp fix....

Add & Create a new virtual disk on this datastore of size 20GB to this VM.

and then update the current required OS disk to Dynamic that you need to expand, and then Expand the disk in the OS, using this new 20GB disk. (Span disks!)

this will give you a 276GB disk spanned over two virtual disks.
0
 

Author Closing Comment

by:SysBUTLER
Comment Utility
Great fast and complete answer. Thank you!
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
no problems.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…

772 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

14 Experts available now in Live!

Get 1:1 Help Now