Troubleshooting
Problem
This document describes a problem with copying dumps from HMC to usb by using the command pedbg -s -q 9
Diagnosing The Problem
The command pedbg -s -q 9 copies the collected dumps in .zip format to USB drive but instead it tries to delete dumps, example:
[hscpe@HMC66 ~] $ pedbg -s -q 9
Warning, this operation deletes all existing system dumps on this HMC
Please type yes to continue
No dumps removed.
No files found or collected
[hscpe@HMC66 ~] $
Resolving The Problem
When you hit this issue, you can use the "cpdump" command instead to copy dump files to the USB drive. Example:
Copy dump files to a USB flash drive:
lsmediadev (to obtain mount points)
mount /media/sdb1
cpdump -r usb -f "HMCSysdump.HMC66012120211425.zip" -d /media/sdb1
"HMCSysdump.HMC66012120211425.zip" to be replaced with the actual name of the file!
Alternatively you can run the following command, which collects not only logs contained in pedbg -c -q 4 but all dumps available too (don't forget to initiate dumps before this command):
pedbg -c -q d4
Use the pedbg -c -q 9 after the file is generated to copy it to an USB (if you're using the second workaround).
Document Location
Worldwide
[{"Line of Business":{"code":"LOB08","label":"Cognitive Systems"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SGGSNP","label":"Hardware Management Console V9"},"ARM Category":[{"code":"a8m0z000000bowEAAQ","label":"Hardware Management Console"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.8.6;8.8.7;9.1.0"}]
Was this topic helpful?
Document Information
Modified date:
11 May 2022
UID
ibm16406690