Solved

Using Powershell to create a Netapp Volume

Posted on 2013-01-09
4
1,391 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
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

Give your grad a cloud of their own!

With up to 8TB of storage, give your favorite graduate their own personal cloud to centralize all their photos, videos and music in one safe place. They can save, sync and share all their stuff, and automatic photo backup helps free up space on their smartphone and tablet.

Question has a verified solution.

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

Create your own, high-performance VM backup appliance by installing NAKIVO Backup & Replication directly onto a Synology NAS!
This script can help you clean up your user profile database by comparing profiles to Active Directory users in a particular OU, and removing the profiles that don't match.
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…

920 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

13 Experts available now in Live!

Get 1:1 Help Now