使用MySQL插件的SnapCenter 备份失败、并显示错误"error=7、参数列表过长"
适用场景
- NetApp SnapCenter 4.6
- MySQL自定义插件2.0
- SnapCenter 备份、包括预脚本和/或后脚本
- 在Linux系统中运行的MySQL
问题描述
mysql数据库备份失败、并显示以下错误:
Command [/var/opt/snapcenter/spl/script/myscript.sh] failed with return code [-1] and stderr [] and stdout [Failed to execute command: /var/opt/snapcenter/spl/script/myscript.sh
Reason:
Cannot run program "/bin/sh" (in directory "/opt/NetApp/snapcenter/scc"): error=7, Argument list too long]