Host-based backup of VMware vSphere VMs.
Post Reply
Kazz
Expert
Posts: 140
Liked: 17 times
Joined: Feb 08, 2018 3:47 am
Full Name: Kazz Beck
Contact:

The process cannot access the file because it is being used by another process.

Post by Kazz »

Hi,

I have a back up job that never had any failures, but took very long time to complete because 2 proxies configured for the job were hard set to user network transport mode. A few weeks ago I switched to HotAdd mode and saw a significant performance increase as expected, but random VMs started to fail, not expected.

What I noticed is random VMs (1 or 2 out of 20) would fail on a first run, but would be successful on the 1st retry.

The error message would be consistent for any failed vm
11/6/2023 6:37:00 PM :: Processing SERVER-NAME Error: The process cannot access the file because it is being used by another process.
Failed to create or open file [\\qnap-451u\vmbackup\another_folder\SERVER-NAME.vm-718980D2023-11-07T105020_0AC4.vbk].
File '\\qnap-451u\vmbackup\another_folder\SERVER-NAME.vm-718980D2023-11-07T105020_0AC4.vbk' locked by 0 processes:
Failed to open storage for read/write access. Storage: [\\qnap-451u\vmbackup\another_folder\SERVER-NAME.vm-718980D2023-11-07T105020_0AC4.vbk].
This is QNAP ts-451u with Frimware - 5.1.1.2491. QNAP Antivirus is Off, so that's ruled out.

Veeam Support suggested switching to per VM metadata files. I went ahead and cloned the existing job and disabled the old one.

Running a new job has made things worse, now instead of 1 or 2 VMs failing on a first run I have 14 - 16 VMs failing on a first run, but with each retry the number of failed VMs gets lower and lower.

As you can tell from the error message we are backing up to an SMB share. AV exclusions are configured on all VBR and VBR Proxy servers.

Case: 06392979
Mildur
Product Manager
Posts: 8735
Liked: 2294 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: The process cannot access the file because it is being used by another process.

Post by Mildur »

Hi Kazz

Please keep working with our support engineer. We cannot solve such issues over a forum post.
If you are unhappy about a case, please always use the Talk a Manager option first to escalate the case to our support management.
https://www.veeam.com/kb2320

Best,
Fabian
Product Management Analyst @ Veeam Software
Post Reply

Who is online

Users browsing this forum: No registered users and 54 guests