Posted by: Nathan Simon
IT professional, Networking, Virtualization, vmfs, vmotion, vmware
Well i ran into this error today (4:30 am CST, don’t ask me why I am up right now!) “File too large” when trying to create a virtual machine with a 30GB drive and a 300GB drive. I tracked it down to the fact that the block size on my second LUN is 1MB which gives a max file size of 256GB. I will have to change the block size to 2MB which will let me create 512GB files, unfortunately I need to move a couple VMs off there to do so, I will just end up utilizing vmotion to move the VMs then reformat the LUN using a 2MB block size, then vmotion back. Sounds like fun! Well it isn’t, but its an interesting learning experience. Don’t make the same mistake, and you wont have to deal with this issue yourself.
The table below is the Block size in correspondence with the max file size
1MB Block Size: Maximum filesize = 256GB
2MB Block Size: Maximum filesize = 512GB
4MB Block Size: Maximum filesize = 1024GB
8MB Block Size: Maximum filesize = 2048GB