Avamar:hfscheck 失败并显示错误 MSG_ERR_CMD_FAIL
Summary: 检查点验证失败并显示以下错误“Last hfscheck failed with result MSG_ERR_CMD_FAIL”
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 维护活动显示失败的 hfscheck,阻止验证检查点。
# status.dpn Last checkpoint: cp.20260121214733 finished Wed Jan 21 16:47:51 2026 after 00m 18s (OK) Last GC: finished Wed Jan 21 08:00:49 2026 after 00m 05s >> recovered 21.08 KB (OK) Last hfscheck failed with result MSG_ERR_CMD_FAIL : started Wed Jan 21 16:47:59 2026 ended Wed Jan 21 16:48:07 2026, nodes queried/replied/total(1/1/1)
查看 gsan 日志显示错误。
/data01/cur/gsan.log
2026/01/21-21:48:07.92035 {0.0} [cprecovery:133] checkpoint::dnscontext::resetdns using alternate stripedns srcdir=recover_do_not_touch/cp.20260121214733.1769032053.20260121T214807x920059 dns=cur
2026/01/21-21:48:07.92038 {0.0} [manage:1279] negotiator::request exception server_exception(MSG_ERR_CMD_FAIL)
2026/01/21-21:48:07.92038 {0.0} [manage:1279] dpncheckmanager::dpncheckcontext::revert
2026/01/21-21:48:07.92041 {0.0} [cprecovery:133] stripetab::stripetab sizeof(stripelistitem) = 160
2026/01/21-21:48:07.92042 {0.0} [cprecovery:133] stripetab::stripetab sizeof(stripeitemtype) = 168
2026/01/21-21:48:07.92042 {0.0} [cprecovery:133] nodetab::nodetab sizeof(nodelistitem) = 496
2026/01/21-21:48:07.92043 {0.0} [cprecovery:133] nodetab::nodetab sizeof(nodeitemtype) = 512
2026/01/21-21:48:07.92043 {0.0} [manage:1279] samthread::call server_exception server_exception(MSG_ERR_CMD_FAIL) REQUESTDPCause
观察”home/admin“目录权限适用于这种情况。
root@hop-ave-81-v1912:/home/#: ls -la
total 4
drwxr-xr-x 7 root root 69 Mar 3 2025 .
drwxr-xr-x 4 root root 32 Mar 3 2025 ..
drwxr-x--- 17 root admin 4096 Jan 21 09:01 admin
drwxr-xr-x 8 avi avi 204 Dec 17 2024 avi
drwxr-x--- 3 dpn admin 119 Apr 11 2025 dpn
drwxr-xr-x 8 tomcat tomcat 198 Sep 26 13:52 tomcat
drwxr-xr-x 6 vauser vauser 141 Dec 17 2024 vauser
-
严格的所有权检查
Avamar 的运行状况检查和检查点逻辑验证运行时环境,包括:- 所有权
/home/admin并且所有内容都必须是admin:admin。 - SSH 材料(例如,
/home/admin/.ssh/authorized_keys、密钥)必须归所有admin并有严格的烫发(没有为团体/其他人写)。 - 一些脚本和运行时状态写入
/home/admin必须可通过admin用户,不归root。
改变
root:admin,dpncheck/cprecovery 检测 意外的所有权 并作为安全措施进行救助。 - 所有权
-
谈判者/管理层对管理员家
的依赖性 Avamar 协商器 和管理守护程序依赖于admin用于身份验证和业务流程的帐户上下文。如果文件位于/home/admin不归所有方admin,您可以看到:- SSH 身份验证失败或由于不安全的权限而跳过执行。
- 脚本在检测到错误的所有者时拒绝运行(深度防御)。
- 导致的命令失败会冒泡,因为
MSG_ERR_CMD_FAIL.
Resolution
- 以根用户身份登录以进行更改
/home/admin。
# su - # chmod root:admin /home/admin root@hop-ave-81-v1912:/home/#: ls -la total 4 drwxr-xr-x 7 root root 69 Mar 3 2025 . drwxr-xr-x 4 root root 32 Mar 3 2025 .. drwxr-x--- 17 admin admin 4096 Jan 21 09:01 admin drwxr-xr-x 8 avi avi 204 Dec 17 2024 avi drwxr-x--- 3 dpn admin 119 Apr 11 2025 dpn drwxr-xr-x 8 tomcat tomcat 198 Sep 26 13:52 tomcat drwxr-xr-x 6 vauser vauser 141 Dec 17 2024 vauser
Article Properties
Article Number: 000245683
Article Type: Solution
Last Modified: 04 شعبان 1447
Version: 1
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.