Skip to main content
SnapCenter 5.0 cmdlets

Dismount-SdSnapshot

Contributors

Facilitates dismounting the list of SMB shares that are mounted from the specified Snapshot copy as a different set of shares. Facilitates dismounting the list of LUNs mounted from the specified Snapshot copies as a different set of LUNs.

Syntax

Dismount-SdSnapshot [-Path]  <Object[]>  [-DeleteParentClones]  <>  [-IgnoreVolumeMountPoint]  <>  [-Session]  <String>  [-Host]  <String>

Detailed Description

Facilitates dismounting the list of SMB shares that are mounted from the specified Snapshot copy as a different set of shares. Facilitates dismounting the list of LUNs mounted from the specified Snapshot copies as a different set of LUNs.You can use this cmdlet during backup verification operations. First, you can use Mount-SdSnapshot to mount database and log shares or LUNs from the Snapshot copy. Next, you perform verification operations. After the backup verification is completed, use this cmdlet to dismount the shares/LUNs.If multiple paths contain one or more invalid paths specified in the cmdlet, the command fails for all the paths in the input.Related cmdlets: Mount-SdSnapshot

Parameters

Name Description Required? Pipeline Input Default Value

Path

Specifies a comma-separated list of SMB shares, disks, or LUN mount points you want to dismount.You cannot mix a logical disk or mount point with SMB shares in the same input path.

true

true (ByValue, ByPropertyName)

DeleteParentClones

false

true (ByPropertyName)

IgnoreVolumeMountPoint

false

true (ByPropertyName)

Session

false

true (ByPropertyName)

Host

Specifies the name or IP address of the host on which you execute the operation.For SMB shares, the default is your local machine.For LUNs, you must provide this parameter.

false

true (ByPropertyName)

Examples

Example 1: Dismounting multiple shares that were mounted from a Snapshot copy

 PS C:\> Dismount-SdSnapshot -Path "\\SQLFileserver\DBShareSdClone607fb343_2b3c_41f6_8912_8762a1800290","\\SQLFileserver\DBShareSdClone6bcf3df5_3384_4ba4_9b33_25bb9636a486"

This example syntax specifies how to dismount your Snapshot copies mounted on the specified shares.

Example 2: Dismounting a Snapshot of a LUN

 PS C:\> Dismount-SdSnapshot -Path I: -Host Host1.DMN.COM

This example syntax specifies how to dismount your Snapshot copy mounted on the specified drive.

Example 3: Dismounting multiple mount points

 PS C:\> Dismount-SdSnapshot -Path "C:\scmnpt\mpdisk0005\","C:\scmnpt\mpdisk0006\" -Host Host1.DMN.COM

This example syntax specifies how to dismount your Snapshot copies mounted on the specified mount points.