Further Information

Backing Up and Restoring UNIX Specifics

#snapping the same FS will cause the Pre-exec script to fail and

#a DA to abort

#

#2) an attempt to mount an already mounted snapshot FS,

#snapping some other FS will cause a warning to be generated,

#script to fail and a DA to abort

#

#3) a synchronization with the Post-exec script should be also

#provided because the snapshot FS must not be unmounted while

#there is other DA reading from the FS.

#

SNAPPED_FS=$1

SNAPSHOT_FS=$2

MOUNT_POINT=$3

mount -F vxfs -e -o snapof=$SNAPPED_FS $SNAPSHOT_FS $MOUNT_POINT

#

#end SnapMount.sh

The template below can be used to unmount a VxFS system.

Example A-2 Post- exec Script Template

#SnapUnmount.sh

#Unmounting snapshot filesystem (Post-exec shell script)

#Script requires 1 parameter:

#- a mount point directory of the snapshot FS

#or

Appendix A

A-5