Table of ContentsView in Frames

Creating a Snapshot copy

To create a Snapshot copy, run the snapdrive snap create command.

Before you begin

Before you execute this syntax, you must understand the options, keywords, and arguments mentioned in this command.

Step

  1. Enter the following command syntax to create a Snapshot copy: snapdrive snap create {-lun | -dg | -fs | -hostvol } file_spec[file_spec ...] [ {-lun |-dg | -fs | -hostvol } file_spec [file_spec...]] -snapname snap_name [ -force [-noprompt]][-unrelated] [-nofilerfence] [-fstype type][-vmtype type]

Result

The file_spec arguments represent a set of storage entities on one or more storage systems. The Snapshot create operation takes a Snapshot copy of the storage system volume containing those entities and gives it the name specified in the snap_name argument.

Example

This example creates a multivolume Snapshot copy for a Linux host. The Snapshot copy contains the disk group vgmultivol, which include the host volumes lvol1 and lvol2:

# snapdrive snap create -vg vgmultivol -snapname snapmultivol
Successfully created snapshot snapmultivol on 2 filer volumes:
toaster:/vol/vol1
toaster:/vol/vol2
snapshot snapmultivol contains:
disk group vgmultivol containing host volumes
lvol1
lvol2