The following example shows how 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
# mkfs -t vxfs /dev/vx/rdsk/cfsdg/vol1
104857600 sectors, 52428800 blocks of size 1024, log size 16384
unlimited inodes, largefiles not supported
52428800 data blocks, 52399152 free data blocks
1600 allocation units of 32768 blocks, 32768 data blocks
# cfsmntadm add cfsdg vol1 /mnt1 all=cluster
The cfsmntadm
command adds an entry to the cluster manager configuration, then the cfsmount
command mounts the file system on all nodes.
snapvol
in this example) to the cluster manager configuration:
#cfsmntadm add snapshot cfsdg snapvol /mnt1 /mnt1snap
\system01=ro
Note 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.