Skip Headers
Oracle Hierarchical Storage Manager and QFS Software Command Reference
Section 3: Introduction to Library Functions
Release 6.1.1
E70305-03

NAME

sam_mig_stage_file - Stages function from foreign data migration program

SYNOPSIS

cc [ flag … ] file … -L∕opt∕SUNWsamfs∕lib -lsamut [ library … ]

#include "∕opt∕SUNWsamfs∕include∕mig.h"

int sam_mig_stage_file(tp_stage_t * stage_req );

AVAILABILITY

SUNWsamfs

DESCRIPTION

sam_mig_stage_file() is called when the foreign data migration program is ready to start staging the data for the stage request associated with stage_req.

RETURN VALUES

sam_mig_stage_file() returns a 0 if the file system is ready for usage. Otherwise, a value of -1 is returned and ends all activity for this stage. errno is set to indicate the error.

FILES

∕opt∕SUNWsamfs∕migkit∕mig_cd.c

The example Migration Toolkit program.

∕etc∕opt∕SUNWsamfs∕mcf

The configuration file for StorageTek QFS and Oracle HSM file systems.

SEE ALSO

mcf (4).