Sharing violation on target

Hello,
i am running Duplicati Duplicati - 2.0.7.1_beta_2023-05-25 on Ubuntu 22.04 LTS on a Raspberry PI 4B
Backing up to remote locations via ftp works fine.
When I try to backup to a mounted network drive (I tried with a windows share as well as with Fritzbox NAS) i receive a sharing violation

Backup started at 4/11/2024 1:21:32 PM
Checking remote backup ...
  Listing remote folder ...
Fatal error => System.IO.IOException: Sharing violation on path /mnt/b
  at System.IO.DriveInfo.GetDiskFreeSpace (System.String path, System.UInt64& availableFreeSpace, System.UInt64& totalSize, System.UInt64& totalFreeSpace) [0x00017] in <12b418a7818c4ca0893feeaaf67f1e7f>:0
  at System.IO.DriveInfo.get_TotalSize () [0x00000] in <12b418a7818c4ca0893feeaaf67f1e7f>:0
  at Duplicati.Library.Backend.File.get_Quota () [0x0000a] in <a11c194a0ed94b3ea73efea18edcd2ee>:0
  at Duplicati.Library.Main.Operation.FilelistProcessor.RemoteListAnalysis (Duplicati.Library.Main.BackendManager backend, Duplicati.Library.Main.Options options, Duplicati.Library.Main.Database.LocalDatabase database, Duplicati.Library.Main.IBackendWriter log, System.Collections.Generic.IEnumerable`1[T] protectedFiles) [0x00291] in <9cab5b8f1b4f49ec980acae8e278968b>:0
  at Duplicati.Library.Main.Operation.FilelistProcessor.VerifyRemoteList (Duplicati.Library.Main.BackendManager backend, Duplicati.Library.Main.Options options, Duplicati.Library.Main.Database.LocalDatabase database, Duplicati.Library.Main.IBackendWriter log, System.Collections.Generic.IEnumerable`1[T] protectedFiles) [0x00000] in <9cab5b8f1b4f49ec980acae8e278968b>:0
  at Duplicati.Library.Main.Operation.BackupHandler.PreBackupVerify (Duplicati.Library.Main.BackendManager backend, System.String protectedfile) [0x0005f] in <9cab5b8f1b4f49ec980acae8e278968b>:0
  at Duplicati.Library.Main.Operation.BackupHandler.RunAsync (System.String[] sources, Duplicati.Library.Utility.IFilter filter, System.Threading.CancellationToken token) [0x00452] in <9cab5b8f1b4f49ec980acae8e278968b>:0

System.IO.IOException: Sharing violation on path /mnt/b
  at System.IO.DriveInfo.GetDiskFreeSpace (System.String path, System.UInt64& availableFreeSpace, System.UInt64& totalSize, System.UInt64& totalFreeSpace) [0x00017] in <12b418a7818c4ca0893feeaaf67f1e7f>:0
  at System.IO.DriveInfo.get_TotalSize () [0x00000] in <12b418a7818c4ca0893feeaaf67f1e7f>:0
  at Duplicati.Library.Backend.File.get_Quota () [0x0000a] in <a11c194a0ed94b3ea73efea18edcd2ee>:0
  at Duplicati.Library.Main.Operation.FilelistProcessor.RemoteListAnalysis (Duplicati.Library.Main.BackendManager backend, Duplicati.Library.Main.Options options, Duplicati.Library.Main.Database.LocalDatabase database, Duplicati.Library.Main.IBackendWriter log, System.Collections.Generic.IEnumerable`1[T] protectedFiles) [0x00291] in <9cab5b8f1b4f49ec980acae8e278968b>:0
  at Duplicati.Library.Main.Operation.FilelistProcessor.VerifyRemoteList (Duplicati.Library.Main.BackendManager backend, Duplicati.Library.Main.Options options, Duplicati.Library.Main.Database.LocalDatabase database, Duplicati.Library.Main.IBackendWriter log, System.Collections.Generic.IEnumerable`1[T] protectedFiles) [0x00000] in <9cab5b8f1b4f49ec980acae8e278968b>:0
  at Duplicati.Library.Main.Operation.BackupHandler.PreBackupVerify (Duplicati.Library.Main.BackendManager backend, System.String protectedfile) [0x0005f] in <9cab5b8f1b4f49ec980acae8e278968b>:0
  at Duplicati.Library.Main.Operation.BackupHandler.RunAsync (System.String[] sources, Duplicati.Library.Utility.IFilter filter, System.Threading.CancellationToken token) [0x01048] in <9cab5b8f1b4f49ec980acae8e278968b>:0
  at CoCoL.ChannelExtensions.WaitForTaskOrThrow (System.Threading.Tasks.Task task) [0x00050] in <9a758ff4db6c48d6b3d4d0e5c2adf6d1>:0
  at Duplicati.Library.Main.Operation.BackupHandler.Run (System.String[] sources, Duplicati.Library.Utility.IFilter filter, System.Threading.CancellationToken token) [0x00009] in <9cab5b8f1b4f49ec980acae8e278968b>:0
  at Duplicati.Library.Main.Controller+<>c__DisplayClass14_0.<Backup>b__0 (Duplicati.Library.Main.BackupResults result) [0x0004b] in <9cab5b8f1b4f49ec980acae8e278968b>:0
  at Duplicati.Library.Main.Controller.RunAction[T] (T result, System.String[]& paths, Duplicati.Library.Utility.IFilter& filter, System.Action`1[T] method) [0x0026f] in <9cab5b8f1b4f49ec980acae8e278968b>:0
  at Duplicati.Library.Main.Controller.Backup (System.String[] inputsources, Duplicati.Library.Utility.IFilter filter) [0x00074] in <9cab5b8f1b4f49ec980acae8e278968b>:0
  at Duplicati.CommandLine.Commands.Backup (System.IO.TextWriter outwriter, System.Action`1[T] setup, System.Collections.Generic.List`1[T] args, System.Collections.Generic.Dictionary`2[TKey,TValue] options, Duplicati.Library.Utility.IFilter filter) [0x00119] in <81fea8e154eb4fd9aa8b06aac66d311a>:0
  at Duplicati.CommandLine.Program.ParseCommandLine (System.IO.TextWriter outwriter, System.Action`1[T] setup, System.Boolean& verboseErrors, System.String[] args) [0x00342] in <81fea8e154eb4fd9aa8b06aac66d311a>:0
  at Duplicati.CommandLine.Program.RunCommandLine (System.IO.TextWriter outwriter, System.IO.TextWriter errwriter, System.Action`1[T] setup, System.String[] args) [0x00002] in <81fea8e154eb4fd9aa8b06aac66d311a>:0
root@RPI4B:/#

I am able to access the target folder, create and remove files in the target folder.
Any idea what this is about?

Thanks, Stefan

Duplicati does not contain its own SMB client, so whatever this was is between your OS and SMB server.

You could try more web search, but generally, as message suggests, there is some interference problem.

Any plausible candidates for access of same share at the same time? Are there a lot of backups at once?

I’m not sure why the disk space measurement seems particularly affected. Is that always the failure point?

Duplicati.CommandLine.BackendTester.exe

Before you start using a particular backend to use as a backup target, you can use the Backend Tester to get an indication of the integrity of that backend.

and at the end, it checks quota. Export As Command-line can give you a target URL, but you’ll need to edit that into an empty folder before you can run the test.