Solved

VMware 5.1 - Fix file is larger than maximum file size supported error

Posted on 2013-05-26
4
4,447 Views
Last Modified: 2013-06-03
Hello, someone increased a virtual disk size on an ESXi 5.1 system to 2TB and now we are getting this error

Create virtual machine snapshot VIRTUALMACHINE File <unspecified filename> is larger than the maximum size supported by datastore '<unspecified datastore>'
File is larger than the maximum size supported by datastore
Googleing the error I find this article

VMware - Creating a snapshot for a virtual machine fails with the error: File is larger than maximum file size supported

After looking at this, it's not entirely clear what I have to do to fix this. It seems that I am already at the maximum file size so moving to a different volume wouldn't help.

It does mention either changing the location of the .vmx file or changing the location of the snapshots.

Even after reading through this I'm still very fuzzy on what I need to do or how to do it. For instance if I want to create the snapshots in a different location as illustrated below I'm not clear on how large a volume I need or even how to directly edit the .vmx file on an iSCSI LUN.

Creating snapshots in a different location than default virtual machine directory

Thanks for any advice you can offer.
0
Comment
Question by:willp2
  • 2
  • 2
4 Comments
 
LVL 118

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
ID: 39197980
2TB including the snapshot size is the maximu for any datastore.

if you edit the VMX file, and change the location of the snapshot working directory, you can overcome this error.

so do you have another datastore, you can relocate the snapshot file to.

If not, you will have to create V2V using VMware vCenter Converter Standalone 5.1, and redcuce the size of the virtual machine disk to an acceptable size less than 2TB, including snapshot.

HOW TO:  Synchronize changes when completing a P2V or V2V with VMware vCenter Converter Standalone 5.1

HOW TO:  P2V, V2V for FREE - VMware vCenter Converter Standalone 5.1
0
 
LVL 1

Author Comment

by:willp2
ID: 39197983
Thanks. Yes, I have another data store I can relocate the snapshot working directory.

How big does it need to be and then I know this is probably a very dumb question, but how do I actually get to the vmx file?
0
 
LVL 118

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE)
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
ID: 39199658
you edit the VMX file at the console, or remotely via SSH.

The size of the datastore, needs to be as large as you think the snapshot will get, whilst the backup take place.

We work on 20% of the size of the virtual disk.
0
 
LVL 1

Author Closing Comment

by:willp2
ID: 39216745
Thanks for the help.

It turned out in this case that even redirecting the snapshots wasn't enough to get this working. After talking to VMware it it turns out that the only option for this spanned volume was to create new disks that are under 2TB and copy all the data to them, then delete the original disks. I'm still in the process of doing that.

As a personal note, the 2TB disk limit is surprising considering the amount of data companies regularly have to deal with these days. Having the deal with this by spanning disks in the OS is less than ideal.  

Further I think that it’s incredible that vSphere would allow you to create a disk that is larger than it can snaphot with no warning.

VMware tells me the largest disk can be 2TB minus 512 bytes. Not 512Kb or 512Mb, but 512bytes. However when you create a 2TB disk in vSphere it doesn't subtract out those 512bytes. If that's really accurate, I've had to move around many TB of data, waste hours of time and put company data at risk because the vSphere GUI doesn't account for 512bytes? I still find it hard to believe that this is accurate.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…

743 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

10 Experts available now in Live!

Get 1:1 Help Now