Skip to main content
SnapCenter 4.8 cmdlets

Mount-SdClone

Contributors

Enables cloning and mounting a source storage from the specified Snapshot copy.

Syntax

Mount-SdClone [-SourcePath]  <String[]>  [-Snapshot]  <String>  [-ResourceType]  <ResourceType>  [-Host]  <String>  [-Igroup]  <String>  [-Initiators]  <String>  [-IgroupProtocol]  <IgroupProtocolEnum>  [-IgroupOsType]  <IgroupOSTypeEnum>  [-CheckInitiatorSession]  <>  [-Session]  <String>

Detailed Description

Enables cloning and mounting a source storage from the specified Snapshot copy.For a LUN, the cloned volume name is automatically appended with a unique identifier, while the LUN name remains the same.For example:If the original volume is PrimarySVM:/vol/SCE_VOL, the cloned volume name is PrimarySVM:/vol/SCE_VOL1201210041488133. Related cmdlets: Dismount-SdClone, Get-SmClone, Remove-SmClone, New-SmClone

Parameters

Name Description Required? Pipeline Input Default Value

SourcePath

Specifies a path that you want to clone and mount from the Snapshot copy. For example, the path of a volume.

true

true (ByValue, ByPropertyName)

Snapshot

Specifies the Snapshot copy that you want to use for cloning and mounting.

true

true (ByPropertyName)

ResourceType

Specifies the type of the resource in the SourcePath parameter. The possible options are: "SDStorageVolume", "SDStorageLunPath", "SDStorageDir".

false

true (ByPropertyName)

Host

Specifies the FQDN or IP address of the host on which you want to execute the operation.

false

true (ByPropertyName)

Igroup

false

true (ByPropertyName)

Initiators

false

true (ByPropertyName)

IgroupProtocol

false

true (ByPropertyName)

IgroupOsType

false

true (ByPropertyName)

CheckInitiatorSession

false

true (ByPropertyName)

Session

false

true (ByPropertyName)

Examples

Example 1: Clone a Volume from a given snapshot

 PS C:\> Mount-SdClone -SourcePath Primary_SVM:/vol/VOl1_LM_Port_Issue_Test -Snapshot r70105ec0a5v1_hnk2_com_L__ValidPath_Data_R70105EC0A5V1_05-24-2021_12.46.42.3914

This example syntax specifies the storage volume path and clones the Snapshot copy onto newly cloned volume.

Source Clone
------ -----
Primary_SVM:/vol/VOl1_LM_Port_Issue_Test Primary_SVM:/vol/Vol1_LM_Port_Issue_Test0525210820263222

Example 2: Clone a volume from a given Snapshot copy with the ResourceType and host name specified

 PS C:\> Mount-SdClone -SourcePath Primary_SVM:/vol/Vol1  -Snapshot Host1_Policy1_12-01-2021_02.31.22.3854  -ResourceType SDStorageVolume -Host Host1.DMN.COM -Verbose

This example syntax specifies the storage volume path and clones the Snapshot copy to a newly cloned volume with the ResourceType and host name.

VERBOSE: Operation successful.
Source Clone
------ -----
Primary_SVM:/vol/Vol1 Primary_SVM:/vol/Vol11201210243583210