Skip to main content

Pre-Check for update VEEAM to Version 12 using VMware


Martin Weber

Hello together,

before you update VEEAM to Version 12 using VMware vCenter/ESXi please check VMs HardDisks for duplicate UUID. In Version 11 this was never a problem. In the new Version VEEAM checks the UUID and backup will fail.

VMware has no problem with that most time. But they know the Problem - https://kb.vmware.com/s/article/2006865


This command will find any HardDisk with duplicate UUID - please note that this is VMware PowerCLI command

Get-VM | Get-HardDisk | Select @{N='VM';E={$_.Parent.Name}}, @{N='Uuid';E={$_.ExtensionData.Backing.Uuid}} | Group-Object -Property Uuid | ?{ $_.Count -gt 1 }


As Service Provider such changes in VEEAM are a total disaster!!

37 comments

vAdmin
Forum|alt.badge.img+2
  • Influencer
  • 168 comments
  • March 9, 2023

Hi @Martin Weber , 
Thank you for sharing.

So, the work around is to do the Storage vMotion after Deploying the VM from the Template.

What if the VM has already been deployed from Template and running as Production VM?


Martin Weber
  • Author
  • Comes here often
  • 14 comments
  • March 9, 2023

@vAdmin No, this will not work - I tested it

 

You have to identify the Disk, shutdown the VM and change UUID over the shell

vmkfstools -J setuuid <vmname>.vmdk

 


vAdmin
Forum|alt.badge.img+2
  • Influencer
  • 168 comments
  • March 9, 2023
Martin Weber wrote:

@vAdminNo, this will not work - I tested it

 

You have to identify the Disk, shutdown the VM and change UUID over the shell

vmkfstools -J setuuid <vmname>.vmdk

 

Wow, that’s massive outage :-| for a big and busy VM.

Thank you for the sharing @Martin Weber 


Martin Weber
  • Author
  • Comes here often
  • 14 comments
  • March 9, 2023

