How To Create Linux, AIX, Solaris, or HP-UX Grab

Summary: This article gives step by step instructions on how-to-create a Grab for a Linux, AIX, Solaris, or HP-UX host with the latest Grab v5.0.0 released on Jul 2024. It combines all UNIX Grabs to one package. ...

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

Simple steps to create Grabs for Linux, AIX, Solaris, or HP-UX Hosts.

Grabs on average take about 15 to 20 minutes to run. If there are many Symmetrix arrays attached to the host, it may be longer. As long as the screen is printing, the script is running. The script can be stopped at anytime by using ctrl+c like other Linus or UNIX commands. 

Cause

Create Grab.

Resolution

Instructions for running the Grab on a Linux host.
The script should be run as user root or sudo with root privileges to prevent any data not being collected through lack of permissions.

Download the latest Grab for Unix/Linux utility grab_UnixLinux_v5.x.x_signed.tar. (requires a Dell account)

  1. Place the Grab tar file into a suitable directory (for example, /usr/dell) and extract using the following command: 

tar -xvf grab_<os>_<version>_signed.tar

The extracted grab_<os>_<version>_signed.tar file contains the following files:

    • dell_dtstapplications2024.pub.key
    • grab_<os>_<version>.tar
    • grab_<os>_<version>.tar.sig
    • grab_<os>_<version>_verify_signature.sh

To verify the grab_<os>_<version>.tar file, run the following command:

[root@localhost /usr/dell]# ./grab_<os>_<version>_verify_signature.sh

grab_<os>_<version>.tar: Verified OK

 
Note: OpenSSL must be installed to verify the file signature

 

  1. Once the Grab grab_<os>_<version>.tar file is verified, extract it using the following command:

tar -xvf grab_<os>_<version>.tar

  1. A directory named 'emcgrab' is created which contains all the necessary support scripts and functions to successfully run the data collection scripts.
  2. Ensure that your file system has at least 500M of free disk space for temporary files that may be generated during its processing. If there are multiple Symmetrix arrays attached to the host, the resulting tar file may be very large.
  3. Change the directory to 'emcgrab' and run the command:

./emcgrab.sh
./emcgrab.sh -autoexec -legal -noproc or ./emcgrab.sh -noproc    (for RHEL 9 and later, use Grab v5.0.2.05 or later)

  1. The script generates a compressed tar file residing in the ./emcgrab/outputs directory unless the -OUTDir option is used to change it. Its format is:

<hostname>_YYYY-mm-dd-hh.mm.ss>_<OS>_emcgrab_<version>_[full | lite]_CC<ServiceRequestNumber>.tar.<Z|gz>

If no Service Request number is defined, <ServiceRequestNumber> defaults to 0000000000.

  1. Download the .tar.gz file and upload to the MFT link or case.

Note: Linux systems with restricted /proc access (particularly RHEL 9 and later) may experience issues with /proc file collection. Use the -noproc command line option to bypass /proc directory and file collection. This option is particularly useful for systems with enhanced security restrictions.

Examples: ./emcgrab.sh -autoexec -legal -noproc or ./emcgrab.sh -noproc


Note:
  1. The script prompts the user with a warning message should it detect less than 50MB remaining on the file system every time the script runs the file system check routine unless run in -autoexec mode.
  2. The script prompts for a Dell Technologies license agreement unless in -autoexec mode with the -legal option. Once EMC license agreement is accepted, the script continues.

Invoking the Grab script with the -legal option confirms that the user accepts the Dell Technologies license agreement.

  1. If do not want to see the prompts listed in 4, run with the following changes: 

./emcgrab.sh -autoexec -legal 

  1. When running ./emcgrab.sh only, press enter or space bar to review the agreement: 

review the agreement

Then input Y to accept:

DO YOU AGREE TO ACCEPT THE TERMS & CONDITIONS OF THIS LEGAL AGREEMENT (Y/N): Y

If following is prompted, input the information as asked or just press enter to pass:

Please Enter Service Request Number     :
Please Enter Customer Party Number (Site ID) :
Please Enter Customer Company Name      :
Please Enter Customer Contact Name      :
Please Enter Customer Contact Phone Number      :
Please Enter your Email Address :

If the following is prompted, input Y:

Is the Grab Identification Information Correct (Y/N)    : Y

If this question is prompted, input N, unless SMI-S information is required by support:

Do you want to collect SMI-S information (y/n) ? n
  1. At the end, it shows like below
Finishing Data Collection, please wait...

Creating and compressing Tar File 
<hostname>_YYYY-mm-dd-hh.mm.ss>_<OS>_emcgrab_<version>_[full | lite]_CC<ServiceRequestNumber>.tar.<Z|gz>...........

All outputs are located in the outputs directory
Output Filename is :

<hostname>_YYYY-mm-dd-hh.mm.ss>_<OS>_emcgrab_<version>_[full | lite]_CC<ServiceRequestNumber>.tar.<Z|gz>

Please submit this file to Dell EMC for Analysis.  Thank you

Removing Temporary Files....
[root@localhost emcgrab]#

Affected Products

GRAB

Products

GRAB
Article Properties
Article Number: 000170532
Article Type: Solution
Last Modified: 22 Jul 2026
Version:  9
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.