VMware Cloud Community
VPXA
Enthusiast
Enthusiast

Update-VmfsDatastore VMFS5 datastore to VMFS6

Hi All,

Please suggest me the paths to upgrade the datastores from VMFS 5.5 to VMFS 6 in 6.5 vSphere environment.

Our existing datastores are with 5.5.

Creating new VMFS6 datastores and moving the VM's, which will consume more time.

Kindly suggest me for any other easy methods in upgrading the same without moving the VM's or downtime! is this possible?

Reply
0 Kudos
12 Replies
diegodco31
Leadership
Leadership

Hi

Check if the following VMware KB article helps:

VMware Knowledge Base

Automating Migration of VMFS-5 to VMFS-6 Datastores - VMware vSphere Blog

Diego Oliveira
LinkedIn: http://www.linkedin.com/in/dcodiego
Reply
0 Kudos
continuum
Immortal
Immortal

There is no way to update VMFS 5 to VMFS 6.
The differences are just too big.


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

Reply
0 Kudos
VPXA
Enthusiast
Enthusiast

Thanks Diego,

Referring the same KB's.

Reply
0 Kudos
VPXA
Enthusiast
Enthusiast

our Datastores are with 5.5, recently upgraded the vCenter to 6.5u1. So now planning for the datastores.

Online Documentation - Cmdlet Reference - VMware {code}

referring this too, but backup is a constrained.

Reply
0 Kudos
continuum
Immortal
Immortal

All links to the documentation that appear in this post actually say the same thing: there is no way to update/upgrade VMFS 5 to VMFS 6


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

Reply
0 Kudos
sjesse
Leadership
Leadership

This really doesn't update the vmfs5 ones

1. Backs up the VMFS5 (source) datastore, if the datastore contains any VMs or any other directories or files, to another VMFS5 datastore (temporary).

2. Deletes the source datastore, re-creates it with VMFS6 file system, and moves back all the files from temporary to source.

3. Rollback option: If there are infrastructure issues causing the ongoing task on step 1 to abort, use the Rollback option in the cmdlet to roll back all VMs and copied files from temporary to source.

4. If the Rollback option is not possible (due to being past step 1), you can resume the task which is initiated in step 1 by rectifying any infrastructure issues.

5. There is no post-update rollback option as the goal is to move all files from the VMFS5 datastore (temporary) to the newly formatted VMFS6 (source) datastore.

If moves everything to  a temporary data store and and reformats the current one, and moves it back. I'm not sure I'd trust this, we just manually created new datastores, then storage vmotioned each server over.

Reply
0 Kudos
VPXA
Enthusiast
Enthusiast

Yup, the KB referring the same, creating new DS with VMFS6 and S.vMotion the VM's (from old datastore) new datastore (VMFS6) and reclaim the VMFS 5 Datastore.

what if we don't have the storage space? just wanted to know the paths, (incase of less storage).

Reply
0 Kudos
sjesse
Leadership
Leadership

We had that concern, in that case I'd just make one at a time. If your storage system supports unmap, and you haven't tried reclaiming space before, you could try this

VMware Knowledge Base

this requires the storage to be thin provisioned though.

Reply
0 Kudos
diegodco31
Leadership
Leadership

You will need creating new DS with VMFS6 and use svmotion.

If you don't have the storage space, you can do just make one at a time.

Diego Oliveira
LinkedIn: http://www.linkedin.com/in/dcodiego
Reply
0 Kudos
tobyjosham
Contributor
Contributor

As per the below article, the cmdlet Update-VmfsDatastore does this for you

Automating Migration of VMFS-5 to VMFS-6 Datastores - VMware vSphere Blog

Or it should however I can't get it to work as I get the below error

Update-VmfsDatastore : Cannot validate argument on parameter 'Id'. The argument is null or empty. Provide an argument that is not null or empty, and then try the command again.

At line:7 char:1

+ Update-VmfsDatastore -Datastore $Source -TemporaryDatastore $Temp -Ta ...

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidData: (:) [Update-VmfsDatastore], ParameterBindingValidationException

    + FullyQualifiedErrorId : ParameterArgumentValidationError,Update-VmfsDatastore

I've checked the variables and everything looks fine. The "Get-Datastore" gives the Id parameter so I don't know where this is going wrong.

Reply
0 Kudos
5mall5nail5
Enthusiast
Enthusiast

VMFS 5 cannot be upgraded in-place to VMFS 6 today

Reply
0 Kudos
tobyjosham
Contributor
Contributor

I know

The cmdlet moves the vms to a temp datastore, deletes the vmfs5 datastore then re-uses the LUN to recreate the datastore using vmfs6.

Only I can't get it to work as per the error shown above.

Reply
0 Kudos