Skip to main content
NetApp Knowledge Base

Cloning to remote host using SCO/SCHANA encounters chown failure with Invalid Argument

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

Applies to

  • SnapCenter Plug-in for SAP HANA (SCHANA) 5.0
  • SnapCenter Plug-in for Oracle (SCO) 5.0
  • NFSv4 protocol

Issue

When cloning a database to a remote host, the plug-in attempts to change ownership on the mounted export:
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
 
the following error cours when attempting to change ownership for the designated account (here an example from 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.
 
The clone will will be cleaned up, when this happens, so the changes mentioned by that last sentence in the message cannot actually be made the clone database online.

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.