Avamar: SQL 백업이 오류 또는 예외와 함께 완료되었습니다.
Summary: SQL 플러그인을 사용한 Avamar 백업이 완료되었지만 예외나 오류가 발생했습니다. 995 스레드 종료, 응용 프로그램 요청 또는 운영 체제 오류 0x8007000e으로 인해 I/O 작업이 중단되었습니다. (이 작업을 완료하는 데 사용할 수 있는 스토리지가 충분하지 않습니다.)
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
SQL 플러그인을 사용한 Avamar 백업이 완료되었지만 Avamar 로그와 Windows 애플리케이션 로그에 예외가 나타날 수 있습니다.
- SQL Server에 대한 Windows 응용 프로그램 로그.
10/9/2013 10:33:24 PM MSSQLSERVER Error Backup 3041 NT AUTHORITY\SYSTEM RFSQL03 BACKUP failed to complete the command BACKUP DATABASE ASAP. Check the backup application log for detailed messages. 10/9/2013 10:33:24 PM MSSQLSERVER Error Server 18210 NT AUTHORITY\SYSTEM RFSQL03 BackupVirtualDeviceSet::SetBufferParms: Request large buffers failure on backup device '(local)_ASAP_db_sched-sql_backup-1381372200061#12-3006-SQL'. Operating system error 0x8007000e(Not enough storage is available to complete this operation.).
- Avamar SQL 로그
2013-12-17 22:08:23 avsql Error <9072>: sqlconnectimpl_smo::execute Microsoft.SqlServer.Management.Common.ExecutionFailureException: An exception occurred while executing a Transact-SQL statement or batch. ---> System.Data.SqlClient.SqlException: Write on "(local)_TMEngine_8PM-BACKUP-SQL-1387332000116#1-3006-SQL" failed: 112 (There is not enough space on the disk.)
- 아래 나열된 파일에서 복구할 수 없는 I/O 오류가 발생했습니다.
"(local)_TMEngine_8PM-DATACAPAPP01-SQL-1387332000116#1-3006-SQL:" 995(The I/O operation has been aborted because of either a thread exit or an application request.).
BACKUP DATABASE is terminating abnormally.
Cause
백업 프로세스 중에 높은 메모리 및 CPU 사용량이 관찰되었습니다. 위의 오류는 avsql이 SQLVDI 인터페이스 API(공유 또는 정적 라이브러리)를 사용하여 SQL Server에서 데이터를 읽으려고 시도하기 때문에 발생합니다. 정상적인 조건에서 이 프로세스는 전송 중 세그먼트 공유를 위한 메모리 할당이 성공한 것으로 가정합니다. SQLVDI 인터페이스의 데이터 전송이 실패하고, avsql은 메시지를 기록하고, 플러그인의 종료 프로세스 중에 avtar에 대한 파이프를 중단합니다. 첫 번째 단계는 다음 TSQL(Transact-SQL) 쿼리를 실행하여 SQL 사용 가능 메모리의 유효성을 검사하는 것입니다.
총 OS 메모리 및 사용 가능한 메모리를 확인하기 위한 TSQL 쿼리는 다음과 같습니다.
SELECT
(total_physical_memory_kb/1024) AS Total_OS_Memory_MB,
(available_physical_memory_kb/1024) AS Available_OS_Memory_MB
FROM sys.dm_os_sys_memory;
다음은 Avamar 백업을 실행하는 동안 SQL Server에서 사용된 메모리를 확인하는 쿼리입니다.
SELECT
(physical_memory_in_use_kb/1024) AS Memory_used_by_Sqlserver_MB,
(locked_page_allocations_kb/1024) AS Locked_pages_used_by_Sqlserver_MB,
(total_virtual_address_space_kb/1024) AS Total_VAS_in_MB,
process_physical_memory_low,
process_virtual_memory_low
FROM sys.dm_os_process_memory;
Avamar 백업이 제대로 실행되려면 사용 가능한 메모리가 20% 이상 있어야 합니다. 기본적으로 SQL Server는 사용 가능한 대부분의 메모리 리소스를 사용합니다. 최적의 성능을 보장하려면 SQL 작업에 할당되는 메모리의 양을 제한하도록 구성해야 합니다.
이러한 실패의 다른 알려진 이유는 다음과 같습니다.
- MAXTRANSFERSIZE는 Avamar 7.0에서 4MB로 변경되었으며 maxtransfer가 64KB인 경우에도 이 오류가 표시됩니다.
- 이 오류는 특히 복원 작업 중에 디스크 공간이 부족함을 나타내는 경우가 많습니다. 예를 들어 기록된 실패는 다음과 같이 표시될 수 있습니다.
2024/05/01-18:25:39.60800 [avsql_t0] ===> avsql_avtarpipe_ctl::wait
2024/05/01-18:25:39.60899 [sqlcommand restore(FxCentral)] Caught Exception : Microsoft.SqlServer.Management.Common.ExecutionFailureException: An exception occurred while executing a Transact-SQL statement or batch. ---> System.Data.SqlClient.SqlException: There is insufficient free space on disk volume 'H:\' to create the database. The database requires 870622363648 additional free bytes, while only 140103278592 bytes are available
- Pinal Dave(https://blog.sqlauthority.com/2016/04/14/sql-server-backup-randomly-failing-error-112-not-enough-space-disk/)에 따르면(외부 사이트)
- 압축된 데이터베이스의 SQL 백업 크기는 시작과 끝에서 다르며, 이러한 불일치로 인해 이 오류가 발생할 수 있습니다
- 특히 대규모 데이터베이스 백업의 경우 아래 avsql 플래그를 다음과 같이 설정하여 MAXTRANSFERSIZE를 변경하는 경우
avsql flag : —max-transfer-size=65536
- avsql이 아래 캡처에서 볼 수 있듯이 연결 결함을 보고한 후 오류가 표시됩니다.
2020-11-03 15:32:36 avsql Info <10684>: Setting ctl message version to 3 (from 1)
2020-11-03 15:32:36 avsql Info <16136>: Setting ctl max message size to 268435456
2020-11-03 15:32:38 avsql Info <6688>: Process 9540 (C:\Program Files\avs\bin\avtar) finished (code 536870920: cannot establish connection with server (possible network or DNS failure))
2020-11-03 15:32:38 avsql Warning <6690>: CTL workorder "NAH-1604435554526#1" non-zero exit status 'code 536870920: cannot establish connection with server (possible network or DNS failure)'
2020-11-03 15:32:38 avsql Info <7732>: Waiting for avtar to finish
2020-11-03 15:32:38 avsql Info <6444>: Plugin exited with 'code 536870920: cannot establish connection with server (possible network or DNS failure)'
2020-11-03 15:32:38 avsql Error <18491>: SQL plug-in will now terminate due to the following avtar error: 'code 536870920: cannot establish connection with server (possible network or DNS failure)'
2020-11-03 15:32:38 avsql Info <6446>: SQL VDI transfer of 'sql_111\spd/SPMonitoring/f-0.SPMonitoring' to 'sql_111_spd_SPMonitoring_NAH-1604435554526-3006-SQL' successful
2020-11-03 15:32:38 avsql Error <40258>: sqlconnectimpl_smo::execute Microsoft.SqlServer.Management.Common.ExecutionFailureException: An exception occurred while executing a Transact-SQL statement or batch. ---> System.Data.SqlClient.SqlException: Write on "lfosat993_csotspd_SPMonitoring_NAH-1604435554526-3006-SQL" failed: 112(There is not enough space on the disk.)
-
- 이러한 증상을 완화하는 것 외에도 "vditransfertimeoutsecs"를 큰 값으로 설정하면 avtar 파이프 연결 시간 초과를 방지할 수 있습니다
Resolution
해결 방법:
다음 방법 중 하나를 사용하여 MCGUI 데이터 세트 또는 avsql.cmd 파일에 플래그를 추가합니다.
- 방법 #1 - 데이터 세트에 추가
- SQL 플러그인용 이미지에 다음 플래그를추가합니다.
-
참고: 두 플래그 모두 선행 "[avsql]"이 있어야 합니다.
[avsql]max-transfer-size=65536
[avsql]vditransfertimeoutsecs=10800
- 방법 #2 - avsql.cmd 파일에 추가
- C:\Program Files\avs\var\avsql.cmd 파일에 다음 플래그를 추가합니다.
--max-transfer-size=65536
--vditransfertimeoutsecs=10800
-
-
참고: 경우에 따라 대규모 가상 머신에는 시간 초과 플래그에 대해 더 큰 값이 필요할 수 있습니다.
-
- 방법 #3- Config Manager에서 "공유 메모리", "명명된 파이프" 및 "TCP/IP" 프로토콜을 비활성화했다가 다시 활성화합니다(활성화 옵션). 이 경우 SQL Server를 재시작해야 합니다.

Affected Products
Avamar Plug-in for SQLProducts
Avamar, Avamar Plug-inArticle Properties
Article Number: 000078628
Article Type: Solution
Last Modified: 25 Feb 2025
Version: 3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.