Network Storage Protocols Discussions
Is there a way to create a new FlexVol using PowerShell Toolkit where the Storage Type is set to SAN (iSCSI) instead of NAS, which creates a JunctionPath which I don't need / want.
I'm trying to script the creation of Vols and LUNs for a massive SQL cluster move.
See The Solution
Thank you for confirming that for me - it seemed that was the only way for me to do it
View solution in original post
The "New-NcVol" cmdlet will accept a null value for the JunctionPath parameter if you don't need/want a junction path specified during volume creation.
PS H:\> New-NcVol -VserverContext lab-svm01 -Name volume001 -Aggregate aggr1_ssd_n1 -size 1GB -JunctionPath $null
Name State TotalSize Used Available Dedupe Aggregate Vserver
---- ----- --------- ---- --------- ------ --------- -------
volume001 online 1.0 GB 0% 972.6 MB False aggr1_ssd_n1 lab-svm01
PS H:\> Get-NcVol volume001 | fl JunctionPath
Live Chat, Watch Parties, and More!
Engage digitally throughout the sales process, from product discovery to conﬁguration, and handle all your post-purchase needs.