IBM Support

GPFS mmbackup command fails with ANS4901E

Troubleshooting


Problem

The mmbackup command is used to back up a GPFS file system. The mmbackup operation fails and ANS1228E and ANS4901E errors are recorded in the Tivoli Storage Manager client error log.

Symptom

The following errors are logged in the Tivoli Storage Manager client error log :

ANS1228E Sending of object '"/mygpfs/mydir/myfile%2e"abc+def""' failed
ANS4901E The following object contains one or more unmatched quotation marks and cannot be processed: '"/mygpfs/mydir/myfile%2e"abc+def""'.

Cause

The GPFS mmbackup command writes a filelist of files to back up. The dsmc command is then launched with this filelist. One or more files in the filelist contains one or more double quotation characters in its file name.

Resolving The Problem

When you need to back up a file that contains one or more double quotation characters in the file name with the GPFS mmbackup command, use the export command to export the QUOTESARELITERAL and WILDCARDSARELITERALS Tivoli Storage Manager client options prior to running the mmbackup with the --noquote parameter. For example, to back up the /mygpfs file system, use the below commands.

For Tivoli Storage Manager Backup-Client V6.4 or lower :

export MMBACKUP_DSMC_BACKUP="-testflag=QUOTESARELITERAL -testflag=WILDCARDSARELITERALS"
mmbackup /mygpfs --noquote


For Tivoli Storage Manager Backup-Client V7.1 or higher :

export MMBACKUP_DSMC_BACKUP="-QUOTESARELITERAL=yes -WILDCARDSARELITERALS=yes"
mmbackup /mygpfs --noquote

[{"Product":{"code":"SSGSG7","label":"Tivoli Storage Manager"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Client","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"}],"Version":"All Supported Versions","Edition":"","Line of Business":{"code":"LOB26","label":"Storage"}}]

Document Information

Modified date:
17 June 2018

UID

swg21962843