?
Solved

Add Storage to VM

Posted on 2013-05-14
6
Medium Priority
?
369 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
[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
6 Comments
 
LVL 122
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
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
LVL 122

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 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 122
ID: 39168785
no problems.
0

Featured Post

The Ideal Solution for Multi-Display Applications

Check out ATEN’s VS1912 12-Port DP Video Wall Media Player at InfoComm 2017. Kerri describes how easy it is to design creative video walls in asymmetric layouts and schedule detailed playlists ahead of time with its advanced scheduling feature.

Question has a verified solution.

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

This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…
In this video tutorial I show you the main steps to install and configure  a VMware ESXi6.0 server. The video has my comments as text on the screen and you can pause anytime when needed. Hope this will be helpful. Verify that your hardware and BIO…
Suggested Courses

770 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