Table of ContentsLibraryView in Frames

The snap unmount command

The snap unmount command disconnects a Snapshot copy of a LUN that is mounted as a LUN.

Note: You must make sure that the LUN whose Snapshot copy you are disconnecting is not being monitored with the Windows Performance Monitor (perfmon).
Attention: If you unmount a LUN on a FlexClone volume that SnapDrive for Windows created and it is the last LUN connected on the volume, SnapDrive deletes that volume resulting in the deletion of all LUNs in the FlexClone volume.

To avoid automatic deletion of the FlexClone volume, rename the volume before unmounting the last LUN. When you rename the volume, be sure to change more than just the last integers in the name. For instance, if the FlexClone volume is named sdw_cl_myvol_0, rename it to new_sdwvol_0, and not to sdw_cl_myvol_20. If you rename only the last integers in the volume name, SnapDrive still recognizes that it created that volume and it will delete the volume when you disconnect the last LUN.

Syntax for this command is:

sdcli snap unmount [-m MachineName] -d MountPoint [-f]

Attention: The -f argument forcibly unmounts the LUN, even if it is in use by an application or Windows. Such a forced operation could cause data loss, so use it with extreme caution.

Example

sdcli snap unmount -d k

The preceding example disconnects the Snapshot copy mapped to K: on the local host.

sdcli snap unmount -d k -f

The preceding example forces disconnection of the Snapshot copy mapped to the K: drive on the local host.