Veritas Storage Foundation 5.1 SP1 Cluster File System Administrator"s Guide (5900-1738, April 2011)

Creating a snapshot on a Storage Foundation Cluster File
System
To create and mount a snapshot on a two-node cluster using SFCFS administrative
interface commands.
To create a snapshot on a cluster file system
1
To create a VxFS file system on a shared VxVM volume, type the following
command:
# mkfs -F vxfs /dev/vx/rdsk/cfsdg/vol1
version 7 layout
15728640 sectors, 15728640 blocks of size 1024, log size 16384 blocks
largefiles supported
2
To mount the file system on all nodes, type the following commands:
# cfsmntadm add cfsdg vol1 /mnt1 all=cluster
# cfsmount /mnt1
The cfsmntadm command adds an entry to the cluster manager configuration,
then the cfsmount command mounts the file system on all nodes.
3
Add the snapshot on a previously created volume (snapvol in this example)
to the cluster manager configuration. For example:
# cfsmntadm add snapshot cfsdg snapvol /mnt1 /mnt1snap system01=ro
The snapshot of a cluster file system is accessible only on the node where it
is created; the snapshot file system itself cannot be cluster mounted.
4
Create and locally mount the snapshot file system on system01, type the
following command:
# cfsmount /mnt1snap
5
A snapped file system cannot be unmounted until all of its snapshots are
unmounted. Unmount and destroy the snapshot before trying to unmount
the snapped cluster file system, type the following command:
# cfsumount /mnt1snap
63Administering Storage Foundation Cluster File System and its components
Administering CFS