Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Using Powershell to create a Netapp Volume

Posted on 2013-01-09
4
Medium Priority
?
1,550 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 2000 total points
ID: 38760888
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 2000 total points
ID: 38760912
To check the security style, use this:
Get-NaQtree "/vol/myvol1" | select SecurityStyle

Open in new window

0
 

Author Closing Comment

by:malarkie
ID: 38761112
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
ID: 38761237
I know it's confusing, but technically the root of the volume is a qtree as well.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
A walk-through example of how to obtain and apply new DID phone numbers to your cloud PBX enabled users that are configured in Office 365. Whether you have 1, 10 or 100+ users in your tenant, it's quite easy to get them phone-enabled and making/rece…
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 …
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …

916 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