Hello
One of our customer running on VMWare created biggest file that he could on datastore formated by 1MB block size. It was 256GB file.
Now when customer tries to create snapshot of that virtual machine he receives error:
Jan 27 13:23:49.081: vmx| FILE: File_VMFSSupportsFileSize: Requested file size (274911461376) larger than maximum supported filesystem file size
(274877906944)
Jan 27 13:23:49.081: vmx| DISKLIB-LIB : CREATE CHILD:
"/vmfs/volumes/4b586f50-2a50b44a-e993-00145e7b4ffd/scustody/scustody_1-000001.vmdk"
-- vmfsSparse cowGran=0
Jan 27 13:23:49.083: vmx| FILE: File_VMFSSupportsFileSize: Requested file size (277025916928) larger than maximum supported filesystem file size
(274877906944)
Jan 27 13:23:49.083: vmx| DiskLibCreateCustom: if your disk is on VMFS, you may consider increasing the block size.
Jan 27 13:23:49.084: vmx| DISKLIB-LIB : Failed to create link: The
destination file system does not support large files (12) Jan 27
13:23:49.084: vmx| SNAPSHOT: BranchDisk: Failed to create child disk '/vmfs/volumes/4b586f50-2a50b44a-e993-00145e7b4ffd/scustody/scustody_1-000001.vmdk'
: The destination file system does not support large files (12) Jan 27
13:23:49.084: vmx| DISKLIB-VMFS :
"/vmfs/volumes/4b586f50-2a50b44a-e993-00145e7b4ffd/scustody/scustody_1-flat.vmdk"
: closed.
Jan 27 13:23:49.084: vmx| SNAPSHOT: SnapshotBranch: Unlinking '/vmfs/volumes/4b586f50-2a50b44a-e993-00145e7b4ffd/scustody/scustody-000001.vmdk'.
Jan 27 13:23:49.085: vmx| DISKLIB-VMFS :
"/vmfs/volumes/4b586f50-2a50b44a-e993-00145e7b4ffd/scustody/scustody-000001-delta.vmdk"
: open successful (17) size = 10737418240, hd = 0. Type 8 Jan 27
13:23:49.086: vmx| DISKLIB-VMFS :
"/vmfs/volumes/4b586f50-2a50b44a-e993-00145e7b4ffd/scustody/scustody-000001-delta.vmdk"
: closed.
Jan 27 13:23:49.242: vmx| SNAPSHOT: SnapshotBranch failed: The destination file system does not support large files (5).
Jan 27 13:23:49.244: vmx| CPT current = 2, requesting 6 Jan 27
13:23:49.244: vmx| Checkpoint_Unstun: vm stopped for 547029 us Jan 27
13:23:49.245: vmx| SnapshotVMX done with snapshot 'test': 0 Jan 27
13:23:49.245: vmx| Msg_Reset:
Jan 27 13:23:49.245: vmx| http://msg.checkpoint.save.fail2.std3 Error encountered while saving snapshot.
Jan 27 13:23:49.245: vmx| The destination file system does not support large files.----
Jan 27 13:23:49.246: vmx| Vix: :
VMAutomationCreateSnapshotCallback: Got CreateSnapshot callback, snapshotErr = 12, UID = 0
We know how to fix it - create new datastore with 2MB (or more) blocks and move that disk there. That's fine. But why did VMWare let customer to create such a huge file when it cannot work with it anymore? Shouldn't there be some kind of user-error protection?
Thank you for answer,
Ondrej Zilinec - Cievo
...Good question is half of the answer...