Hello
I have just installed ESXI4 and created my first VM no problem. I have an issue when I have come to create a VM to use as a file storage system. I want to create a VM on one 500GB disk and for it to use all the space but I get an error.
'File is larger than the maximum size supported by datastore 'datastore2'. New virtual machine 1/new virtual machine 1.vmdk.
When I checked the storage section under the config tab it states the maximum file size on that datastore is 256GB. So does this mean I can only create 256GB machines and therefore I cant store a large number of files on them?
thanks
Hi,
The largest vmdk file in a datastore is determined by the block size selected when you formatted the datastore disk. Increasing this changes the maximum file size. If this is an issue you can create multiple vmdk files for your vm.
Regards
Hi,
The largest vmdk file in a datastore is determined by the block size selected when you formatted the datastore disk. Increasing this changes the maximum file size. If this is an issue you can create multiple vmdk files for your vm.
Regards
Maximum File Size is 2TB, but also it depends on VMFS block size. By default VMFS is created with 1MB blocs allowing you to create 256GB files. 2TB files are allowed with 8MB blocks.
So if you need that size, you have to destroy you datastore and create it again with bigger block size.
---
VMware vExpert '2009
Hi,
Anton make a good point the largest file is 2Tb this due to the limitation of the virtualised SCSI controller within a vm.
Regards
I have just installed ESXI4 and created my first VM no problem. I have an issue when I have come to create a VM to use as a file storage system. I want to create a VM on one 500GB disk and for it to use all the space but I get an error.
...to add a little to what the others have said, for your case you'll need a minimum block size of 2MB, but I would go with 4MB, just to be safe
1MB=256GB
2MB=512GB
4MB=1024GB
8MB=2040GB
I am new to this, how would I go about doing this?
Hi,
When you create a new datastore you get to choose the block size. You cannot change the block size of an exisitng datastore with deleting and recreating it Im afraid
Regards
Thanks all sorted now. Thanks to al who responded
you're welcome!
you have one more "helpful" left, i'll take it if no one else wants it
Hi,
your welcome any time
Regards
Steve Tron wrote:
The largest vmdk file in a datastore is determined by the block size selected when you formatted the datastore disk. Increasing this changes the maximum file size. If this is an issue you can create multiple vmdk files for your vm.
But using multiple vmdk files would mean every vmdk file is sized to 2GB and that means you'll have hundred of vmdk files!
I've also come across this problem so I had to delete the pre-created datastore and create a new one.
It's nice that ESXi installed without user intervention, but it would be nicer if it asks what "maximum file size" the user wants before creating the datastore when the "free space" is very large!