Solved

Add Storage to VM

Posted on 2013-05-14
6
364 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 119
ID: 39166694
0
 
LVL 30

Expert Comment

by:Kerem ERSOY
ID: 39166733
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
ID: 39168739
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
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
LVL 119

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 39168756
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
ID: 39168780
Great fast and complete answer. Thank you!
0
 
LVL 119
ID: 39168785
no problems.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

860 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