APAR status
Closed as program error.
Error description
During run of the gpfs.snap, when tarring up the gathered logs on the remote nodes, the snap fails with messages like the following : ... /bin/tar: smb.snap.xxxxxxx.20171220_115034/var/lib/samba/smbprofile .tdb: file changed as we read it gpfs.snap: Failed while creating the tar file /tmp/gpfs.snapOut/28480/collect/gpfs.snap.xxxxxxxxx_maste r_1220115009.out.tar.gz. gpfs.snap: Command failed. Examine previous error messages to determine cause. No output file will be generated. gpfs.snap fails Known Impact: gpfs.snap fails to create output file to be sent to IBM Verification steps: generate a high volume of changes to one logfile which is being transferred with the snap data. Recovery action: re-run gpfs.snap with less activity on the mentioned logfile.
Local fix
edit /usr/lpp/mmfs/bin/gpfs.snap, search for "function tarIt" and comment out the line nearly at the end : change if [[ -n $onErrorExit && $onErrorExit = $MMTRUE && $rc ]= 0 ]] then print -u2 -- "\n$mmcmd: Failed while creating the tar file $outputFile." cleanupAndExit $rc fi to if [[ -n $onErrorExit && $onErrorExit = $MMTRUE && $rc ]= 0 ]] then print -u2 -- "\n$mmcmd: Failed while creating the tar file $outputFile." # cleanupAndExit $rc fi
Problem summary
Sometimes gpfs.snap stops with an error message, especially if it collects log data which gets appends during the creation of the tar file.
Problem conclusion
On linux OS treat rc 1 (warning) as rc 0 after logging a message.
Temporary fix
Comments
APAR Information
APAR number
IJ02897
Reported component name
SPECTRUM SCALE
Reported component ID
5725Q01AP
Reported release
420
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2018-01-02
Closed date
2018-02-01
Last modified date
2018-02-01
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
IJ03847
Fix information
Fixed component name
SPECTRUM SCALE
Fixed component ID
5725Q01AP
Applicable component levels
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"STXKQY","label":"IBM Spectrum Scale"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"420","Edition":"","Line of Business":{"code":"LOB26","label":"Storage"}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSFKCN","label":"General Parallel File System"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"420","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
01 February 2018