VMware vSphere

 View Only
  • 1.  'Insufficient disk space' when migrating individual disks

    Posted Aug 02, 2012 09:48 PM

    Hi guys,

    I've just created a 600GB datastore on my vSphere and every time I try to move an individual 500GB disk from a VM to that datastore, I got a "Insufficient disk space on datastore 'mydatastore'" error. I think the problem is that even though I'm trying to move just one disk, ESXi tries to allocate space for all disks in the VM, which would exceed the datastore space. Am I missing something here?

    Does anyone have a workaround for this?

    I think this problem is similar to [0], which had no answers...

    [0] - http://communities.vmware.com/thread/310437

    Thanks



  • 2.  RE: 'Insufficient disk space' when migrating individual disks

    Posted Aug 02, 2012 09:56 PM

    Good day,

    What kind of storage are you using?  Storage can be overprovisioned.  If there's not enough free space on your storage system, the copy could fail.  Include some more info on your storage setup, including how many aggregates, volumes, LUNs, etc., you have and how much space the'yre using, and on and on, and we can get a better idea of what's going on.

    Cheers,

    Mike

    http://VirtuallyMikeBrown.com

    https://twitter.com/#!/VirtuallyMikeB

    http://LinkedIn.com/in/michaelbbrown



  • 3.  RE: 'Insufficient disk space' when migrating individual disks

    Posted Aug 03, 2012 08:51 AM

    I would try to copy the vmdk with vmkfstools

    vmkfstools -i <path to /directory/existing.vmdk>  <path to new datastore/directory/name.vmdk>



  • 4.  RE: 'Insufficient disk space' when migrating individual disks

    Posted Aug 03, 2012 11:23 PM

    Manually, I was able to copy the disk to the new LUN, removing it from the VM, copying and then adding it again. Maybe it is some kind of feature (bug?) of the vSphere client interface.

    Thanks guys.