Solved

Using Powershell to create a Netapp Volume

Posted on 2013-01-09
4
1,453 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 9

Accepted Solution

by:
FilipZahradnik earned 500 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 500 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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

The Nano Server Image Builder helps you create a custom Nano Server image and bootable USB media with the aid of a graphical interface. Based on the inputs you provide, it generates images for deployment and creates reusable PowerShell scripts that …
A recent project that involved parsing Tableau Desktop and Server log files to extract reusable user queries for use in other systems. I chose to use PowerShell to gather the data, and SharePoint to present it...
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
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…

751 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