Host-based backup of Microsoft Hyper-V VMs.
Post Reply
FTL
Enthusiast
Posts: 48
Liked: 4 times
Joined: Apr 04, 2017 2:58 pm
Contact:

Error: Incorrect function. Agent failed to process method {ReFs.SetFileIntegrity}.

Post by FTL » 1 person likes this post

Hi,

Im not having much luck with Veeam, every day is a different issue cropping up :(

Have just updated v10 to the latest update (10.0.1.4584) and now all my backups fail (HyperV Vm's + Agent backups)

They fail with:

Error: Incorrect function. Agent failed to process method {ReFs.SetFileIntegrity}.

Backup repo is a Synology nas and the Veeam B&R server has an iscsi target to the Synology.

Have seen google posts about adding a “UseCifsVirtualSynthetic” reg key, which appears to be for older version of B&R, tried it anyway as got nothing to lose but doesnt make a difference.

Any ideas please?

Many thanks
PetrM
Veeam Software
Posts: 3262
Liked: 526 times
Joined: Aug 28, 2013 8:23 am
Full Name: Petr Makarov
Location: Prague, Czech Republic
Contact:

Re: Error: Incorrect function. Agent failed to process method {ReFs.SetFileIntegrity}.

Post by PetrM »

Hello,

It's not something that we can easily troubleshoot over forum posts, you should open the support case and share debug logs with our support team. You may assign Severity 1 to the request if all production backups continue to fail.

Please share the support case ID with us and bear in mind that the forum posts about technical issues without case ID provided will be eventually removed by moderator.

Thanks!
FTL
Enthusiast
Posts: 48
Liked: 4 times
Joined: Apr 04, 2017 2:58 pm
Contact:

Re: Error: Incorrect function. Agent failed to process method {ReFs.SetFileIntegrity}.

Post by FTL »

Hi,

Managed to get past that error by deleting all jobs and repository and basically starting again.

Thanks
feelgoodeule
Influencer
Posts: 20
Liked: 19 times
Joined: Jul 28, 2009 12:28 pm
Full Name: Michael

Re: Error: Incorrect function. Agent failed to process method {ReFs.SetFileIntegrity}.

Post by feelgoodeule » 5 people like this post

I had this error today with Veeam B&R 11.0 and two different Synology-NAS with DMS 7.0.1 RC writing to an SMB-Share on the NAS.
Same Issue. No backup to these NAS, both Backup to different NAS failed with "failed to process method refs.setfileintegrity"

Solution:
[HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam Backup and Replication]
"UseCifsVirtualSynthetic"=dword:00000000
gorka
Enthusiast
Posts: 43
Liked: 5 times
Joined: Apr 14, 2016 6:45 pm
Full Name: Gorka Izquierdo Bizkarrondo
Location: Pamplona-IRUÑA , Euskalherria
Contact:

Re: Error: Incorrect function. Agent failed to process method {ReFs.SetFileIntegrity}.

Post by gorka » 1 person likes this post

Hi,
I created a procedure, according to information that I looked for in a forum
https://aprendiendoavirtualizar.com/vee ... integrity/
Regards!
Ricksege
Lurker
Posts: 1
Liked: never
Joined: Jun 27, 2017 7:40 pm
Full Name: Rick Segeberg

Re: Error: Incorrect function. Agent failed to process method {ReFs.SetFileIntegrity}.

Post by Ricksege »

This option solved the issue for me. Thanks.
feelgoodeule wrote: Sep 28, 2021 12:06 pm I had this error today with Veeam B&R 11.0 and two different Synology-NAS with DMS 7.0.1 RC writing to an SMB-Share on the NAS.
Same Issue. No backup to these NAS, both Backup to different NAS failed with "failed to process method refs.setfileintegrity"

Solution:
[HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam Backup and Replication]
"UseCifsVirtualSynthetic"=dword:00000000
ejenner
Veteran
Posts: 636
Liked: 100 times
Joined: Mar 23, 2018 4:43 pm
Full Name: EJ
Location: London
Contact:

Re: Error: Incorrect function. Agent failed to process method {ReFs.SetFileIntegrity}.

Post by ejenner » 1 person likes this post

The registry key also worked for me.
rm@kompetera.dk
Novice
Posts: 4
Liked: 1 time
Joined: Aug 07, 2020 9:13 am
Full Name: Rune Mau
Contact:

Re: Error: Incorrect function. Agent failed to process method {ReFs.SetFileIntegrity}.

Post by rm@kompetera.dk » 1 person likes this post

The reg. change also worked for me.
ftravinsky
Influencer
Posts: 18
Liked: 5 times
Joined: Feb 03, 2020 10:38 am
Full Name: Fedor Travinsky
Location: Moscow
Contact:

Re: Error: Incorrect function. Agent failed to process method {ReFs.SetFileIntegrity}.

Post by ftravinsky »

Seems "UseCifsVirtualSynthetic" registry tweak kills Veeam synthetic full fast clone feature, without one synthetic duration is increased in 2x-3x.
Image

Is there any updates on this issue? Should I punch Synology support?
Image
Running latest Synology DSM 7.0.1u3 and latest B&R v11 P20211211.
SMB repository got me "ReFS.SetFileIntegrity" error on all jobs when Btrfs fast clone Synology feature is enabled.
PetrM
Veeam Software
Posts: 3262
Liked: 526 times
Joined: Aug 28, 2013 8:23 am
Full Name: Petr Makarov
Location: Prague, Czech Republic
Contact:

Re: Error: Incorrect function. Agent failed to process method {ReFs.SetFileIntegrity}.

Post by PetrM »

Hi Fedor,

Could you please explain the purpose to use the mentioned registry key in your specific case? Also, if you see some errors with backup jobs, please raise a support request and share case ID with us.

Thanks!
ftravinsky
Influencer
Posts: 18
Liked: 5 times
Joined: Feb 03, 2020 10:38 am
Full Name: Fedor Travinsky
Location: Moscow
Contact:

Re: Error: Incorrect function. Agent failed to process method {ReFs.SetFileIntegrity}.

Post by ftravinsky »

That's a Community installation, support team is overloaded and didn't take the case.

Case is the same as the topic:
Backups to SMB Repository on Synology DSM7.0+ fail with "Agent failed to process method {ReFs.SetFileIntegrity}" unless "UseCifsVirtualSynthetic" disabled.
Got workaround from Google: https://aprendiendoavirtualizar.com/vee ... integrity/
https://www.reddit.com/r/Veeam/comments ... eeam_95u4/
PetrM
Veeam Software
Posts: 3262
Liked: 526 times
Joined: Aug 28, 2013 8:23 am
Full Name: Petr Makarov
Location: Prague, Czech Republic
Contact:

Re: Error: Incorrect function. Agent failed to process method {ReFs.SetFileIntegrity}.

Post by PetrM »

Hi Fedor,

Support is provided over email on best-effort basis for customers using Community, Free or NFR licensed products. I suggest to try once again, every single attempt increases your chances to get in touch with our engineers.

Thanks!
csm
Service Provider
Posts: 3
Liked: never
Joined: Apr 08, 2022 8:34 am

Re: Error: Incorrect function. Agent failed to process method {ReFs.SetFileIntegrity}.

Post by csm »

Just to note: this is still an issue with VBR 11.0.1.1261 P20220302 :( The cifs registry "hack" fixes it.
marco_itsc
Novice
Posts: 3
Liked: 1 time
Joined: May 24, 2022 9:56 am
Contact:

Re: Error: Incorrect function. Agent failed to process method {ReFs.SetFileIntegrity}.

Post by marco_itsc »

Editing the registry fixed it for me
Still an issue with B&R v. 11.0.1.1261
tinu
Novice
Posts: 4
Liked: 4 times
Joined: Feb 14, 2019 12:51 pm
Contact:

Re: Error: Incorrect function. Agent failed to process method {ReFs.SetFileIntegrity}.

Post by tinu »

I moved a Backup Repository from one Synology Volume to another one and copied all backups to the new location.
After pointing Agent-Backup-Jobs to the new location, the error appeared. This one helped:
feelgoodeule wrote: Sep 28, 2021 12:06 pm I had this error today with Veeam B&R 11.0 and two different Synology-NAS with DMS 7.0.1 RC writing to an SMB-Share on the NAS.
Same Issue. No backup to these NAS, both Backup to different NAS failed with "failed to process method refs.setfileintegrity"

Solution:
[HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam Backup and Replication]
"UseCifsVirtualSynthetic"=dword:00000000
harrym
Influencer
Posts: 13
Liked: 1 time
Joined: Jul 24, 2015 4:59 pm
Full Name: Harry Manesiotis
Contact:

Re: Error: Incorrect function. Agent failed to process method {ReFs.SetFileIntegrity}.

Post by harrym »

Hello everyone,

Since this also occurred 9/9/2022 on VBR 11 I figured it may be of use to some still.

The UseCifsVirtualSynthetic registry entry had no effect.

Used procedure below:

Make sure that no jobs are running or wait until they are ended.
Create the following registry key on Veeam Backup Server:
Path: HKEY_LOCAL_MACHINESOFTWAREVeeamVeeam Backup and Replication
Name: RefsVirtualSyntheticDisabled
Type: REG_DWORD
Value: 1
Restart Veeam Backup Service to apply changes and run the affected job again.

Credit to this website:
https://tomaskalabis.com/wordpress/veea ... integrity/
tpayton
Veeam Software
Posts: 139
Liked: 90 times
Joined: Jan 16, 2013 5:27 pm
Full Name: Tyler Payton
Contact:

Re: Error: Incorrect function. Agent failed to process method {ReFs.SetFileIntegrity}.

Post by tpayton » 1 person likes this post

A KB article addressing this issue has been published, KB4381: Agent failed to process method {ReFs.SetFileIntegrity}.
The article documents the two scenarios where this issue may occur and full details of the registry values discussed in this thread.
Tyler Payton
Customer Experience Manager / KB Manager
Post Reply

Who is online

Users browsing this forum: No registered users and 24 guests