Link to home
Start Free TrialLog in
Avatar of kirret
kirretFlag for United Kingdom of Great Britain and Northern Ireland

asked on

ESXi 5.0, Datastore block size and virtual hard drive size

Hey guys

I took over a client who has an ESXi installed on a server. The server has 500GB HDD so the Datastore capacity is showing up as 465GB. The problem I'm having is that SBS 2011 what is installed on this ESXi is running out of hard drive space. Here's more information:

There are 2 virtual servers installed on it, SBS2011 as the production server with maximum virtual disk size of 216GB of which 210GB is allocated to the server right now.

And then there is also Server2k3 installed with some software to maintain SBS etc. Virtual HDD size 36GB.

So, 36GB + 216GB is 256GB but I cannot increase the size of SBS virtual HDD it seems.

I've done some more digging and found this: http://blog.corneredge.com/2009/07/22/data-store-size-limits-from-block-size-in-vmware-esx-and-esxi/ 

The server I'm maintaining has 1MB block size.

We have just 1 ESXi installed, it's a small business so no need for more.

What would be my best course of action to get more hard disks space for SBS2011.

Thanks
SOLUTION
Avatar of Happy Tohelp
Happy Tohelp
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of kirret

ASKER

We can actually have plenty of downtime, every evening + weekends.

Exchange was used in the past but now due to company policy (they are part of a nationwide company) they need to use another email provider so Exchange could go completely actually from the server.

Thanks for your input.
ESXi 5.x, has a block size default of 1MB on a VMFS-5 datastore. This should allow you to increase the size of a virtual disk (vmdk) to 2TB-512bytes. (this could be hindered if the server was upgraded from 4.x to 5.x)

You can check the block size, and maximum size of disk, by selecting properties of the datastore.

other reasons for not being able to increase virtual disk size (if it's grayed out!).

1. there is a snapshot present
2. the virtual disk is set to IDE and not SCSI, IDE disks are not supported for expansion.

so check the above

see my EE Articles

HOW TO: VMware Snapshots :- Be Patient

HOW TO:  Resize a VMware (VMDK) Virtual Disk
The point of my answer is if there is only one server, there is not a way to increase the block size.  However, that does not mean you cannot attach another disk to the SBS server and use it for data, thus freeing up space on the C: drive.  

I would use treefile size or a similar application to determine where large amounts of data are on the c: drive, and then attach a new empty disk to the SBS server and move data off of C:.  The only downtime you will have is rebooting the SBS server.

This isn't the only way to do it, but it would be painless and not require moving VMs to another server.
when you select Edit Virtual Disk, what happenes, what does it state?
Avatar of kirret

ASKER

@TMekeel - Thanks, you answered all my questions so I have a much clearer view of what I can/can't do.

@hanccocka - I think I've got the solution to my problem by TMekeel, thanks anyway.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of kirret

ASKER

@Mysidia

The file system it shows under Configuration - Storage - DataStore1 is VMFS 5.54 if that helps.

But as you said I cannot change the block size anyway...
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of kirret

ASKER

There are no snaphots hanccocka. See if any of these helps us:

User generated imageUser generated imageUser generated image
Thanks
What storage controller is used in the VM?

Edit VM Settings?

could you screenshot disk settings in the VM?
Avatar of kirret

ASKER

That's interesting. As I described before, Maximum Size was showing up as 216GB with 210GB as the current size. I changed from 210GB to 214GB, just to have few extra GBs as they will be needed from tomorrow, and then expanded the hard drive on SBS as well.

Now when I go back to Hard disk settings as you requested, the Maximum size has gone up to 444.84GB. I guess the problem is solved then, not sure why it changed it's maximum size though, but I can't complain.

Here's the screenshot anyway:

User generated image
The "Maximum size"  value that shows in VM settings;  is mostly a function of the amount of free space remaining on a datastore.

If there is very little space free,  then maximum size will be very close to "Provisioned size"
Avatar of kirret

ASKER

Yes, and this is how it was before, 216GB / 210GB, just as described in my original question.

So did anything change when I added those extra 4GB, seems like it because now it's showing I can go up to 444GB.

Thanks everyone for your help. I'll close the thread now.
Glad all resolved, just some feedback...

1. I notice that a cdrom maybe connected, I would recommend disconnecting, as this can cause a Host overhead.

2. Also if you should experience performance issues, and would look at whether 4 vCPU are required in this VM. 4 vCPUs are not often required, and you could be over-subscribbing the CPUs, which in turn will cause performance issues.