To connect to a Snapshot copy, determine the type of storage entity, connect a Snapshot copy with the NFS directory tree to Data ONTAP 7.3 configurations, and so on.
|Decide the type of storage entity that you want to use to attach the Snapshot copy and supply that entity’s name with the appropriate argument. This is the value for the src_fspec argument.
|LUN (-lun file_spec)||short name of the LUN.|
|The s_lun_name specifies a LUN that exists in the -snapname long_snap_name. The short lun_name is required. You cannot include a storage system or storage system volume name. The d_lun_name specifies the name at which the LUN is connected. The short lun_name is required. You cannot include a storage system or storage system volume name. You must specify a d_lun_name|
Disk group (-dg file_spec) or volume group (-vg file_spec )
|name of the disk or volume group|
|File system (-fs file_spec )||name of the file system|
|Host volume (-hostvol file_spec ) or logical volume (-lvol file_spec )||name of the host or logical volume|
|Connect a Snapshot copy with an NFS directory tree to Data ONTAP 7.3 configurations.
|-readonly||set read only permission|
Optional: Supply a name by which the target entity is accessible after the storage entity is connected. SnapDrive for UNIX uses this name to connect the destination entity. This is the dest_file_spec argument.
If you omit this name, the snap connect command uses the value you supplied for src_fspec.
|Name of target entity||dest_file_spec|
|Optional: Specify the names for the destination storage entities. If you included this information as part of the dest_fspec/src_fspec pair, you do not need to enter it here.
You can use the -destxx options to specify names for destination storage entities if this information is not part of the dest_fspec/src_fspec pair. For example, the -fs option names only a destination mount point so you can use the -destdg option to specify the destination disk group.
If you do not specify the name needed to connect an entity in the destination disk group, the snapdrive snap connect command takes the name from the source disk group.
If you do not specify the name needed to connect an entity in the destination disk group, the snap connect command takes the name from the source disk group. If it cannot use that name, the operation fails, unless you included -autorename at the command prompt.
|Destination disk group (-destdg) or destination volume group (-destvg)||dgname|
|Destination logical volume (-destlv) or destination host volume (-desthv)||lvname|
|Specify the name for the Snapshot copy. Use the long form of the name where you enter the storage system name, volume, and Snapshot copy name.|
|Snapshot copy name (-snapname)||long_snap_name|
|Optional: Connect the Snapshot copy to a new location without creating an entry in the host file system table.
|-reserve | -noreserve||~|
|Optional: Connect the Snapshot copy to a new location with or without creating a space reservation.|
|Igroup name (-igroup)||ig_name|
Optional: NetApp recommends that you use the default igroup for your host instead of supplying an igroup name.
To shorten the amount of information you must supply when connecting to a volume group, include the -autoexpand option at the command prompt. This option lets you name only a subset of the logical volumes or file systems in the volume group. It then expands the connection to the rest of the logical volumes or file systems in the disk group. In this manner, you do not need to specify each logical volume or file system. SnapDrive for UNIX uses this information to generate the name of the destination entity.
This option applies to each disk group specified at the command prompt and all host LVM entities within the group. Without the -autoexpand option (default), you must specify all affected host volumes and file systems contained in that disk group to connect the entire disk group.
Note: If the value you enter is a disk group, you do not need to enter all the host volumes or file systems because SnapDrive for UNIX knows what the disk group is connecting to.
NetApp recommends that, if you include this option, you should also include the -autorename option. If the -autoexpand option needs to connect the destination copy of an LVM entity, but the name is already in use, the command fails unless the -autorename option is at the command prompt.
The command fails if you do not include -autoexpand and you do not specify all the LVM host volumes in all the disk groups that is referred at the command prompt (either by specifying the host volume itself or the file system).
|When you use the -autoexpand option without the -autorename option, the snap connect command fails if the default name for the destination copy of an LVM entity is in use. If you include the -autorename option, SnapDrive for UNIX renames the entity when the default name is in use. This means that with the -autorename option at the command prompt, the Snapshot connect operation continues regardless of whether all the necessary names are available.
This option applies to all host-side entities specified at the command prompt.
If you include the -autorename option at the command prompt, it implies the -autoexpand option, even if you do not include that option.
Enables to split the cloned volumes or LUNs during Snapshot connect and Snapshot disconnect operations.
Optional: If you are creating a file system, you can specify the following options: