Solved

Using Powershell to create a Netapp Volume

Posted on 2013-01-09
4
1,370 Views
Last Modified: 2013-01-09
I am attempting to automate a task to create a volume on our Netapp Filer using the Powershell Toolkit.  So far it is fairly easy, however one item that I am unable to find is how to set, or even check the Security Style (NTFS, UNIX, MIXED).

Can anyone tell me how do I check this, and/or change this setting using Powershell?
0
Comment
Question by:malarkie
  • 3
4 Comments
 
LVL 9

Accepted Solution

by:
FilipZahradnik earned 500 total points
Comment Utility
New-NaVol -Name "myvol1" -Aggregate "aggr1" -Size "5g" 
Set-NAQtree -Path "/vol/myvol1" -SecurityStyle "NTFS"

Open in new window

You use the Qtree command to set security style on both volumes and qtrees.
0
 
LVL 9

Assisted Solution

by:FilipZahradnik
FilipZahradnik earned 500 total points
Comment Utility
To check the security style, use this:
Get-NaQtree "/vol/myvol1" | select SecurityStyle

Open in new window

0
 

Author Closing Comment

by:malarkie
Comment Utility
It seems a little odd that you would use a qtree command for both a Volume, and a Qtree.  Either way though, those were exactly what I was looking for.

thank you.
0
 
LVL 9

Expert Comment

by:FilipZahradnik
Comment Utility
I know it's confusing, but technically the root of the volume is a qtree as well.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Set OWA language and time zone in Exchange for individuals, all users or per database.
Synchronize a new Active Directory domain with an existing Office 365 tenant
This video teaches viewers how to encrypt an external drive that requires a password to read and edit the drive. All tasks are done in Disk Utility. Plug in the external drive you wish to encrypt: Make sure all previous data on the drive has been …
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now