Dell EMC Unity: bash: svc_param: command not found (User Correctable)

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

No change on customer environment

Customer is performing scripting with Linux client but any svc_param command fails with the following message:

Linux client:
# ssh service@emcunity02 "svc_param ALL -facility cifs -info allowSnapSureVss"

Welcome to EMC Unity 500 64GB - (none) - upc_Unity_5_6_upcBuilder-4.1.1.9138882-GNOSIS_RETAIL
Password:

bash: svc_param: command not found    <============

Cause

svc_xxx is alias of sudo.

Resolution


In order to use svc_xxx customer can use two different option:

1. Add  sudo /EMC/Platform/bin/ :
Linux client:
ssh service@emcunity02 " sudo /EMC/Platform/bin/svc_param ALL -facility cifs -info allowSnapSureVss"
Welcome to EMC Unity 500 64GB - (none) - upc_Unity_5_6_upcBuilder-4.1.1.9138882-GNOSIS_RETAIL

Password:
Server parameter value, allowSnapSureVss="1"


2. Customer can add the following string at the end of file  ~service/.bashrc (Vi it on both SPs):
shopt -s expand_aliases

Then it will work like:
Linux client:
ssh service@emcunity02 "svc_param ALL -facility cifs -info allowSnapSureVss"
Server parameter value, allowSnapSureVss="1"

Affected Products

Dell EMC Unity Family

Products

Dell EMC Unity Family
Article Properties
Article Number: 000064521
Article Type: Solution
Last Modified: 23 Sep 2024
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.