Microsoft Virtualization Discussions

Can't create a DP Volume for Loadsharing Snapmirror (New-NcVol)

robin
3,432 Views

Hi Guys,

i'm trying to create a volume via powershell with type DP as a loadsharing snapmirror destination.

I'd like to create it without a junction path. I can do this using the cli but not with powershell.

the new-ncvol demands an junctionpath ( the -JunctionPath parameter can't be empty).

I'm using cDot 8.2 and the latest Toolkit.

any suggestions or workarounds?

Cheers,

Rob

1 ACCEPTED SOLUTION

beam
3,432 Views

Hi Rob,

You can pass a $null value to JunctionPath to create a volume without a junction path:

New-NcVol -Name test -Size 10GB -Aggregate aggr1 -JunctionPath $null

-Steven

View solution in original post

2 REPLIES 2

beam
3,433 Views

Hi Rob,

You can pass a $null value to JunctionPath to create a volume without a junction path:

New-NcVol -Name test -Size 10GB -Aggregate aggr1 -JunctionPath $null

-Steven

robin
3,432 Views

Awsome

Thanks

Public