@vAdmin You said it :(

I found over 300VMs over across multiple customers with duplicate UUIDs.

I understand that the main problem comes from VMware - but VMware has no problems with that at the moment, only VEEAM in Version 12 has it.


Martin Weber
  • Author
  • Comes here often
  • 14 comments
  • March 9, 2023

I found a blogpost - I will review it and test it… If it work, i will reply the result here

 

https://blog.milla-online.de/duplicate-disk-uuids-and-how-to-get-rid-of-it-hopefully


ratkinsonuk
Forum|alt.badge.img+2
  • Comes here often
  • 50 comments
  • March 9, 2023

Watching….


Martin Weber
  • Author
  • Comes here often
  • 14 comments
  • March 9, 2023

Inside the forum there is a workaround to change transport mode to NBD (network) - https://forums.veeam.com/post479533.html#p479533

But this is not a workaround for us - because we have a separate Backup VLAN/Network/Uplink

 

I created a Powershell script to Change Disk UUIDs without to reboot a vm - https://github.com/claranet/ClaranetHub/tree/main/VMware/Change-DiskUUID

Currently we test it on some vms with failed backups


marco_s
Forum|alt.badge.img+8
  • Influencer
  • 371 comments
  • March 9, 2023

Ouch! 😮

Thanks for sharing Martin..


vAdmin
Forum|alt.badge.img+2
  • Influencer
  • 168 comments
  • March 9, 2023
Martin Weber wrote:

Inside the forum there is a workaround to change transport mode to NBD (network) - https://forums.veeam.com/post479533.html#p479533

But this is not a workaround for us - because we have a separate Backup VLAN/Network/Uplink

 

I created a Powershell script to Change Disk UUIDs without to reboot a vm - https://github.com/claranet/ClaranetHub/tree/main/VMware/Change-DiskUUID

Currently we test it on some vms with failed backups

Wow, without a reboot 😃that sounds promising,

Thank you for sharing it here @Martin Weber 


Chris.Childerhose
Forum|alt.badge.img+21

Thanks for sharing this. Will come in handy to add to my script library.


BertrandFR
Forum|alt.badge.img+8
  • Influencer
  • 528 comments
  • March 10, 2023

Thank you for sharing this, we discovered plenty of duplicate UUID. We will fix it before v12 update which is planned next week 🙄


wouter.oltlammers
Forum|alt.badge.img

Anyone know why it has become a problem now in V12? Why do we have the UUID checks in v12 and not in v11? Can’t we just leave the check out of v12 like it was in v11?


Martin Weber
  • Author
  • Comes here often
  • 14 comments
  • March 10, 2023

@wouter.oltlammers Yes, to be compatible with vmware they added a DiskUUID check in Version 12. The Problem on VMware side is older - and maybe it can also have some effects there.

I changed 200VMs with this script last days and Backups worked fine again.

Pleas note, if you use Network Transportmode this does not affect - It only affect if you use HotAdd-Mode.


Martin Weber
  • Author
  • Comes here often
  • 14 comments
  • March 10, 2023

OK, found new issue on this Problem - Backup over HotAdd will not work with “Linked Clone” as the created in vCloud Director if enabled or VM created in Virtual Desktop Environment.

Reproduce

$VM = Get-VM "<my vm>"
$Snapshot = $VM | New-Snapshot -Name "BASE"
New-VM -Name "$($VM.Name) - Linked Clone" -VM $VM -VMHost $VM.VMHost -LinkedClone -ReferenceSnapshot $Snapshot

Get-VM -Name "$($VM.Name)*"| Get-HardDisk | Select @{N='Name';E={$_.Parent.Name}}, @{N='Uuid';E={$_.ExtensionData.Backing.Uuid}}

 


regnor
Forum|alt.badge.img+14
  • Veeam MVP
  • 1354 comments
  • March 10, 2023

That's interesting and I've never heard of the issue with duplicate UUIDs. So if you have an affected disk, the backup job via hotadd/virtual appliance mode will fail?

According to the article only vSphere 6.7 and below have this issue. But if you upgraded to 7.0 or higher, it wouldn't solve already duplicated UUIDs ?


JMeixner
Forum|alt.badge.img+17
  • On the path to Greatness
  • 2650 comments
  • March 10, 2023

No, I have checked our 7 U3 clusters and there are duplicate UUIDs...


fspadaro
Forum|alt.badge.img+1
  • Comes here often
  • 24 comments
  • March 11, 2023

@JMeixner you check the issue also on 7.0u3, but is it still a problem with V12 hot-add jobs?


regnor
Forum|alt.badge.img+14
  • Veeam MVP
  • 1354 comments
  • March 11, 2023

@JMeixner Ok, so this is something which needs to be corrected manually after upgrading.

@fspadaro Only V12 will have this issue.


JMeixner
Forum|alt.badge.img+17
  • On the path to Greatness
  • 2650 comments
  • March 11, 2023

I will discus this issue with our VMware admins next week.


JMeixner
Forum|alt.badge.img+17
  • On the path to Greatness
  • 2650 comments
  • March 14, 2023

Another question:
Is there an official statement from Veeam about this problem/feature (😎)?


marco_s
Forum|alt.badge.img+8
  • Influencer
  • 371 comments
  • March 14, 2023
JMeixner wrote:

Another question:
Is there an official statement from Veeam about this problem/feature (😎)?

I was wondering the same thing...


HunterLAFR
Forum|alt.badge.img+8
  • Veeam Legend
  • 422 comments
  • March 14, 2023
Martin Weber wrote:

Inside the forum there is a workaround to change transport mode to NBD (network) - https://forums.veeam.com/post479533.html#p479533

But this is not a workaround for us - because we have a separate Backup VLAN/Network/Uplink

 

I created a Powershell script to Change Disk UUIDs without to reboot a vm - https://github.com/claranet/ClaranetHub/tree/main/VMware/Change-DiskUUID

Currently we test it on some vms with failed backups

thanks Martin!
this is gold!


JMeixner
Forum|alt.badge.img+17
  • On the path to Greatness
  • 2650 comments
  • March 14, 2023
JMeixner wrote:

Another question:
Is there an official statement from Veeam about this problem/feature (😎)?

Fabian ( @Mildur ) has sent an interesting VMware KB article to me:

https://kb.vmware.com/s/article/1021189

This is a possible explanation of the problem. Disks with the same UUID must not be mounted to the same VM. The Veeam backup proxys are mounting a lot of disks and there is a great chance that disks with the same UUID are among these.


fspadaro
Forum|alt.badge.img+1
  • Comes here often
  • 24 comments
  • March 14, 2023
JMeixner wrote:
JMeixner wrote:

Another question:
Is there an official statement from Veeam about this problem/feature (😎)?

Fabian ( @Mildur ) has sent an interesting VMware KB article to me:

https://kb.vmware.com/s/article/1021189

This is a possible explanation of the problem. Disks with the same UUID must not be mounted to the same VM. The Veeam backup proxys are mounting a lot of disks and there is a great chance that disks with the same UUID are among these.

 

 

 

 

 

 

I will check on my lab environment, where I’ve found 4 VMs with the same UUID. 


fspadaro
Forum|alt.badge.img+1
  • Comes here often
  • 24 comments
  • March 15, 2023

Hi to all,

I’m testing in my lab:

  • 2 VMs with the same UUID
  • Veeam DP v12
  • VMware 7.0U3

The proxy server process all disks (simultaneously) in Virtual appliance mode without problems.