How To Create Linux, AIX, Solaris, or HP-UX Grab
Résumé: 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. ...
Symptômes
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.
Résolution
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)
- 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.keygrab_<os>_<version>.targrab_<os>_<version>.tar.siggrab_<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
- Once the Grab
grab_<os>_<version>.tarfile is verified, extract it using the following command:
tar -xvf grab_<os>_<version>.tar
- A directory named '
emcgrab' is created which contains all the necessary support scripts and functions to successfully run the data collection scripts. - 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.
- 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)
- The script generates a compressed tar file residing in the
./emcgrab/outputsdirectory unless the-OUTDiroption 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.
- Download the
.tar.gzfile and upload to the MFT link or case.
/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
- 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
-autoexecmode. - The script prompts for a Dell Technologies license agreement unless in
-autoexecmode with the-legaloption. 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.
- If do not want to see the prompts listed in 4, run with the following changes:
./emcgrab.sh -autoexec -legal
- When running
./emcgrab.shonly, press enter or space bar to 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
- 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]#