usam_mig_stage_file_req - Stages request from the foreign
data migration program
cc [ flag ... ] file ... -L/opt/SUNWsamfs/lib -lsamut [library ... ]
usam_mig_stage_file_req() is the stage request routine for
the SAM-QFS Migration Toolkit. The foreign data migration
program adds this stage request to an internally-generated
worklist being maintained by third party API. This worklist
should be processed by a thread started by
usam_mig_initialize(). This worklist is processed by a pro-
gram started with usam_mig_initialize(). The thread finds
and positions the media to stage the file through stage_api.
A successful stage request returns a value of 0. Otherwise,
a value of 1 is returned and errno is passed to the file
usam_mig_stage_file_req() fails if the following is true:
EEXIST This is a duplicate stage request for a
The example Migration Toolkit program.
The configuration file for Sun QFS and
SAM-QFS file systems.