Troubleshooting
Problem
The dsmmigrate command is run to manually migrate a file. The command fails with error ANS9256E.
Symptom
The following sequence shows an example of the errors:
dsmmigrate -Det /ibm/gpfs0/file1
...
ANS1228E Sending of object '/ibm/gpfs0/file1' failed
ANS9256E File '/ibm/gpfs0/file1' is currently opened by another process. File skipped.
The automatic migration also fails to migrate the same file, and the same error is recorded in the dsmerror.log file.
Cause
Orphaned migration transactions
Environment
Tivoli Storage Manager for Space Management for GPFS
Diagnosing The Problem
In this specific case, no process or thread is accessing this file and a file copy operation completes successfully. An HSM client service trace shows the following information:
dmimig.cpp (1462): dmiPrepareMig: file is already in migration!
Also, there is an orphaned migration transaction in the .SpaceMan directory. For example :
ls -al /ibm/gpfs0/.SpaceMan/logdir/trans*
...
-rw------- 1 root bin 0 Oct 27 21:30
C0A886014D029B5E000000004698BC0A00000000000000000001000100000000.mig
Resolving The Problem
Run the following command to force the migration:
dsmmigrate -force -Det /ibm/gpfs0/file1
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
swg21661414