IBM Support

ANS1796I code 305 error during filesystem Windows Bare Metal Restore

Troubleshooting


Problem

After a Windows system state restore during Bare Metal Restore, the remaining filesystem restore shows error ANS1796I because 8dot3 is not activated.

Symptom

Filesystem restore fails with the following message displayed in the dsmerror.log:
ANS1796I The short name for '<filename>' could not be set to original short name '<short_filename>': Windows function 'SetFileShortName' failed with return code 305, reason: 'Short names are not enabled on this volume.'

Cause

During a backup the ASR writer reports metadata describing all the disks and volumes on the system. Tivoli Storage Manager Client stores this metadata in a XML document (ASRBackupDoc.xml) and then sends it to the Tivoli Storage Manager Server as part of a system state backup.
This document contains detailed information about the disks and volumes but it does not have information whether 8dot3 is enabled or not.
During the restore, the Tivoli Storage Manager Client passes the same metadata (stored in ASRBackupDoc.xml) back to the ASR writer which recreates the disks and volumes as necessary.
The activity is done in the Pre-Restore phase of the restore sequence and the disks are formatted using default values.
By default the 8dot3 feature is disabled.

Environment

Tivoli Storage Manager client on Windows platform

Diagnosing The Problem

During the system state recovery, the disk partitions are not recreated with the same configuration.
The 8.3 NTFS short names feature is disabled on the recovered partitions.

Resolving The Problem

To enable 8.3 name creation on all NTFS partitions, type the Windows command : fsutil.exe.
Set disable8dot3 "0" at the elevated command prompt, and then press Enter.
Re-run the filesystem restore.

[{"Product":{"code":"SSEQVQ","label":"IBM Spectrum Protect"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Component":"Client","Platform":[{"code":"PF033","label":"Windows"}],"Version":"All Supported Versions","Edition":"All Editions","Line of Business":{"code":"LOB26","label":"Storage"}},{"Product":{"code":"SSGSG7","label":"Tivoli Storage Manager"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Client","Platform":[{"code":"PF033","label":"Windows"}],"Version":"","Edition":"","Line of Business":{"code":"LOB26","label":"Storage"}}]

Document Information

Modified date:
17 June 2018

UID

swg21693943