You can upload NFS, VMFS, and vmdk files to a vSAN datastore. You can also upload folders to a vSAN datastore. For more information about datastores, see vSphere Storage.

When you upload a vmdk file to a vSAN datastore, the following considerations apply:
  • You can upload only stream-optimized vmdk files to a vSAN datastore. VMware stream-optimized file format is a monolithic sparse format compressed for streaming. If you want to upload a vmdk file that is not in stream-optimized format, then, before uploading, convert it to stream-optimized format using the vmware-vdiskmanager command‐line utility. For more information, see Virtual Disk Manager User’s Guide.
  • When you upload a vmdk file to a vSAN datastore, the vmdk file inherits the default policy of that datastore. The vmdk does not inherit the policy of the VM from which it was downloaded. vSAN creates the objects by applying the vsanDatastore default policy, which is RAID -1. You can change the default policy of the datastore. See Change the Default Storage Policy for vSAN Datastores.
  • You must upload a vmdk file to VM home folder.

Procedure

  1. Navigate to vSAN Datastore.
  2. Click the Files tab.
    Option Description
    Upload Files
    1. Select the target folder and click Upload Files. You see a message informing that you can upload vmdk files only in VMware stream-optimized format. If you try uploading a vmdk file in a different format, you see an internal server error message.
    2. Click Upload.
    3. Locate the item to upload on the local computer and click Open.
    Upload Folders
    1. Select the target folder and click Upload Folder. You see a message informing that you can upload vmdk files only in VMware stream-optimized format.
    2. Click Upload.
    3. Locate the item to upload on the local computer and click Open.