Avamar:备份失败,无法加载哈希高速缓存

Summary: Avamar 备份失败,并显示“无法加载哈希缓存文件”和“无法同时使用相同的哈希缓存名称运行多个备份”

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

Avamar 备份在启动后立即失败,并在日志中报告以下错误消息。
 

2017-03-18 18:11:06 avtar Error <5064>: Cannot open file '/usr/local/avamar/var/EMC/root_vdm_1_EMC_p_cache.dat'
2017-03-18 18:11:06 avtar Error <18907>: Unable to load hash cache file '/usr/local/avamar/var/EMC/root_vdm_1_EMC_p_cache.dat' (Log #1)
2017-03-18 18:11:06 avtar FATAL <5224>: Cannot run multiple backups with the same hash cache name at the same time. Consider changing VARDIR or using --cache-prefix option.

Cause

问题的根本原因

Avamar 备份失败可归因于两个主要原因:

  • “vardir”或“--cache-prefix”参数配置错误,导致多个 avtar 实例尝试同时访问同一缓存文件。
  • 如果 avtar 进程停止响应(这可能是由于旧备份或 avtar 进程停滞在 Linux 客户端或 Network Data Management Protocol (NDMP) 加速器节点上,从而导致缓存被锁定。

以下日志中的错误消息显示了失败的原因。

2017-03-18 18:11:06 avtar Error <5064>: Cannot open file '/usr/local/avamar/var/EMC/root_vdm_1_EMC_p_cache.dat'
2017-03-18 18:11:06 avtar Error <18907>: Unable to load hash cache file '/usr/local/avamar/var/EMC/root_vdm_1_EMC_p_cache.dat'
2017-03-18 18:11:06 avtar FATAL <5224>: Cannot run multiple backups with the same hash cache name at the same time. Consider changing VARDIR or using --cache-prefix option.



 

Resolution

解决 Avamar 备份失败

要解决 Avamar 备份失败问题,请执行以下步骤:

对于原因 #1,

  • “vardir”或“--cache-prefix”参数配置错误
    • 检查客户端是否指向与另一个正在进行的客户端备份相同的高速缓存文件。如果为 true
    • 检查备份的配置:  VARDIR 或高速缓存前缀参数
  • 签入数据集和客户端avtar.cmd文件的高级选项,以确保未配置客户端,以便多个 avtar 进程不指向相同的 vardir/cache 文件。

对于原因 #2,旧的备份/avtar 进程在 Linux 客户端或 NDMP 加速器节点上停止响应,导致缓存被锁定。要检查这一点,请按照下列步骤作:

  • 以根用户身份登录系统。
  • 停止 avagent 服务以确保没有进一步的备份尝试启动
    service avagent stop
        
  • 检查是否有任何 avtar 进程正在运行:
    ps -ef | grep av
    • 如果有备份正在运行,请从 Avamar Administrator UI 停止它们。或者,使用
      kill 
    • kill -9 
    • 若要强制执行,请关闭进程。 
  • 清除所有旧进程后,重新启动 avagent:
    service avagent start
  • 再次测试备份。

     

Additional Information

提醒:avtar.cmd 文件位于客户端目录下的 NDMP 加速器节点上:/usr/local/avamar/var/<client>  

Affected Products

Avamar

Products

Avamar
Article Properties
Article Number: 000054871
Article Type: Solution
Last Modified: 15 Aug 2025
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.