Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell PowerStore Service Scripts Guide

System diagnostics (svc_diag)

This service script is used as your first tool, when diagnosing issues with your system. The script enables you to check for specific issues and gather system information. This information includes the current system topology, key configuration information, and the statuses of certain major system components.

Usage

FunctionDiagnostic
ModeNormal and Service
UsageGeneral use
Requires service user password?No
Requires root privileges?No
May cause data unavailability?No
May cause data loss?No
ScopeAppliance
PrerequisitesNone

Format

svc_diag [-h] [-v] {run,list} 

Optional arguments

QualifierDescription
-h, --helpShow the help message and exit.
-v, --verboseList additional content.

Actions

ActionDescription
run Run a diagnostic check. For detailed subcommand usage, use the help flag (svc_diag run --help).
list List diagnostic information. For detailed subcommand usage, use the help flag (svc_diag list --help).

Available options for diagnostic checks (run)

OptionDescription
-h, --helpShow the help message and exit.
--cw_hardwareRun the diagnostics to check for any hardware-related issues that may cause the initial configuration to fail.
--networkRun the diagnostics to check the network configuration. To check the management network cabling, specify --mgmt_cabling_check as an additional argument.
--workloadsRun the diagnostics to check whether an appliance contains any workloads such as storage or virtual machines.

Available options for listing diagnostic information (list)

OptionDescription
--basicList a high-level topology of the cluster and its state along with the appliances and nodes that are found in the cluster.
--alertsList the last ten active, unacknowledged alerts. Use the following additional arguments to list further specific information:
  • --closed—List the alerts that were closed in the last 24 hours.
  • --acknowledged—List the last ten acknowledged alerts.
To view alerts, closed and acknowledged, in the last 24 hours, you can specify both these arguments together. For example, --alerts --closed --acknowledged
--hardwareList all information that is related to the hardware. You can specify the following additional arguments to list information about specific components:
  • --fault_status—List information from the fault status register
  • --inventory—List the hardware inventory
  • --sensors—List sensor information
  • --sel—List serial log (SEL) information
  • --firmware—List firmware information
  • --local_drive—List local drive Smartdata information
  • --dimm—List DIMM information
--storageList all information that is related to the storage. To view information about the RAID configuration on the appliance, specify --raid as an additional argument.
--nvme_driveList all information about the nonvolatile memory express (NVMe) drives in the appliance.
--networkList network configuration information. To view information about management network cabling, specify --mgmt_cabling as an additional argument.
--icw_hardwareList all information that is related to the hardware checks during initial configuration.
--workloadsList information about the workloads, such as storage resources, hosts, and virtual machines, on the appliance. You can specify the following additional arguments to list specific workloads:
  • --jobs
  • --sdnas
  • --volume
  • --hosts
  • --host_groups
  • --vm_vvols
--hypervisorList diagnostic information for the hypervisor. This information includes information about the vSphere Installation Bundles (VIBs) and changes that are made after the installation.
--show_drives List the drives on the system.
--expansion_resume Show the output for any attached expansion shelves (DAEs) that are connected.
--clusterShow information about the cluster.
--services List all system services across nodes and containers.
--info Get information such as the node ID, appliance name, service tag, model, IP, and so on.
--energy_star List all the Energy Star-related information for the appliance.

Example

Use the following command to view local drive Smartdata:

svc_diag list --hardware --sub_options local_drive

Hardware: ========== Local Drive Smartdata  ===========
 
smartctl 7.0 2018-12-30 r4883 [x86_64-linux-4.14.19-coreos-r9999.1551750807-541] (local build)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org
 
=== START OF INFORMATION SECTION ===
Model Family:     SMART Modular Technologies mSATA XR+ M.2 2280 SafeData MLC
Device Model:     SHM2S86Q240GLM22EM            118000653
Serial Number:    SPG18040AR2
Firmware Version: FW1146
User Capacity:    240,057,409,536 bytes [240 GB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    Solid State Device
Form Factor:      M.2
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-2 (minor revision not indicated)
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Tue Apr  2 19:25:58 2019 UTC
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

Example

Use the following command to list all the Energy Star-related information for the appliance:

svc_diag list --energy_star

***** System Energy Star Information *****
Base Enclosure:
    Air Inlet Temperature (Celsius) : 22.00 (valid)
    Input Power (Watts)             : 1360.00 (valid)
Total Appliance InputPower (Watts)  : 1360 (valid)

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\