Home > Veritas Storage Foundation™ File System Manual Pages
Table of contents
fsckpt_mkprimary - make a Storage Checkpoint in a VxFS file system the primary fileset for that file system
int fsckpt_mkprimary(char *spec, char *ckptname, unsigned int version);
marks the Storage Checkpoint
found in the VxFS file system on the block special device
as the primary fileset in that file system. The old primary fileset and
any intermediate Storage Checkpoints between the old and new primary filesets
A version number is passed to
to associate the function with a set of features available.
constant is defined and represents the most current
version of the API.
It is recommended that applications use this definition
when using the API.
This operation demands that all filesets within that file system be
unmounted when it is executed, that the file system type must be
Version 4 or later, and that the Storage Checkpoint designated as the new
primary fileset must be a writable mountable data Storage Checkpoint.
When a Storage Checkpoint is marked as the primary fileset using
, all changes made to that file system after that Storage Checkpoints creation
date will be permanently lost. The only Storage Checkpoints and data preserved
will be those which were created at the same time as, or prior to, the
selected Storage Checkpoint's creation.
returns zero on success,
non-zero on failure.
The function is being used incorrectly,
or the arguments to the function could not be validated.
This may occur when an application tries to use an
that was not created by the same process.
An I/O error occurred on the device.
The Storage Checkpoint could not be loaded.
The specified Storage Checkpoint
does not exist.
One or more filesets within the file system on
are mounted or are otherwise busy.
Last updated: 01 April 2006
Copyright ©2009 Symantec Corporation
All rights reserved.