When attempting to perform backups of vCenter Server to an SMB share, the backup process fails with the error message "BackupManager encountered an exception. See logs for details." The backup log shows NT_STATUS_SHARING_VIOLATION
errors during the cleanup phase.
NT_STATUS_SHARING_VIOLATION
errors
The issue occurs when the SMB server has insufficient concurrent connection limits configured. vCenter Server backup operations require multiple simultaneous SMB connections to perform various operations including:
When connection limits are too restrictive, the backup process cannot obtain the necessary connections to complete all required operations.
For Windows SMB Servers:
For Linux SMB Servers:
cat /etc/samba/smb.conf
sudo vi /etc/samba/smb.conf
max connections = 0
sudo systemctl restart smbd
echo "Test backup content $(date)" > /tmp/test_backup.txt
smbclient //<server>/backups/ -U <username> -m SMB3 -c "put /tmp/test_backup.txt test_backup.txt"
smbstatus --processes