Veritas FlashSnap Point-In-Time Copy Solutions 5.0 AdministratorÆs Guide, HP-UX 11i v3, First Edition, May 2008
43Off-host cluster file system backup
Mounting a file system for shared access
Mounting a file system for shared access
To mount a VxFS file system for shared access, use the following command on
each cluster node where required:
# mount -F vxfs -o cluster /dev/vx/dsk/diskgroup/volume
mount_point
For example, to mount the volume cfs_vol in the disk group exampledg for
shared access on the mount point, /mnt_pnt:
# mount -F vxfs -o cluster /dev/vx/dsk/exampledg/cfs_vol /
mnt_pnt
Using off-host processing to back up cluster file
systems
Note: It is assumed that you have already prepared the volumes containing the
file systems that are to be backed up as described in “Setting up volumes for
instant snapshots” on page 21.
To back up a snapshot of a mounted file system which has shared access
1 On the master node of the cluster, use the following command to make a
full-sized snapshot, snapvol, of the volume containing the file system by
breaking off plexes from the original volume:
# vxsnap -g volumedg make \
source=volume/newvol=snapvol/nmirror=N
The nmirror attribute specifies the number of mirrors, N, in the snapshot
volume.
For example, to take a snapshot of the volume cfs_vol in the shared disk
group exampledg:
# vxsnap -g exampledg make source=cfs_vol/newvol=scfs_vol\
/nmirror=1
If the volume does not have any available plexes, or its layout does not
support plex break-off, use the procedure described in “Creating a volume
for use as a full-sized instant snapshot” on page 27 to prepare an empty
volume for the snapshot, and then use the following command to create the
snapshot:
# vxsnap -g volumedg make source=volume/snapvol=snapvol
Note: This step sets up the snapshot volumes ready for the backup cycle,
and starts tracking changes to the original volumes. When you are ready to
make a backup, proceed to step 2.