跳转到主内容

使用SCO/SCHANA克隆到远程主机时、chown失败并显示无效参数

Views:
3
Visibility:
Public
Votes:
0
Category:
snapcenter
Specialty:
snapx
Last Updated:

适用场景

  • 适用于SAP HANA的SnapCenter插件(SCHANA) 5.0
  • 适用于Oracle (SCO) 5.0的SnapCenter插件
  • NFSv4协议

问题描述

将数据库克隆到远程主机时、此插件会尝试更改已挂载导出的所有权:
SCUPlugin: SCU::Utils::CommandHelper::execute_command(): Command 'mount -t nfs4 -o rw,noatime,vers=4.1,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,local_lock=none <NFS-IP>:/sap<sid>_data_Clone_<MMddYYHHmmss####> /hana/data/<SID>/mnt00001' successfully executed
 
尝试更改指定帐户的所有权时出现以下错误(此处为SCHANA的一个示例):
DEBUG: SCUPlugin: SCU::Utils::CommandHelper::execute_command(): Running command 'chown 1001:1001 /hana/data/<SID>/mnt00001' with timeout 600
DEBUG: SCUPlugin: 137: SCU::Utils::Logger::set_error_and_log_with_level(): Failed to execute the command 'chown 1001:1001 /hana/data/<SID>/mnt00001', command exited with value 1.
DEBUG: SCUPlugin: SCU::Utils::CommandHelper::execute_command(): Messages in command error stream: /usr/bin/chown: changing ownership of '/hana/data/<SID>/mnt00001': Invalid argument
ERROR: SCUPlugin: 190: SCU::Utils::Logger::set_and_log_error(): Failed to change the owner of the file system '/hana/data/<SID>/mnt00001'. Please manually change the owner of the file system.
 
此时、克隆将被清理、因此消息中最后一句所述的更改实际上无法使克隆数据库联机。

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.