You can upgrade a VMFS-2 file system to VMFS-3.


The VMFS-2 to VMFS-3 conversion is a one-way process. After you have converted a VMFS-2 volume to VMFS-3, you cannot revert it back to a VMFS-2 volume.

You can upgrade a VMFS-2 file system only if its file block size does not exceed 8 MB.

When upgrading the file system, use the following options:

-T --tovmfs3 -x --upgradetype [zeroedthick|eagerzeroedthick|thin]

This option converts a VMFS-2 file system VMFS-3 preserving all files on the file system. Before conversion, unload the vmfs2 and vmfs3 drivers and load the auxiliary file system driver, fsaux, with a module option fsauxFunction=upgrade.

You must specify the upgrade type using the -x --upgradetype suboption as one of the following:

-x zeroedthick (default) – Retains the properties of VMFS-2 thick files. With the zeroedthick file format, disk space is allocated to the files for future use and the unused data blocks are not zeroed out.

-x eagerzeroedthick – Zeroes out unused data blocks in thick files during conversion. If you use this suboption, the upgrade process might take much longer than with the other options.

-x thin – Converts the VMFS-2 thick files into thin-provisioned VMFS-3 files. As opposed to thick file format, the thin-provisioned format doesn't allow files to have extra space allocated for their future use, but instead provides the space on demand. During this conversion, unused blocks of the thick files are discarded.

During conversion, the ESX file-locking mechanism ensures that no other local process accesses the VMFS volume that is being converted, although you need to make sure that no remote ESX host is accessing this volume. The conversion might take several minutes and returns to the command prompt when complete.

After conversion, unload the fsaux driver and load vmfs3 and vmfs2 drivers to resume normal operations.

-u --upgradefinish

This option completes the upgrade.