gpfs_fssnap_id_t structure

Contains a permanent identifier for a GPFS file system or snapshot.

Library

GPFS Library (libgpfs.a for AIX®, libgpfs.so for Linux®)

Structure

typedef struct gpfs_fssnap_id
{
  char opaque[48];
} gpfs_fssnap_id_t;

Description

A file system or snapshot is uniquely identified by an fssnapId of type gpfs_fssnap_id_t. The fssnapId is a permanent and global identifier that uniquely identifies an active file system or a read-only snapshot of a file system. Every snapshot of a file system has a unique identifier that is also different from the identifier of the active file system itself.

The fssnapId is obtained from an open fssnapHandle. Once obtained, the fssnapId should be stored along with the file system's data for each backup. The fssnapId is required to generate an incremental backup. The fssnapId identifies the previously backed up file system or snapshot and allows the inode scan to return only the files and data that have changed since that previous scan.

Members

opaque
A 48-byte area for containing the snapshot identifier.

Examples

For an example using gpfs_fssnap_id_t, see /usr/lpp/mmfs/samples/util/tsinode.c.

Location

/usr/lpp/mmfs/lib/libgpfs.a for AIX

/usr/lpp/mmfs/lib/libgpfs.so for Linux