System state restore fails with ANS1079E

Problem(Abstract)

A system state restore fails with this message: ANS1079E No file specification entered.

Symptom

The system state backup is correctly displayed in the DSMC QUERY FILESPACE output. However, when you start a system state restore, the backup fails with the following error:
04/17/2017 14:31:07 ANS5250E An unexpected error was encountered.
TSM function name : vssQueryFS
TSM function : vssParseFSName() returned '131'
TSM return code : 131
TSM file : ..\..\common\winnt\vssquery.cpp (535)
04/17/2017 14:31:07 ANS1079E No file specification entered
04/17/2017 14:31:07 ANS1028S An internal program error occurred.

Cause

In this case there was another system state backup file space 'hostname\Old_System_State\', which is not a valid name. When this file space is parsed for the expected SystemState naming convention, a return code of 131 is shown and the restore operation stops.

Diagnosing the problem

The Tivoli Storage Manager client service trace shows:

04/17/2017 19:07:18.915 [003080] [2796] :
..\..\common\winnt\vssquery.cpp( 470): vssQueryFS(): Entering...
04/17/2017 19:07:18.915 [003080] [2796] :
..\..\common\winnt\vssquery.cpp( 509): vssQueryFS(): Found vss
filespace='hostname\Old_System_State'
04/17/2017 19:07:18.915 [003080] [2796] :
..\..\common\winnt\vssback.cpp(4490): vssParseFSName(): Enter...
04/17/2017 19:07:18.915 [003080] [2796] :
..\..\common\winnt\vssback.cpp(4577): vssParseFSName(): Could not find
"\" in filespace name.
04/17/2017 19:07:18.915 [003080] [2796] :
..\..\common\winnt\vssback.cpp(4811): vssParseFSName(): Exit with
rc=131.

Resolving the problem

This problem was due to a filespace for a system state backup being renamed, however the name is invalid. This causes an error when the restore looks at the hostname and corresponding SystemState backups that exist for this node. To avoid the error, rename the invalid filespace name by running the following command (where {fsid} is the number for the invalid filespace):

RENAME FILESPACE <node_name> {fsid}
"hostname_OLD\SystemState\NULL\System State\SystemState" NAMETYPE=fsid

Note that the filespace now has the naming convention that is expected for a system state backup, but the hostname has been changed, such that this filespace will not be inspected for a system state restore on the current host.
Newest
Previous
Next Post »