[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Add Storage to VM

Posted on 2013-05-14
6
Medium Priority
?
371 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 123
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
Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

 
LVL 123

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 123
ID: 39168785
no problems.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

When converting a physical machine to a virtual machine using VMware vCenter Converter Standalone or vCenter Converter Enterprise, if an adapter type is not selected during the initial customization the resulting virtual machine may contain an IDE d…
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 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…

649 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