How to change blocksize (file size limit) on VMFS3 filesystem
- 1 Comment
In VMware ESX 3.5.x running VMFS3 filesystem there is limitation on file size which results in error if you are trying to create Guest virtual machine with large disk drive. For example if you are trying to create a guest VM with disk drive size larger than 256 you will get this error :
File is larger than the maximum size supported by datastore.
This happens because by default VMware ESX running VMFS3 uses 1M blocksize with a limitation of 256 GB disk size for the guest virtual machine. However it is possible to change or rather increase the size of disk drive that you can create for the virtual machine. If you can change block size to 2M on VMFS3 filesystem on your ESX server you can create disk drive upto 512GB size for the virtual machine.VMware Recommends following block size to create large disk drive on virtual machines :
1M Block Size max VMFS-3 = 256G
2M Block Size max VMFS-3 = 512G
4M Block Size max VMFS-3 = 1024G
8M Block Size max VMFS-3 = 2048G
File size larger than 2048 GB is not supported on VMFS3 filesystem, using VMFS2 you can go upto 16 M block size but that option is not available on VMFS3 filesystems.To changethe block size on a VMFS3 filesystem you can use vmkfstools command from command line ro reformat the parition. The vmkfstools command can be run on ESX server :
#vmkfstools –create vmfs3 –blocksize 2M vmhba1:0:0:2

Related Articles
1 Comments on this post
Trackbacks
-
Jake said:
This syntax didn’t work…at least not for changing the block size for a local partition on an ESX host running ESX 3.5 Update 4. Kept giving me an error (may have simply been a capital “M” instead of lower case in the block size.) This one below worked correctly for me.
vmkfstools -C vmfs3 -b 2m -S LocalHDD vmhba0:0:0:3
where
-C creates the volume
-b sets the block size
-S sets the volume labelJune 17th, 2009 at 10:35 am
LEAVE A COMMENT
-  xencenter download,  ibm director 6,  file is larger than the maximum size supported by datastore,  best laptop for kids,  ibm director 6.1,  xencenter 5 download,  vmware view linux client,  vswif,  xencenter linux,  install vmware tools centos,  vmware view agent ,  ibm director 6.1 download,  VMware View setup,  vmware tools centos,  how to disable ipv6 in rhel5,  download xencenter 5,  dell server serial number,  "vmware view 3" + howto,  reformat vsphere vmfs partition,  scsi cannot find harddrive,  y,  how to install vmware view,  free vmware for linux,  enable the ssh service on your ESXi,  download xencenter,  centos vmwaretools,  xencenter.msi,  how to remove trojan in vista,  vundo trojan XP,  XenCenter,  HOW TO CHANGE BOOT CONTROLLER ON BLADE HS21,  remove Malwarebytes context menu shortcut,  ntldr windows vista fix,  what is vswif0,  "vmware tools centos",  VMFS change supported disk size,  XP VM on ESX can't find hard drive,  windows 7 + .iso + GB1CULFRE_EN_DVD.iso,  rhel disable ipv6,  rhel ipv6 disable,  xencenter 4.1 download,  hp proliant virtual console,  hs21 firmware update,  esxi 3.5 xp,  update google chrome,  VMware View agent linux,  VMware View Composer howto,  view linux client + rpm,  disable ipv6 rhel,  xencenter client, 


