Skip to main content
SnapCenter 6.0 cmdlets

Connect-SdStorage

Contributors

Connects a Windows disk to a LUN.

Syntax

Connect-SdStorage [-Path]  <String>  [-LunPath]  <String>  [-StorageSystem]  <String>  [-SharedDisk]  <>  [-ClusteredSharedVolume]  <>  [-Igroup]  <String>  [-InitiatorInfo]  <HostInitiatorInfo>  [-PortSet]  <String>  [-AutoPickPortSet]  <>  [-AutopickMountPoint]  <>  [-ResourceGroup]  <String>  [-RawDeviceMapping]  <>  [-Datastore]  <String>  [-FileSystemLabel]  <String>  [-Session]  <String>  [-Host]  <String>

Detailed Description

Connects a dedicated disk, shared disk, or a clustered shared volume based on a LUN.

Parameters

Name Description Required? Pipeline Input Default Value

Path

Specifies the drive letter or mount point: D:, D:\

false

true (ByPropertyName)

LunPath

Specifies your LUN path using this format: /vol/volx/lunx

true

true (ByPropertyName)

StorageSystem

Specifies the target virtual storage machine that you are going to use for provisioning.

true

true (ByPropertyName)

SharedDisk

Indicates whether you need to provision your Windows disk as a shared disk.

false

true (ByPropertyName)

ClusteredSharedVolume

Indicates whether you will provision your Windows disk as a Clustered Shared Volume.

false

true (ByPropertyName)

Igroup

Specifies the igroup you want to use for mapping the LUN. If not specified, SnapCenter Plug-in for Microsoft Windows automatically manages the igroup for mapping the LUN.

false

true (ByPropertyName)

InitiatorInfo

Specifies the initiators you want to add to your Igroup.

false

true (ByPropertyName)

PortSet

Specifies the portset you want to use for binding your igroup. If your igroup is already bound to a different portset, specifying this parameter unbinds your igroup and then binds it to the portset specified here.

false

true (ByPropertyName)

AutoPickPortSet

Indicates whether you want SnapCenter Plug-in for Microsoft Windows to handle the portset binding automatically.

false

true (ByPropertyName)

AutopickMountPoint

Specifies whether SnapCenter Plug-in for Windows automatically picks the drive letter/volume mount point for the connected disk.

false

true (ByPropertyName)

ResourceGroup

Specifies the Cluster Resource Group you want to use for a shared disk.

false

true (ByPropertyName)

RawDeviceMapping

Specifies whether the disk is provisioned as RAW device Mapping.

false

true (ByPropertyName)

Datastore

Specifies whether the datastore is to be used for RDM.

false

true (ByPropertyName)

FileSystemLabel

Specifies the label you want to attach to your new Windows volume.

false

true (ByPropertyName)

Session

Specifies the session ID from Open-SmConnection.

false

true (ByPropertyName)

Host

Specifies your target host.

false

true (ByPropertyName)

Examples

Example 1: Connecting to a dedicated Windows disk

 PS C:\> connect-sdstorage -StorageSystem  172.17.165.31 -path V: -LunPath /vol/santest/b09

In this example syntax, you connect to a dedicated disk.

Example 2: Connecting to a shared Windows disk

 PS C:\> connect-sdstorage -StorageSystem  172.17.165.31 -path V: -LunPath /vol/santest/b09 -SharedDisk -ResourceGroup prod

In this example syntax, you connect to a shared disk.

Example 3: Connecting to a Clustered Shared Volume

 PS C:\> connect-sdstorage -StorageSystem  172.17.165.31 -LunPath /vol/santest/b09  -ClusteredSharedVolume

In this example syntax, you connect to a Clustered Shared Volume.