Solved

On 9 April 2024 veeam agent for linux backup to QNAP SMB stopped working.

  • 11 April 2024
  • 1 comment
  • 108 views

  • Not a newbie anymore
  • 1 comment

Sorry, dass es auf english ist, bin zuerst bei forum gelandet und dann gelesen, dass ich da falsch bin...

 

On 9 April 2024 veeam agent for linux backup stopped working.
On two machines with same error.
Veeam Agent for Windows still working fine to same QNAP target.

Two machines with problem:
Xubuntu 22.04 LTS: 5.15.0-102-generic
Xubuntu 20.04 LTS: 5.15.0-102-generic
on both machines this version:
Veeam Agent for Linux v6.1.0.1498
QNAP TS-251+ newest Firmware: 5.1.6.2722
Backup to two samba shares with two separate users on the QNAP.

So I thought this is a problem with the QNAP and restarted the QNAP, but still same problem.
Firmware update to newest qnap firmware - no improvement.
Manually I can mount both samba backup shares with
sudo mount -t cifs -o username=USER //192.168.178.255/sharename /mnt/test
or with
smb://192.168.178.255/sharename

Even a reinstall of Veeam on the Xubuntu 22.04 did not help.

But veeam cannot mount the CIFS/SAMBA, so backup fails.

So maybe there is a version issue with SMB?!

What can I try to find out what the problem is?
cifs-utils, keyutils is installed.
Thank you.

On one machine I tried to switch to NFS as a workaround, but this fails during backup file merge...

18:54:22         Job entire started at 2024-04-10 16:54:22 UTC
      18:54:23         Preparing to backup
      18:54:28         Creating volume snapshot                                                                                                                                                                                                                00:00:01
      18:54:30         Starting incremental backup to Repository_4
      18:54:31         Backed up nvme0n1 300.8 GB at 644.7 MB/s                                                                                                                                                                                                00:07:58
      19:02:33         Backed up lvmvol 279.5 GB at 475.1 MB/s                                                                                                                                                                                                 00:10:03
      19:12:36         Backing up summary.xml                                                                                                                                                                                                                  00:00:00
      19:12:39         Releasing snapshot                                                                                                                                                                                                                      00:00:04
      19:12:45         [warn] Failed to apply retention policy                                                                                                                                                                                                 00:02:58
      19:12:46         [error] Performing full backup file merge (62%)                                                                                                                                                                                         00:02:57
      19:15:43         [error] Full backup file merge failed
      19:15:43         [error] Failed to perform backup
      19:15:43         [error] TCP stream was closed
      19:15:43         [error] Failed to perform backup files merge
      19:15:43         [error] Processing finished with errors at 2024-04-10 17:15:43 UTC


Following errors from agent to smb:

      17:32:22         Job entire started at 2024-04-10 15:32:22 UTC
      17:32:24         Preparing to backup
      17:32:31         Creating volume snapshot                                                                                                                                                                                                                00:00:03
      17:32:45         [error] Failed to perform backup
      17:32:45         [error] Resource temporarily unavailable
      17:32:45         [error] Failed to check if file [/tmp/veeam/192.168.178.255sharename/t590 entire/entire_2024-04-10T173236.vib] is on remote filesystem
      17:32:45         [error] Failed to flush storage file [/tmp/veeam/192.168.178.255sharename/t590 entire/entire_2024-04-10T173236.vib]
      17:32:45         [error] Failed to open storage for read/write access. Storage: [/tmp/veeam/192.168.178.255sharename/t590 entire/entire_2024-04-10T173236.vib]
      17:32:45         [error] Processing finished with errors at 2024-04-10 15:32:45 UTC


dmesg:

 

[ 6379.232258] CIFS: No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3.1.1), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3.1.1 (or even SMB3 or SMB2.1) specify vers=1.0 on mount.
[ 6379.232261] CIFS: Attempting to mount \\192.168.178.255\sharename
[ 6383.262218] CIFS: VFS: cifs_setlk failed rc=-22
[ 6383.264775] CIFS: VFS: cifs_setlk failed rc=-22
[ 6391.461248] CIFS: VFS: cifs_setlk failed rc=-22
[ 6400.890364] CIFS: Attempting to mount \\192.168.178.255\sharename
[ 6403.175880] CIFS: Attempting to mount \\192.168.178.255\sharename
[ 7002.037319] CIFS: Attempting to mount \\192.168.178.255\sharename
[ 7002.428883] CIFS: reconnect tcon failed rc = -11
[ 7004.859418] CIFS: VFS: cifs_setlk failed rc=-22
[ 7004.859496] CIFS: VFS: cifs_setlk failed rc=-22
[ 7010.162809] CIFS: VFS: cifs_setlk failed rc=-22
[ 7019.820774] CIFS: Attempting to mount \\192.168.178.255\sharename
[ 7022.058798] CIFS: Attempting to mount \\192.168.178.255\sharename
[ 7620.952712] CIFS: Attempting to mount \\192.168.178.255\sharename
[ 7624.132457] CIFS: VFS: cifs_setlk failed rc=-22
[ 7624.132491] CIFS: VFS: cifs_setlk failed rc=-22
[ 7631.226109] CIFS: VFS: cifs_setlk failed rc=-22
[ 7640.361750] CIFS: Attempting to mount \\192.168.178.255\sharename
[ 7642.631389] CIFS: Attempting to mount \\192.168.178.255\sharename
[ 8241.501802] CIFS: Attempting to mount \\192.168.178.255\sharename
[ 8245.207506] CIFS: VFS: cifs_setlk failed rc=-22
[ 8245.207545] CIFS: VFS: cifs_setlk failed rc=-22
[ 8249.869115] CIFS: VFS: cifs_setlk failed rc=-22
[ 8255.063432] CIFS: Attempting to mount \\192.168.178.255\sharename
[ 8257.131896] CIFS: Attempting to mount \\192.168.178.255\sharename

 

icon

Best answer by VJan 11 April 2024, 16:17

View original

1 comment

Okay, found the issue:
Problem is the kernel
cifs in Kernel 5.15.0-102 bug
https://forums.linuxmint.com/viewtopic.php?t=417482

Started with -101 and backup is running!

Comment