Information required for using the snapdrive snap disconnect command

Contributors netapp-ivanad akseldavis Download PDF of this page

To disconnect a Snapshot copy, specify the type of storage entity to be used, such as, LUN, disk groups, file systems, or host volume.

The following table gives the information you need to supply when you use the snapdrive snap disconnect command.

Requirement/Option Argument

LUN (-lun file_spec)

name of the LUN. Include the name of the filer, volume and LUN.

Disk group (-dg file_spec ) or volume group (-vg file_spec )

name of the disk or volume group

File system (-fs file_spec )


Host volume (-hostvol file_spec ) or logical volume (-lvol file_spec )

name of the host or logical volume

Specify the type of storage entity that you want to use to disconnect the Snapshot copy and supply that entity’s name with the appropriate argument.

This is the value for the file_spec argument.



Optional: Specifies the type of device to be used for SnapDrive for UNIX operations. This can be either “shared” that specifies the scope of LUN, disk group, and file system as host cluster-wide or “dedicated” that specifies the scope of LUN, disk group, and file system as local.

If you specify the -devicetype dedicated option, all the options of the snapdrive snap disconnect command currently supported in SnapDrive 2.1 for UNIX function as they always have.

If you initiate the snapdrive snap disconnect command with the -devicetype shared option from any nonmaster node in the host cluster, the command is shipped to the master node and executed. For this to happen, you must ensure that the rsh or ssh access without password prompt for the root user should be configured for all nodes in the host cluster.



Include the -full option on the command line if you want SnapDrive for UNIX to disconnect the objects from the Snapshot copy even if a host-side entity on the command line has other entities (such as a disk group that has one or more host volumes). If you do not include this option, you must specify only empty host-side entities.





Optional: Specify the type of file system and volume manager to be used.



Enables to split the cloned volumes or LUNs during Snapshot connect and Snapshot disconnect operations.